[mythtv-users] MythIPTV Beta 2

Phill Edwards philledwards at gmail.com
Tue Feb 20 11:06:28 UTC 2007


> While that may be a downside, perhaps it can be worked around by me
> creating a RSS XML file which MythIPTV could read.

I hand-crafted a testrss.xml file which looks like this:

<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>ABC News</title>
    <link>http://www.abc.net.au/</link>
    <description>ABC Broadband News</description>
    <language>en-au</language>

    <item>
      <title>Howard, Rudd trade insults over Iraq</title>
<link>mms://media3.abc.net.au/winlibrary/news/200702/20070220-politics-pmopener_16_9_bband.wmv</link>
      <description>Howard, Rudd trade insults over Iraq</description>
      <pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate>
      <guid></guid>
    </item>

    <item>
      <title>Govt considering bringing Hicks home</title>
<link>mms://media3.abc.net.au/winlibrary/news/200702/20070220-hicks-pm_16_9_bband.wmv</link>
      <description>Govt considering bringing Hicks home</description>
      <pubDate>Fri, 30 May 2003 11:06:42 GMT</pubDate>
      <guid></guid>
    </item>

    <item>
      <title>Drought to slash summer crop production</title>
<link>mms://media3.abc.net.au/winlibrary/news/200702/20070220-crops-pm_16_9_bband.wmv</link>
      <description>Drought to slash summer crop production</description>
      <pubDate>Tue, 27 May 2003 08:37:32 GMT</pubDate>
      <guid></guid>
    </item>

    <item>
      <title>Govt to pull plug on light bulbs</title>
<link>mms://media3.abc.net.au/winlibrary/news/200702/20070220-bulbs-pm2_16_9_bband.wmv</link>
      <description>Govt to pull plug on light bulbs</description>
      <pubDate>Tue, 20 May 2003 08:56:02 GMT</pubDate>
      <guid></guid>
    </item>
  </channel>
</rss>

I run mythiptv like this - is this correct?
$ ./mythiptv --download 10 --file /tmp/testrss.xml ABCNews
Nothing is written to screen so I assume all is well.

I then ran --statistics:
$ ./mythiptv --statistics
Programs tracked: 0
Programs still to download: 0
Traceback (most recent call last):
  File "./mythiptv", line 989, in ?
    print 'Data transferred: %s' \
KeyError: 'sum(transfered)'

I then ran --log:
$ ./mythiptv --log
None None
2007-02-20 21:40:28 Creating mythiptv_log table
2007-02-20 21:40:28 Creating mythiptv_settings table
2007-02-20 21:40:28 Creating mythiptv_programs table
2007-02-20 21:40:28 Creating mythiptv_subscriptions table
2007-02-20 21:40:28 Created IPTV channel with chanid 1034
2007-02-20 21:40:28 Settings value chanid defaulted to 1034
2007-02-20 21:40:28 Settings value loglines defaulted to 1000
2007-02-20 21:54:16 Creating mythiptv_programs row with guid of /tmp/testrss.xml
2007-02-20 21:54:16 Could not store program: /tmp/testrss.xml (1054,
Unknown column 'date_parsed' in 'field list')
2007-02-20 21:54:16 Settings value datadir defaulted to data
2007-02-20 21:54:16 Downloading /tmp/testrss.xml to data/testrss.xml
2007-02-20 21:54:16 Creating mythiptv_programs row with guid of /tmp/testrss.xml
2007-02-20 21:54:16 Could not store program: /tmp/testrss.xml (1054,
Unknown column 'date_parsed' in 'field list')

Something ain't right here. Can you please tell me where I may be
going wrong? Perhaps it's in the RSS XML file I hand crafted?

Regards,
Phill


More information about the mythtv-users mailing list