[mythtv] Updating Video Metadata via the API
mythtv-dev at my2cents.co.uk
Mon Feb 3 22:59:40 UTC 2014
That would be the plan yes.... it's a replacement of any customised
On Feb 3, 2014 10:46 PM, "Jean-Yves Avenard" <jyavenard at gmail.com> wrote:
> On 4 February 2014 08:35, Martin Thwaites <mythtv-dev at my2cents.co.uk>
> > I've been putting together a change on the Service API to allow the user
> > 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
> > functionality. Therefore I need some feedback if the API is going to
> > differently.
> > What I'm proposing is, simply allowing the user to update the inetref,
> > 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?
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mythtv-dev