Hi,
It looks like the script doesn't work on my computer (Archlinux, php & vlc installed). I'm trying the watch 62 (Souvenirs from earth).
EDIT:
I've just commented open_basedir in the php.ini. Works perfectly! Sorry for the noise
I get this:
Code:
$ php PlayTV.php
KSV PlayTV Downloader
PHP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/knarf/prog/as/PlayTV.php on line 286
1) 2M Maroc 27) France 3 53) Opal TV
...
26) France 2 52) OFIVE TV
Enter Channel Number : 62
Retrieving html....
PHP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/knarf/prog/as/PlayTV.php on line 286
PHP Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /home/knarf/prog/as/PlayTV.php on line 286
PHP Warning: pack(): Type H: illegal hex digit < in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit h in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit t in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit m in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit l in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
in /home/knarf/prog/as/PlayTV.php on line 508t
PHP Warning: pack(): Type H: illegal hex digit
in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit < in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit h in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit < in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit t in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit i in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit t in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit l in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
...
...
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
in /home/knarf/prog/as/PlayTV.php on line 508t
PHP Warning: pack(): Type H: illegal hex digit
in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit < in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit / in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit o in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit y in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
in /home/knarf/prog/as/PlayTV.php on line 508t
PHP Warning: pack(): Type H: illegal hex digit
in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit < in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit / in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit h in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit t in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit m in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit l in /home/knarf/prog/as/PlayTV.php on line 508
PHP Warning: pack(): Type H: illegal hex digit > in /home/knarf/prog/as/PlayTV.php on line 508
in /home/knarf/prog/as/PlayTV.php on line 508t
PHP Warning: pack(): Type H: illegal hex digit
in /home/knarf/prog/as/PlayTV.php on line 508
Unable to decode server response
Notice how the arg to pack are html source code instead of hex digit.
Anyway...
I just wanted to play the stream on playtv in mplayer or vlc. Turns out it's not a simple flv where I can sniff the url from firebug. So I'm guessing the flash client open a new connection on its own. I fire wireshark and I see some encrypted stuff... shit.
After some googling I learn a bit about rmtp/rmtpe/rmtps... and end up on this very thread.
I can see that once again, the DRM is useless... Well done KSV!