i want to remove this CLI execution from Playtv script
https://raw.github.com/K-S-V/Scripts/master/PlayTV.php
that's mean execute it without passing by CLI screen , and when execute it like this for example
Code:
php myscript.php >> /folder/links.txt
i don't wanna use choices menu when i execute this php script all will be executed in background and creat automaticaly a text file with rtmp url's
for example the output when i execute the script will be like this:
HTML Code:
rtmpdump -r "rtmp://stream.air-tv.tv:1935/live" -a "live" -s "http://static.playtv.fr/swf/tvplayer.swf" -p "http://playtv.fr/television" -C S:c8d0c3e9ef430365e634efd638d8b50c13d4c09649ece2623e3292dadccc0ae89075140cda75d2a3e8511bd338c40599f3cce2d3450b6bbcc98ed7887e6d346c1d44fbe0039f5c1b1c3c6282cdf2339f3206bbf2c0902887527d3e2ce4263bca35e1d27adeabfadb0854e9ef5c8f94b6fd40806b9ccc6807 --live -y "web1.stream"
rtmpdump -r "rtmpe://149.11.114.58/tvplayer" -a "tvplayer" -s "http://static.playtv.fr/swf/tvplayer.swf" -p "http://playtv.fr/television" -C S:e6fd8d83f6c79d9eaff447c12b12e58e54a8da2a5e374a01100502ec39f3ba6d8c70356718c99b95cb26d2e744b46836d67005038967e6bf17088df4a05254cdbcf56929d00b6a190eb801b71596cd5d92822088b3e19eb43b0e92b277e73aaf995a985cd70d15ea4fc4e925ccf2c80ad36410c0719d47f5 --live -y "france-4_hi"
rtmpdump -r "rtmpe://149.11.114.58/tvplayer" -a "tvplayer" -s "http://static.playtv.fr/swf/tvplayer.swf" -p "http://playtv.fr/television" -C S:2fdcbf85a068eeddad31fc7a60f6ea8d6e7b83544fa1fab30c5b1fbf89311955c96041167607e354f3fedc61cde0553b2d561fbcb2a503d1dbf22ed8e936ba495b549b3a7edf44568772c5b5fb367e0017cc36110f3230dca85c205b1d7b57aab57d0dc4ef07ef2b2e6ce932992386bac9655fdfc92b9d41 --live -y "france-5_hi"
thanks