The above video goes away if you are a member and logged in, so log in now!
Post By Funk_Dev
RadHostClient Automation script for Linux
RadHostClient Automation script for Linux –
Long time lurker, first time poster
I recently discovered the SMS media player app, and was very impressed by its ability to interface with a linux media server using RadHostClient. I wasn't, however, very happy that RHC has a tendancy to crash when the console disconnects in a non-ideal manner.
After reading the thread about the RHC Autoclient prog. for Windows, I thought I would write a very simple python script to do something similar from a linux command prompt.
I probably could have just done this using a shell script, but I'm less of a shell script coder than a python coder... and I'm not much of a python coder either.
So far the script does the following:
-Pings the PS2's static IP every 10 seconds.
-If the PS2 is active on the local network, spawns a RHC process when the PS2 is active on the local network
-Close the RHC process when the PS2 can't be found
I don't have any plans to make any modifications to the script, but I thought that it could be useful to others who use linux for their media servers.