Thread
:
[half-baked] a script to show Italian Rai-TV streams
View Single Post
debernardis
2009-02-22 , 17:45
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#
1
Some days ago the Italian public national tv changed its streams to the Microsoft Silverlight format. A few days after, a clever penguin published a bash script that extracted the single streams' urls from their xml container to be able to show them without annoying plugins:
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)
Attached Files
raitv_0.15.tar.gz
(185.7 KB, 440 views)
__________________
Ernesto de Bernardis
Last edited by debernardis; 2009-03-01 at
14:27
. Reason: new version 0.15 solves an incompatibility
Quote & Reply
|
The Following 2 Users Say Thank You to debernardis For This Useful Post:
TA-t3
,
YoDude
debernardis
View Public Profile
Send a private message to debernardis
Visit debernardis's homepage!
Find all posts by debernardis