Joined: 11 Jun 2004
|Posted: Mon Jan 07, 2013 10:24 pm Post subject: Roku Media Server
|I found a media server that will serve media from my Gentoo PC to my Roku box attached to my Plasma TV.
It's called roku media server, found at: https://github.com/netguy204/roku_media_server/
I installed it into /opt/roku_media_server and wrote a little shell script to run it at boot, having made a new user and group called 'roku'
|$ cat /etc/local.d/roku.start
su roku -c 'python2.7 mymedia.py'
OK, so now it runs as user 'roku' at startup, and the wife and kids can view all the DVDs that I (purchased and) ripped to my hard drive on the big screen TV.
The trouble with this setup though is the service 'local' never finishes, and all the output from the server is recursed to the terminal. There has to be a more elegant way of doing this. I tried to adapt the mediatomb init.d/conf.d files but failed miserably.
Anyone else using this, or care to suggest a better way to run this at startup, not as root and, without logging in.
Things you might say if you never took Physics: "I'm overweight even though I don't overeat." - Neil deGrasse Tyson