![]() |
2009-02-23
, 02:58
|
|
Posts: 334 |
Thanked: 366 times |
Joined on Nov 2008
@ Italy
|
#2
|
import urllib raiaddr= "http://www.rai.tv/dl/RaiTV/videoWall/PublishingBlock-5566288c-3d21-48dc-b3e2-af7fbe3b2af8.xml" raipage = urllib.urlopen(raiaddr) #print raipage.read() for line in raipage: if 'mms' in line: d=line.split("mms")[-1].split("wmv")[0] print "mms"+d+"wmv"
![]() |
2009-02-23
, 05:31
|
|
Posts: 2,142 |
Thanked: 2,054 times |
Joined on Dec 2006
@ Sicily
|
#3
|
The Following User Says Thank You to debernardis For This Useful Post: | ||
![]() |
2009-02-23
, 11:21
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#5
|
http://www.slacky.eu/wikislack/index...za_silverlight
In order to adapt the script to the tablet, the only missing tool was the "dialog" package. Since I was too lazy to setup a scratchbox environment, I extracted the dialog binary and its libncursesw dependency from the debian lenny armel package, then made some minor adaptations to the shell script.
Everything should be in the attached compressed file. Unpack in a directory, copy "dialog" to /usr/bin/dialog and "libncursesw.5.so" to /lib/libncursesw.5.so then start the script with ./tv.sh
You'll get a list of on-air channels and on-demand archived programmes; choose one and the show should start.
I selected "mplayer -cache 1024 -framedrop" as media player program; it seems to show well cartoons, but gets some jerks with other contents.
I hope someone can suggest a more optimized backend, or fiddle with the script, i.e. to port to python.
Non-Italians might need to connect through an Italian proxy server to get the streams because by now the silly policies of rai-tv seem to prevent connections from abroad.
EDIT: upgraded to original version 0.15 (*****s from rai-tv started sending advertisements instead that streams for user agents they disliked)
Ernesto de Bernardis
Last edited by debernardis; 2009-03-01 at 14:27. Reason: new version 0.15 solves an incompatibility