[mythtv-commits] Ticket #2686: [work in progress] program to manage channel table for sky digital users

MythTV mythtv at cvs.mythtv.org
Tue Nov 14 10:58:41 UTC 2006


#2686: [work in progress] program to manage channel table for sky digital users
--------------------------+-------------------------------------------------
 Reporter:  Simon Kenyon  |       Owner:  ijr    
     Type:  enhancement   |      Status:  new    
 Priority:  minor         |   Milestone:  unknown
Component:  mythtv        |     Version:  head   
 Severity:  low           |  
--------------------------+-------------------------------------------------
 i've been working on this for a few days and i wanted to get it out there
 for feedback/suggestions.
 with multiple sources/backends/channels/cards it can be quite hard to
 manage it all.
 why sky changed their lineup earlier in the year i didn't have the
 time/energy to fix it all up and lived with missing channels etc.

 anyway, the itch got too much and i scratched it.

 please find attached what i've been working on so far.
 the core of it is an XML file which describes channels and providers and
 various routines to load and store from that xml file.

 there are a set of classes and a test program to drive them (test.pm)
 it is non-destructive in that it doesn't overwrite anything that it didn't
 create.

 right now i can load it, add additional content (from the xmltv
 uk_rt/channel_ids file) and the store again, as well as the ability to
 generate the sql to reload the channels table. as i said it is a work in
 progress and i intend to continue working on it. things to add include:

 loading more data from additional sources (wikipedia)
 generating additional output files (the various xmltv files for .mythtv
 and channel_ids springs to mind)
 a DTD for the xml
 documentation
 a proper program other that test.pm

 i've tried to write it in the best way that i know how. it is all rather
 oo, which meant learning how to do that in perl and the number of classes
 vs. the functionality is a bit out of whack.

 if it helps anybody, then i'm happy. it has made my mythtv installation
 useful again.

 as i said, comments are welcome

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2686>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list