[mythtv] Updating Video Metadata via the API
Jean-Yves Avenard
jyavenard at gmail.com
Mon Feb 3 22:45:34 UTC 2014
On 4 February 2014 08:35, Martin Thwaites <mythtv-dev at my2cents.co.uk> wrote:
> I've been putting together a change on the Service API to allow the user to
> update the metadata via the API, however, after looking into the existing
> code, there is a slight issue with the way I want it to work vs. current UI
> functionality. Therefore I need some feedback if the API is going to work
> differently.
>
> What I'm proposing is, simply allowing the user to update the inetref, and
> then trigger an update from the grabber.
>
> Therefore the user can do...
>
> Video/UpdateVideo?id=1234&inetref=76290&triggerUpdate=true
>
> Then if the grabber returns a single result, it will replace ALL the
> information (banners, description, homepage, etc.). This is where
> functionality would differ from the UI. In the UI, if the values like
> homepage, etc. have been set, it will not update them, only the Title and
> Subtitle are overwritten.
>
and what if it returs a single result, yet the new result doesn't
contain some information while the existing metadata did.
do you just remove the old data then?
More information about the mythtv-dev
mailing list