script_dir (UMS.conf setting)
Posted: Wed Oct 03, 2018 11:13 am
Hi!
I fell over this old post where sharkhunter mentions implementing script_dir setting to UMS.conf
I guess this is the code for it:
https://github.com/UniversalMediaServer ... java#L1142
It works so far that i can define a folder and see it in "Server settings", i can also see whatever files is in the folder, but when i try to "play" my hello_world.bat file, the TV just says that it lost it's connection to the server and the bat file never runs.
I think it would be quite cool if i could run scripts on my server using my TV remotecontrol 
I fell over this old post where sharkhunter mentions implementing script_dir setting to UMS.conf
I guess this is the code for it:
https://github.com/UniversalMediaServer ... java#L1142
It works so far that i can define a folder and see it in "Server settings", i can also see whatever files is in the folder, but when i try to "play" my hello_world.bat file, the TV just says that it lost it's connection to the server and the bat file never runs.
Code: Select all
DEBUG 2018-10-03 01:00:13.989 [HTTPv2 Request Worker 2] Starting transcode/remux of hello world with media info: Container: MPEGPS, Size: 0, Mime Type: video/mpeg
DEBUG 2018-10-03 01:00:13.991 [HTTPv2 Request Worker 2] Caught exception: null
DEBUG 2018-10-03 01:00:13.999 [HTTPv2 Request Worker 3] Recognized media renderer "BRAVIA KDL-40W5500"
DEBUG 2018-10-03 01:00:14.085 [cling-17] TransportState: TRANSITIONING
DEBUG 2018-10-03 01:00:14.499 [HTTPv2 Request Worker 3] Starting transcode/remux of hello world with media info: Container: MPEGPS, Size: 0, Mime Type: video/mpeg
DEBUG 2018-10-03 01:00:14.501 [HTTPv2 Request Worker 3] Caught exception: null
DEBUG 2018-10-03 01:00:15.013 [cling-9] TransportStatus: ERROR_OCCURRED
DEBUG 2018-10-03 01:00:15.014 [cling-9] TransportState: STOPPED
DEBUG 2018-10-03 01:00:15.912 [cling-17] TransportStatus: OK
DEBUG 2018-10-03 01:00:19.256 [HTTPv2 Request Worker 4] Recognized media renderer "BRAVIA KDL-40W5500
