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

MythTV noreply at mythtv.org
Mon Jul 25 03:48:53 UTC 2011


      Author:  Robert McNamara <rmcnamara at mythtv.org>
 Change Date:  2011-07-24T20:47:06-07:00
   Push Date:  2011/07/24 20:48:45 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  1f15ac470ea79c67ea6b30a5cbfe0b1f3ea139f3
   Changeset:  https://github.com/MythTV/mythtv/commit/1f15ac470

Log:

API: Add GetImageFile, allow any artwork to be resized.

This adds a special GetImageFile method, and makes the existing means of getting recording and video artwork use it.

You can now request a fanart, banner, coverart, or screenshot for a given recording or video and specify a width, height, or both (better to specify one to preserve aspect ratio).  A new image is created in the appropriate storage group, where it remains cached (not unlike screenshots for mythweb).

Modified:

   mythtv/libs/libmythservicecontracts/services/contentServices.h
   mythtv/programs/mythbackend/services/content.cpp
   mythtv/programs/mythbackend/services/content.h



More information about the mythtv-commits mailing list