Forum: Official SMS Forums - Forum for discussing SMS: Simple Media System player for the PS2.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: RadHostClient Automation script for Linux
  

Results 1 to 1 of 1
  1. #1 RadHostClient Automation script for Linux 
    Funk_Dev Guest
    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.

    Cheers,
    FD
    Attached Files
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •