[mythtv] Updating Video Metadata via the API

Martin Thwaites 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
information.
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>
> 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?
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20140203/1bacfd8f/attachment.html>


More information about the mythtv-dev mailing list