Opened 17 years ago
Closed 17 years ago
#2686 closed enhancement (invalid)
[work in progress] program to manage channel table for sky digital users
Reported by: | Simon Kenyon | Owned by: | danielk |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | xmltv db channels sky |
Cc: | Ticket locked: | no |
Description
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
Attachments (1)
Change History (3)
Changed 17 years ago by
Attachment: | mythchannels.tar.bz2 added |
---|
comment:1 Changed 17 years ago by
Owner: | changed from Isaac Richards to danielk |
---|
Simon, you should post this on the mailing lists, I'm sure people would be interested in it. When you are ready to submit it for contrib, reopen this ticket.
comment:2 Changed 17 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
current state of code