[mythtv-firehose] mythtv/master commit: a41e9657c by Robert McNamara (rmcnamara)

MythTV noreply at mythtv.org
Sun Jul 3 01:35:48 UTC 2011


      Author:  Robert McNamara <rmcnamara at mythtv.org>
 Change Date:  2011-07-02T18:28:04-07:00
   Push Date:  2011/07/02 18:35:41 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  a41e9657c0e9dfbfb4127344fd6f984039dba10e
   Changeset:  https://github.com/MythTV/mythtv/commit/a41e9657c

Log:

Add Support for Season, Episode, and Inetref values to recordings.

This commit constitutes the "scary part," namely the deep dark changes to the many database queries dealing with program data, the serialization of that program data on the protocol, the scheduler, and the various types of bindings.

More succinctly put, this commit does nothing but set the stage for the UI and support application portions that are coming.  Once those parts are committed, you will be able to perform a metadata query on a recording rule as you set it up, set its inetref, and forevermore have it perform supplemental metadata lookups to add this data and more to your recordings.  Completed and properly configured recordings will have season and episode information, as well as statically associated artwork.  The fanart, banner, and coverart for a recording will be browsed for and set according to your preference, rather than being "best effort" or "luck of the draw."  You will be able to use these values in user jobs to name transcoded files in a more conventional way.  Theoretically the PlaybackBox could be expanded to show a season/episode hierarchy.  The possibilities go on and on.

In several days of testing, this appears to be stable and operating as expected, including some uncommitted UI portions.  This *is* a hugely invasive change that touches the order of ProgramInfo data via the protocol (renumbering it), and lots of other things.  Mythweb and all the bindings appear to be working.  Scheduling and both live and recordings are working.

Technically speaking the UI portions of this allowing one to export season and episode numbers and display them wherever programinfo is used are present and working-- they're just not populated with anything of value yet.

Modified:

   mythtv/bindings/perl/MythTV.pm
   mythtv/bindings/perl/MythTV/Program.pm
   mythtv/bindings/php/MythBackend.php
   mythtv/bindings/php/MythTVProgram.php
   mythtv/bindings/php/MythTVRecording.php
   mythtv/bindings/python/MythTV/mythproto.py
   mythtv/bindings/python/MythTV/static.py
   mythtv/libs/libmyth/programinfo.cpp
   mythtv/libs/libmyth/programinfo.h
   mythtv/libs/libmythbase/mythversion.h
   mythtv/libs/libmythtv/dbcheck.cpp
   mythtv/libs/libmythtv/recordinginfo.cpp
   mythtv/libs/libmythtv/recordinginfo.h
   mythtv/libs/libmythtv/recordingrule.cpp
   mythtv/libs/libmythtv/recordingrule.h
   mythtv/programs/mythbackend/scheduler.cpp



More information about the mythtv-firehose mailing list