[mythtv-commits] mythtv/master commit: e9b2cbb12 by Robert McNamara (rmcnamara)

MythTV noreply at mythtv.org
Fri Jul 22 04:24:31 UTC 2011


      Author:  Robert McNamara <rmcnamara at mythtv.org>
 Change Date:  2011-07-21T21:20:28-07:00
   Push Date:  2011/07/21 21:24:24 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  e9b2cbb123fb70b73687065bf9e13fb7bd1013bc
   Changeset:  https://github.com/MythTV/mythtv/commit/e9b2cbb12

Log:

Extend the Services Lookup API.

Adds most of the rest of useful metadata to a lookup return, including all relevant artwork URLs.  A returned item now comes with links to the thumbnail and raw image for each available artwork type.

Should now even be possible to implement a artwork downloader/chooser in a third party app if one were so inclined.  Yes, I mean you.

My personal approach to that would be to present the user with the thumbnails of each type, pick the ones they want with radio buttons, then use the MythDownloadManager protocol command to have the backend download the artwork with the correct filename (inetref_artworktype.ext for movies, Title Season SeasonNumber_artworktype.ext for TV) and then set up a row in the recordedartwork table.

Modified:

   mythtv/libs/libmythbase/mythversion.h
   mythtv/libs/libmythservicecontracts/datacontracts/videoLookupInfo.h
   mythtv/libs/libmythservicecontracts/datacontracts/videoLookupInfoList.h
   mythtv/libs/libmythservicecontracts/services/videoServices.h
   mythtv/programs/mythbackend/services/video.cpp
   mythtv/programs/mythbackend/services/video.h



More information about the mythtv-commits mailing list