"dellsweig" wrote:"buaboo" wrote:
I have Maxtor which is running a version of freenas.. Not sure if that helps or not..
I tried doing chkstat -add at command line and it said it was not found."dellsweig" wrote:"buaboo" wrote:
Onecaribu is trying to help me offline on this issue, but I thought I would post it here so I don't keep bothering one person.
I am trying to modify the init.d so I can start rs_serve.py automatically when the NAS reboots. I created the below script which works when I execute it manually, but I can't seem to get it to work automagically (I did do a chmod 777 on the script)
chdir /share/Public/media
/opt/bin/python2.6 ./rss_server.py
I placed this script called it pythstart in /share/Public/media (where the rss_server.py is...
Any thoughts?
Depending on the version on Linux running on your NAS - you may have to do a :
chkstat -add
You distro may vary
look in /usr/sbin - that may not be in your path.
"calicommando" wrote:
Forgive my ignorance of what's involved on the programming side of this, but are we anywhere close to being able to launch a basic video channel? Even if we have to transcode any videos to an acceptable format for the Roku.
"buaboo" wrote:
I am not sure what u mean by video channel, but I have modified the sample video code to stream my collection of movies to roku. It's not the most elegent, but I am fine with it w/o having to code much."calicommando" wrote:
Forgive my ignorance of what's involved on the programming side of this, but are we anywhere close to being able to launch a basic video channel? Even if we have to transcode any videos to an acceptable format for the Roku.
"el.wubo" wrote:
Thanks jaredsubman for the initial research and crack at this. I'm starting in on adding support to the channel and server tonight. If all goes as planned we could have initial support sometime tomorrow night or Tuesday (that's my goal.)
Handbrake seems like a great utility for doing the conversion and it's convenient that the Ipod Legacy preset matches the Roku so well. Start converting now so you'll have something to test when support is rolled out.
Now.. scrolling back through the forum:
buaboo:
Open another script in the /etc/init.d directory and make sure your script looks similar. Typically init.d scripts need to respond to a couple of arguments (start, stop, restart) and some distributions enforce a distro specific header. Make your script look like another script in init.d and you should be good to go.
DeftOne:
Yeah... you've discovered that little hack. I'm not sure if it's a feature or a bug either. I guess it's a feature in that I anticipated it. It's a side-effect of how my song cycling logic works. I agree with your description of how song cycling should work and will revisit that logic at some point after video support.
Dellsweig:
I haven't forgotten your directory depth problem. Still no progress on that front. I'll try to get you something new to test soon.
All:
Thank you for your enthusiastic support and for sharing what you've learned. You all make this a lot of fun to work on.
"el.wubo" wrote:
DeftOne:
Yeah... you've discovered that little hack. I'm not sure if it's a feature or a bug either. I guess it's a feature in that I anticipated it. It's a side-effect of how my song cycling logic works. I agree with your description of how song cycling should work and will revisit that logic at some point after video support.