hi, the code you posted assumes livestreamer is in the same dir as php.exe, so I had to edit the path for livestreamer.
BUT how do u hard-interrupt the recording (force stop it)? Ctrl + C gives an error
Code:
php recme1.php
Warning: date(): It is not safe to rely on the system's timezone settings. You a
re *required* to use the date.timezone setting or the date_default_timezone_set(
) function. In case you used any of those methods and you are still getting this
warning, you most likely misspelled the timezone identifier. We selected the ti
mezone 'UTC' for now, but please set date.timezone to select your timezone. in C
:\php\recme1.php on line 4
Starting livestreamer...
[download][..0-09-2015-hanoi-cab2.ts] Written 5.0 MB (32s @ 158.3 KB/s) T
raceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 128, in <module>
^C
File "__main__livestreamer__.py", line 9, in <module>
c:\php>^X File "livestreamer_cli\main.py", line 890, in main
File "livestreamer_cli\console.py", line 45, in msg
IOError: [Errno 22] Invalid argument
thanx