Triode wrote: 
> This just means that an unnamed subroutine called the logging command
> (ie.autonomous)
> 
> I believe it is likely to be a permissions or related issue - you may be
> able to try creating a script in the place of the binary and then
> running that.  Get the script to log the errors it gets running the
> binary.

okay.... I made a wrapper and put in place of spotifydhf...here is what
I did

moved spotifydhf to spotifydhf.bin
copied spotifydhf.conf to spotifydhf.bin.conf

created a script called spotifydhf (chmod'ed to 755)

Code:
--------------------
    
  #! /bin/bash
  exec > /tmp/spotify.scr 2>&1
  set -x
  
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf.bin
 &
  
--------------------


Interesting that the process is running, although not sure how
slimserver process running as user lms spawns a process running as
root..........

Code:
--------------------
    
  root     17633  0.0  0.0   6272  1212 ?        Sl   15:24   0:00 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf.bin
  
--------------------


But slimserver still thinks that it failed

Code:
--------------------
    
  [14-03-08 15:24:05.1943] main::init (369) Starting Logitech Media Server 
(v7.8.0, TRUNK, UNKNOWN) perl 5.014002
  [14-03-08 15:24:07.5086] Plugins::Spotify::Plugin::BEGIN (43) using server 
XMLBrowser
  [14-03-08 15:24:07.5806] Plugins::Spotify::Spotifyd::_writeConfig (196) wrote 
config file: 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf.conf
  [14-03-08 15:24:07.5825] Plugins::Spotify::Spotifyd::__ANON__ (91) starting 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf 
/opt/slimserver/Logs/spotifyd.log
  [14-03-08 15:24:08.3313] Plugins::Spotify::ProtocolHandler::BEGIN (34) 
Working with existing handler: 
  [14-03-08 15:24:08.6312] Plugins::Spotify::Spotifyd::__ANON__ (110) 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf:
 failed
  [14-03-08 15:24:08.6342] Plugins::Spotify::Spotifyd::_writeConfig (196) wrote 
config file: 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf.conf
  [14-03-08 15:24:08.6354] Plugins::Spotify::Spotifyd::__ANON__ (91) starting 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf
 /opt/slimserver/Logs/spotifyd.log
  [14-03-08 15:24:09.6768] Plugins::Spotify::Spotifyd::__ANON__ (110) 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydnoflachf:
 failed
  
--------------------


Contents of the tmp file created

Code:
--------------------
    
  + 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf.bin
  [15:17:03.558582] main:428 
/opt/slimserver/Cache/InstalledPlugins/Plugins/Spotify/Bin/arm-linux/spotifydhf.bin
 2.3.3 started ( libspotify: 12.1.103.gd51f6226 Release 
linux-armv6-bcm2708hardfp )
  
--------------------


But when I go to the settings page for spotify and run the self test, it
is running and passes all tests.


------------------------------------------------------------------------
paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
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