Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR + streamdev to XBMC



On Fri, Sep 24, 2004 at 08:34:48PM +0200, Philip Lawatsch wrote:
> Hi,
> 
> I hope its not OT here, if so then I'm sorry.
> 
> I was wondering if anyone has already written a python script / plugin 
> for xbmc (the xbox media center) to act as a streamdev client / use 
> streamdev http streaming and svdrp?

I've used it successfully but I ended up just using some lame Perl to create a 
series of .m3u files, one for each channel in my channels.conf
 
e.g.

#/usr/bin/perl
#BBC TWO:754166670:I0C34D34M16B8T2G32Y0:T:0:610:611=eng,612=eng:0:0:4232:9018:4104:0
#ITV 1:834166670:I0C23D12M64B8T2G32Y0:T:0:512+8190:650=eng,660=eng:0:0:8267:9018:8203:0

$a='01';
while(<>)
	{
	($name,$rest) = split /:/;
	print "echo >\"$a - $name.m3u\" http://10.0.0.1:85/$a\n";;
	$a++;
	}

And just piped the channels.conf into it... lame but it worked (mostly) - in 
fact I discovered a bad bug in XBMC - after the port 80 connection is 
established, if no data is received by XBMC, then the Xbox hangs and you can't 
press "Cancel" - I logged a bug report, but the developers haven't looked at it 
yet :(

gdh





Home | Main Index | Thread Index