Your Digital Media Has Never Looked So Good

Posts: 1
Joined: Sun Oct 12, 2008 10:01 am

Sun Oct 12, 2008 1:32 pm

Goemon wrote:

Thanks for the great software - runs out of the box (err. ZIP-file) on my uNSLUng NAS server. I am happy :D

Any recommendations how to run it automatically after boot?


Make an init script. Look at files in /etc/init.d for examples.

See also for a tutorial.

There may be some minor differences depending on the distro installed on your nas box.
Posts: 10
Joined: Mon Sep 13, 2004 7:48 am

Sun Nov 16, 2008 10:48 am

Using the instructions below, but adding the sbs.command file as a Startup item in the Accounts preference pane, worked for me too.

However this launches Terminal and then executes the script. If I close the Terminal window then the script stops executing.

Is there a way to keep the script running without launching Terminal, or or appearing in the GUI at all?

ralnar wrote:
Mission accomplished (after some digging)!
Thanks for leading me in the right direction!
Here's how for anyone else interested:

-Wrote a script
cd Documents
cd sbs
python soundbridgescrobbler username=xxx password=xxx

first two lines to go to right folder

-renamed file to sbs.command

-changed rights with
chmod +x sbs.command
in Terminal

-dropped sbs.command in SystemPrefs/Accounts/Startup objects list
Posts: 2
Joined: Wed May 21, 2008 7:35 am

Wed Feb 25, 2009 9:07 am

Thanx a lot for the script. But I have the following problem; The script detects my CH3SNAS instead of my Soundbridge and stops there.

# python username=theslowone password=920oe1
Service CH3SNAS._http._tcp.local. added
/sbs/ DeprecationWarning: integer argument expected, got float, value))

How can I repair this?
Posts: 2
Joined: Mon Jan 21, 2008 12:55 pm

Thu Oct 08, 2009 12:26 am

I am totally new to this shell scripting thing and can't seem to get the script to work automatically. (on a mac by the way)

I got the script to work but since I don't want to type it in terminal every time I am looking for a way to create a shortcut.
I know smbrannan explains how he made the script but I can't seem to understand how to do that and instead of it launching on startup a shortcut would work just fine for me.

Any suggestions, step by step tutorials or links?

Posts: 2
Joined: Tue Oct 13, 2009 12:36 pm

Tue Oct 13, 2009 12:38 pm

Rebooting after updating Python did help though...
Thanks, seems to work fine

Who is online

Users browsing this forum: No registered users and 1 guest