Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

www.playtv.fr/television/ - A serious challenge for livestreming

(http://stream-recorder.com/forum/showthread.php?t=8332)

KSV 03-28-2012 07:58 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
you guys are having problem because date.timezone setting is not defined by default and php craps out when it's not defined. set it like following in your php.ini
Code:

date.timezone = America/New_York
List of timezones
Code:

http://in3.php.net/manual/en/timezones.php
Also latest version of php is 5.4. they didn't provided windows installer for this version. just download the zip release and overwrite all the files in "C:\Program Files\PHP" or wherever your php installation folder is then copy the following PHP.ini file to your php installation folder. it contains all relevant changes and enables all the extensions available in 5.4.
Code:

http://www.mediafire.com/file/yu86i2l12eae9m9/PHP.ini

chap 03-28-2012 09:41 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
KSV
Thanks:cool: :cool:
now works fine

php is a great tool (in your hands);)

KSV 03-28-2012 09:46 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
have you tried more than once? what's the output of following url on your system?

Code:

http://tvplayer.playtv.fr/js/dea5Va6CHQ.js

KSV 03-28-2012 11:04 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Quote:

Originally Posted by karlo2105 (Post 42626)
Yes I tried several times, Command prompt quickly displays error messages I posted above and it disapperas.

Here is what I get with page above :

Code:

(function(){if(typeof tvplayer!=="undefined"){var a={a:"http://beta.static.playtv.fr/swf/tvplayer.swf?r12",b:{"a":"209df77fec147dcbd31d26b37e9d84e9804338742eaa8e1f282ba57ec19a8f5b5f1bfad759f13c52de4811048a859d8049bead5d5064d74ef334923c4aa14abde6619f536fb9df5d88da0ff0b989ae7c7ecf399da60b04f6e2420d1047f049a12a9d717a8e7ef366","b":"ee29826ca14ff45045211a1574adfb0a18e9525beac9f9da3ffed24ae200a8c39595b34b04ea51177c15ad1a8cd9483e"}};tvplayer.callback(a)}})();

can you also post your php_errors.log file? url output is exactly what it should be. i am surprised why it's not working on your pc.

KSV 03-28-2012 11:15 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
add var_dump($init); before and after the line 472 and post the script output.

Edit: just saw your edit. you are using the wrong command line. --url parameter requires channel id not full url. run PlayTV.php --list to get the id for different channels. why weren't you testing it with it's own CLI interface?

KSV 03-28-2012 11:21 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Quote:

Originally Posted by karlo2105 (Post 42631)
How could I locate line 472 with Notepad or Wordpad as they don't display that info?

see the edit above and use better text editor.

KSV 03-28-2012 11:42 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Quote:

Originally Posted by karlo2105 (Post 42637)
I thought you made PlayTV.php script like Weeb to include it in personal list batch file, that's why I used --url.
I am sorry to waste your time but I am completely lost.
I don't see where is CLI interface located.

just double click the script and it will show you the list of channels to select from. you can also use it from batch file with something like:
Code:

call %php% PlayTV.php --url dea5Va6CHQ
use --list option to list all channel id's.

KSV 03-28-2012 11:55 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Quote:

Originally Posted by karlo2105 (Post 42639)
Thanks very much it's finally working. :D IS there any chance to display geo-locked channels list id with your script?

just use it with vpn or fill your http proxy at line 290.

karlo2105 03-28-2012 12:11 PM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Quote:

Originally Posted by KSV (Post 42640)
just use it with vpn or fill your http proxy at line 290.

Thank you very much. You are the best. I will never forget it. :D :D :D

KSV 03-29-2012 01:52 AM

Re: www.playtv.fr/television/ - A serious challenge for livestreming


 
Code:

1. Added some error checking
2. added socks proxy support
3. minor fixes

you can set the proxy at line 624 in the following format:
Code:

http://1.2.3.4:123
socks4://1.2.3.4:123
socks5://1.2.3.4:123

Proxy is only needed to view some geo restricted channels. they will not be listed until you use the proxy.

Code:

http://www.mediafire.com/file/pdm7q7q9x5cv75b/PlayTV.php


All times are GMT -6. The time now is 12:17 AM.