[mythtv-users] schedulesdirect not working

Paul Kendall pkendall64 at gmail.com
Fri Apr 27 01:30:10 UTC 2012


On Fri, Apr 27, 2012 at 12:35 PM,  <locuse at mm.st> wrote:
> fyi, as a test,
>
> keeping my XMLTVIDs in MythWeb ChannelEditor as '5 digit' format
> (matching the hover-over value at the SD site), a quick mod
>
>        perl -pi -e 's|(.*channel
>        id=")I(.*)(.labs.zap2it.com)(.*)|$1$2$4|g'
>        /var/lib/mythtv/.xmltv/epg_test.WORKING.xml
>        perl -pi -e
>        's|(.*channel=")I(.*)(.labs.zap2it.com)(.*)|$1$2$4|g'
>        /var/lib/mythtv/.xmltv/epg_test.WORKING.xml
>
> changes instances of channel id definition in the xml file
>
> from
>
>        <channel id="I12345.labs.zap2it.com">
>  &
>        <programme start="20120426010000 +0000" stop="20120426013000
>        +0000" channel="I12345.labs.zap2it.com">
>
> to
>
>        <channel id="12345">
>  &
>        <programme start="20120426010000 +0000" stop="20120426013000
>        +0000" channel="19571">
>
>
> now
>
>        mythfilldatabase --file --sourceid 1 --xmlfile
>        "/var/lib/mythtv/.xmltv/epg_test.WORKING.xml" --verbose all
>
> correctly returns,
>
>
>        2012-04-26 17:25:06.322364 C  mythfilldatabase version:
>        fixes/0.25 [v0.25-54-g46062bf] www.mythtv.org
>        2012-04-26 17:25:06.322395 N  Enabled verbose msgs: all
>        2012-04-26 17:25:06.322424 N  Setting Log Level to LOG_INFO
>        2012-04-26 17:25:06.322473 I  Added logging to the console
>        2012-04-26 17:25:06.322478 I  Added database logging to table
>        logging
>        ...
>        2012-04-26 17:25:06.424654 I  Connected to database 'mythtv_db'
>        at host: myth.locuse.net
>        2012-04-26 17:25:07.461687 I  IconData: Updating icons for
>        sourceid: 1
>        2012-04-26 17:25:08.911688 I  Inserting new program    :
>        2012-04-30T20:00:00 - 2012-04-30T20:30:00 21650 Friends
>        2012-04-26 17:25:08.936307 I  Inserting new program    :
>        2012-04-30T20:30:00 - 2012-04-30T21:00:00 21650 Friends
>        ...
>        2012-04-26 17:25:31.789889 I  Inserting new program    :
>        2012-05-02T14:30:00 - 2012-05-02T17:00:00 68504 Lifeforce
>        2012-04-26 17:25:31.807112 I  Inserting new program    :
>        2012-05-02T17:00:00 - 2012-05-02T19:00:00 68504 Species II
>        2012-04-26 17:25:31.824942 I  Updated programs: 5480 Unchanged
>        programs: 1593
>        2012-04-26 17:25:31.885251 I  Adjusting program database end
>        times.
>        2012-04-26 17:25:31.932492 I      0 replacements made
>        2012-04-26 17:25:31.932496 I  Marking generic episodes.
>        2012-04-26 17:25:32.002131 I      Found 1633
>        2012-04-26 17:25:32.002179 I  Extending non-unique programids
>        with multiple parts.
>        2012-04-26 17:25:32.009114 I      Found 0
>        2012-04-26 17:25:32.009175 I  Marking repeats.
>        2012-04-26 17:25:32.042345 I      Found 0
>        2012-04-26 17:25:32.042351 I  Unmarking new episode rebroadcast
>        repeats.
>        2012-04-26 17:25:32.089235 I      Found 578
>        2012-04-26 17:25:32.171172 I  Marking episode first showings.
>        2012-04-26 17:25:33.186337 I      Found 2973
>        2012-04-26 17:25:33.186344 I  Marking episode last showings.
>        2012-04-26 17:25:34.208902 I      Found 2973
>        ...
>        2012-04-26 17:25:34.218083 N  mythfilldatabase run complete.
>        2012-04-26 17:25:34.231106 I  Closing DB connection named
>        'DBManager2'
>        2012-04-26 17:25:34.231391 I  Closing DB connection named
>        'DBManager1'
>        2012-04-26 17:25:34.231625 I  Destroying MythDBPrivate
>        2012-04-26 17:25:34.231892 I  DataDirect: Deleting temporary
>        files
>
> and, results in a full & complete !! Mythtv EPG ==>
> http://img525.imageshack.us/img525/1092/epgnew.png
>
> the extent of the EPG is ~7 days, thru ~ 5pm, Wed, May 2nd, as of this
> writing.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Cool, so I think it's probably best to change the id's on mythweb to
match whats in the XML.

Good Luck.


More information about the mythtv-users mailing list