[mythtv-users] MythIPTV Beta 2
mikal at stillhq.com
Tue Feb 27 14:08:50 UTC 2007
Phill Edwards wrote:
>> Oh, the problem here is that file isn't a video. It's a playlist
>> containing other videos by the look of it. Download it with wget and
>> check it out...
> Aah - I didn't realise that .wmv files could be a sort of playlist.
> You're right that the .wmv file contains the actual links to the video
> file. So I dropped the tables again and re-ran it with the link to the
> video from the .wmv fie to see what would happen but I still got an
> [mythtv at elm mythnettv]$ ./mythnettv --log
> None None
> 2007-02-27 23:29:52 Creating log table
> 2007-02-27 23:29:52 Creating settings table
> 2007-02-27 23:29:52 Creating programs table
> 2007-02-27 23:29:52 Creating subscriptions table
> 2007-02-27 23:29:52 Settings value chanid defaulted to 1034
> 2007-02-27 23:29:52 Settings value loglines defaulted to 1000
> 2007-02-27 23:30:35 Creating mythnettv_programs row with guid of
> [mythtv at elm mythnettv]$ ./mythnettv --download 1
> Downloading http://media3.abc.net.au/winlibrary/news/200702/20070226-opener-am2_16_9_bband.wmv?MSWMExt=.asf
> Destination will be data/20070226-opener-am2_16_9_bband.wmv
> Traceback (most recent call last):
> File "./mythnettv", line 957, in ?
> DownloadAndImport(db, guid)
> File "./mythnettv", line 850, in DownloadAndImport
> File "./mythnettv", line 651, in Import
> duration = datetime.timedelta(seconds = video.Length())
> File "./mythnettv", line 52, in Length
> return float(self.values['ID_LENGTH'])
> KeyError: 'ID_LENGTH'
> There must be something about the link to that video that it doesn't
> like, do you think? But if I put that link into Windows Media Player
> it plays it fine.
This is still because mplayer couldn't determine the length of the
video. What happens if you execute:
mplayer -frames 0 -identify <wmv file>
On the command line? Can you send me the URL you're using?
More information about the mythtv-users