Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Roku Media Server
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
tabanus
Guru
Guru


Joined: 11 Jun 2004
Posts: 583
Location: UK

PostPosted: Mon Jan 07, 2013 10:24 pm    Post subject: Roku Media Server Reply with quote

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'

Code:
$ cat /etc/local.d/roku.start
#!/bin/bash

cd /opt/roku_media_server/server
su roku -c 'python2.7 mymedia.py'
exit


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.

Thanks
_________________
Never underestimate a hamster.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum