[mythtv-users] MythIPTV Beta 2

Michael Still mikal at stillhq.com
Mon Feb 26 01:58:59 UTC 2007


Phill Edwards wrote:
>> 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:

[snip]

Not really. The videos need to be in enclosures, which are more
adequately defined here:

http://blogs.law.harvard.edu/tech/rss

In your case though, you might be better off just scripting something up
which calls --todoremote.

> 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.

The script is written on the assumption that output should be minimal,
so it can run from cron. To see what happened, you can use --log.

You need to run this in stages:

./mythiptv --file /tmp/testrss.xml ABCNews
./mythiptv --download 10

> 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)'

Well, ignoring the bug there (which I will fix), this is because you
need to run the commands separately as shown above.

> 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?

I'm not sure about this bit. Let me fix the other bugs, and then we'll
see how we go.

Cheers,
Mikal


More information about the mythtv-users mailing list