PDA

View Full Version : IPTV on XBMC


gulikoza
2007-06-06, 13:31
Hi,

I only recently got an xbox and I'm starting to think how to watch (and possibly record - turning XBMC into a PVR) iptv streams I receive. I have read through most topics and I understand that xbox kernel does not support multicast.
But I have another idea - right next to my xbox is an asus 500gp router running OpenWRT (http://openwrt.org). It's already configured for bridging multicast traffic into my local lan, but the kernel also supports joining and leaving multicast groups :grin:
I have written a small app (udpRelay (http://www.si-gamer.net/gulikoza/udpRelay.tar.gz)) that joins a multicast group and relays the udp stream to xbox. The xbox happily receives and plays it if I create a udp:// strm file :grin:. Now, this idea would have to be developed further. I'm thinking udpRelay could be extended to provide a small simple http server and there would be a need for a nifty python script that would connect to the http and issue simple commands (like get /239.1.1.0) that would cause the program to start relaying data and the script to start playing it...The recording part would either have to be done on the router side (I have a harddisk mounted via nfs, but there is also a possibility of external hdd via usb) or on the xbox side.
The downside of this idea is, that you'd need a linux or windows host on the lan to relay the stream, but doing it with $80 wifi router (which most of you probably already have) sounds really exciting to me :grin:

El Piranna
2007-06-06, 23:44
Awesone dude :) Another thing to add to my Fonera 2.0 when i'll get one and add it to my XBox :D

gulikoza
2007-06-14, 17:03
so...no volunteers to help? :D

pt-1
2007-06-14, 17:47
You can already install a Python script that does exactely that for the Dbox Neutrino (Linux DVB Cable/Sat Receiver)

Have a look in the scripts or here: http://www.njlworld.com/~pt1/xbox/DboxTVViewer_040c.rar

gulikoza
2007-06-14, 17:54
Thanks a lot...I'll have a look, and if possible adapt udpRelay to the same communication interface.