Triode wrote: 
> Can you check if the helper app can be run with the permissions the
> server is using - seems that there is something up here in how it
> starts?

Good idea. Ehm .. what server ? I have a bit of a crippled shell here.
> 
> pavlov> ps w | grep queeze
> 10293 admin    94828 S    /usr/bin/perl
> /volume1/@appstore/SqueezeCenter/slimserver.pl --daemon --user admin
> --pidfile /volume1/@ap
> 10909 admin     4048 S    grep queeze
> 

The squeezeserver is running as admin, and I am logged in as admin. I
can run spotifyd:
> 
> pavlov>
> /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifyd
> 
> [14:24:50.561929] main:420
> /volume1/@appstore/SqueezeCenter/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifyd
> 2.2.16 started
> [14:24:50.563270] main:450 Config: username: $$$$$ cachedir:
> /volume1/@appstore/SqueezeCenter/Cache/spotifycache bitrate: 320
> volnorm: 1 httpport: 9005 cliport: 9090 cacheaudio: 1
> [14:24:54.023474] main:539 new connection
> [14:24:54.032691] main:591 req: browse.json res:
> spotify:track:7tb2yAFoSkwTZVydm3S4BH par: (null) prot: HTTP/1.0 auth:
> (null)
> [14:24:54.034147] main:670 relogging in as user: $$$$$
> [14:24:54.049086] log_message:80 log: 12:24:54.049 I [ap:1766]
> Connecting to AP ap.spotify.com:4070
> [14:24:54.059357] logged_in:53 logged in
> [14:24:54.116494] log_message:80 log: 12:24:54.116 I [ap:1224] Connected
> to AP: 78.31.12.93:4070
> [14:24:55.059925] main:1050 queuing track browse
> [14:24:55.171303] metadata_updated:85 new meta
> [14:24:55.171613] process_track:1229 process track
> [14:24:55.174694] process_track:1253 browse track: ok
> 
and then it works. I $$$$ my username in the text above.

But squeezeserver goes through perl, so i'm not sure what user it would
be forking processes with.
I'm not sure why it's not running as root, or how to change that. 

*-pike


------------------------------------------------------------------------
pike's Profile: http://forums.slimdevices.com/member.php?userid=31739
View this thread: http://forums.slimdevices.com/showthread.php?t=79706

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to