[mythtv] Services API for ChannelServices / Channel
Gary Buhrmaster
gary.buhrmaster at gmail.com
Tue Nov 26 02:31:12 UTC 2019
On Tue, Nov 26, 2019 at 2:01 AM Bill Meek <keemllib at gmail.com> wrote:
> Fun fact: this endpoint broke mythfilldatabase if a user had a grabber
> because the configpath gets set to "" rather than NULL. mythfilldatabase
> depends on the NULL case to develop the path to the file automatically.
> If ConfigPath=someValidPath, then it's OK.
As I mentioned previously, there is a number
of cases where NULL does not equal empty
throughout the code base (sometimes for
good reasons, some times I am not so sure),
and the Services API generally does not
provide a way to set a NULL and/or an
empty value. Realistically there are only a
few apps today that try to implement an
alternative to mythtv-setup, so the impact is
limited, but as I understand it the stated goal
was to move towards a web based setup
(using the services API), which makes the
side cases more interesting to address.
More information about the mythtv-dev
mailing list