PDA

View Full Version : SC7 Won't Save My Plug-In Settings



Mr_Smiley
2008-04-01, 19:19
I upraded to SC7 recently and loaded in my favorite plug-ins. I didn't think they were working, but after a while I realised they were working perfectly, but SC7 was not saving my plug-in setting changes. The result is that I can't get any new plug-ins working. It just keeps telling me they will start after the next restart. I also can't choose a playlist for iTunes Party Shuffle. SC7 says the changes are saved, but when I go to the settings again they are the same as they were. The only way I have the current plug-ins working is because they were in the plug-in folder when I did a re-install and they got picked up. Anybody have any ideas?

mherger
2008-04-01, 22:54
> I upraded to SC7 recently and loaded in my favorite plug-ins. I didn't
> think they were working, but after a while I realised they were working
> perfectly, but SC7 was not saving my plug-in setting changes. The
> result is that I can't get any new plug-ins working. It just keeps
> telling me they will start after the next restart.

Looking at server.log do you see messages about failure to write the
settings file? Can you find a state.prefs file on your disk?

Michael

Mr_Smiley
2008-04-02, 19:32
This might be a problem. Squeeze Center says my log file is at the following address:

C:\ProgramData\SqueezeCenter\Logs\server.log

I don't have a ProgramData folder anywhere.

FYI: I'm running Vista

mherger
2008-04-02, 23:10
> I don't have a ProgramData folder anywhere.

You do. But Microsoft has decided not to tell you. It's either displayed
under a different name (yes, they do this in Vista - $@#!) or simply
hidden. It's what was called "documents and settings" in XP. Paste that
path in the execute window and Vista should open it.

Michael

Mr_Smiley
2008-04-03, 08:43
Found it, thanks. Here's some exerts from the server log that have to do with plugins:

08-03-11 16:57:07.7968] Slim::Schema::Storage::dbh (47) Error: Unable to connect to the database - even tried restarting it twice!
[08-03-11 16:57:07.7971] Slim::Schema::Storage::dbh (48) Error: Check the event log for errors on Windows. Fatal. Exiting.
[08-03-11 16:57:55.1843] Slim::Utils::Misc::msg (1241) Warning:
[08-03-11 16:57:55.1847] Slim::Utils::Misc::msg (1241) Warning: Your data source needs to be configured. Please open your web browser,
[08-03-11 16:57:55.1851] Slim::Utils::Misc::msg (1241) Warning: go to the following URL, and click on the "SqueezeCenter Settings" link.

[08-03-11 16:36:12.2077] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 30
[08-03-11 16:36:42.3944] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 60
[08-03-11 16:37:42.5983] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 90
[08-03-11 16:37:48.7093] Slim::Utils::Misc::msg (1241) Warning: [16:37:48.7089] Use of uninitialized value in concatenation (.) or string at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Networking/SimpleAsyncHTTP.pm line 105.
[08-03-11 16:37:48.7103] Slim::Networking::Select::select (245) Error: Select task failed: Assert_Defined failed: Cache::BaseCache line 194
[08-03-11 16:39:03.0180] Slim::Utils::Misc::msg (1241) Warning: [16:39:03.0176] Use of uninitialized value in concatenation (.) or string at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Networking/SimpleAsyncHTTP.pm line 105.
[08-03-11 16:39:03.0187] Slim::Networking::Select::select (245) Error: Select task failed: Assert_Defined failed: Cache::BaseCache line 194
[08-03-11 16:39:12.6739] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 120
[08-03-11 16:39:56.4227] Slim::Networking::SqueezeNetwork::PrefSync::_syncU p_error (390) Sync Up failed: No such player: 00:04:20:06:2d:c0
[08-03-11 16:40:18.0374] Slim::Utils::Misc::msg (1241) Warning: [16:40:18.0366] Use of uninitialized value in concatenation (.) or string at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Networking/SimpleAsyncHTTP.pm line 105.
[08-03-11 16:40:18.0387] Slim::Networking::Select::select (245) Error: Select task failed: Assert_Defined failed: Cache::BaseCache line 194
[08-03-11 16:41:12.6575] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 150
[08-03-11 16:43:42.2592] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 180
[08-03-11 16:46:42.2100] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 210
[08-03-11 16:50:12.4897] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 240
[08-03-11 16:54:12.2129] Slim::Networking::SqueezeNetwork::PrefSync::_syncD own_error (260) Sync Down failed: No such player: 00:04:20:06:2d:c0, will retry in 270
[08-03-11 16:54:16.0638] Slim::Schema::Storage::throw_exception (67) Error: Error executing 'INSERT INTO playlist_track (playlist, position, track) VALUES (?, ?, ?)': DBD::mysql::st execute failed: Deadlock found when trying to get lock; try restarting transaction at C:\PROGRA~1\SQUEEZ~1\server\CPAN/DBIx/Class/Storage/DBI.pm line 771.
[08-03-11 16:54:16.0646] Slim::Schema::Storage::throw_exception (67) Backtrace:

This type of thig is repeated frequently. I have iTunes Update, Party Shuffle and Lazy Search plugins.

This is the contents of my state.pref file:

---
Plugins::LazySearch2::Plugin: 1
Plugins::iTunesPartyShuffle::Plugin: 1
Plugins::iTunesUpdate::Plugin: 1
Slim::Plugin::AudioScrobbler::Plugin: 1
Slim::Plugin::CLI::Plugin: 1
Slim::Plugin::DateTime::Plugin: 1
Slim::Plugin::DigitalInput::Plugin: 1
Slim::Plugin::Favorites::Plugin: 1
Slim::Plugin::Health::Plugin: 1
Slim::Plugin::InfoBrowser::Plugin: 1
Slim::Plugin::LMA::Plugin: 1
Slim::Plugin::Live365::Plugin: 1
Slim::Plugin::MP3tunes::Plugin: 1
Slim::Plugin::MusicMagic::Plugin: 1
Slim::Plugin::Pandora::Plugin: 1
Slim::Plugin::Picks::Plugin: 1
Slim::Plugin::Podcast::Plugin: 1
Slim::Plugin::PreventStandby::Plugin: 1
Slim::Plugin::RPC::Plugin: 0
Slim::Plugin::RS232::Plugin: 0
Slim::Plugin::RSSNews::Plugin: 1
Slim::Plugin::RadioIO::Plugin: 1
Slim::Plugin::RadioTime::Plugin: 1
Slim::Plugin::RandomPlay::Plugin: 1
Slim::Plugin::Rescan::Plugin: 1
Slim::Plugin::RhapsodyDirect::Plugin: 1
Slim::Plugin::SavePlaylist::Plugin: 1
Slim::Plugin::ShoutcastBrowser::Plugin: 1
Slim::Plugin::Slacker::Plugin: 1
Slim::Plugin::SlimTris::Plugin: 0
Slim::Plugin::Snow::Plugin: 0
Slim::Plugin::Sounds::Plugin: 1
Slim::Plugin::Visualizer::Plugin: 1
Slim::Plugin::iTunes::Plugin: 1
Slim::Plugin::xPL::Plugin: 0
_ts_Plugins::LazySearch2::Plugin: 1205275157
_ts_Plugins::iTunesPartyShuffle::Plugin: 1205979660
_ts_Plugins::iTunesUpdate::Plugin: 1205275157
_ts_Slim::Plugin::AudioScrobbler::Plugin: 1205271045
_ts_Slim::Plugin::CLI::Plugin: 1205271045
_ts_Slim::Plugin::DateTime::Plugin: 1205271045
_ts_Slim::Plugin::DigitalInput::Plugin: 1205271045
_ts_Slim::Plugin::Favorites::Plugin: 1205271045
_ts_Slim::Plugin::Health::Plugin: 1205271045
_ts_Slim::Plugin::InfoBrowser::Plugin: 1205271045
_ts_Slim::Plugin::LMA::Plugin: 1205271045
_ts_Slim::Plugin::Live365::Plugin: 1205271045
_ts_Slim::Plugin::MP3tunes::Plugin: 1205271045
_ts_Slim::Plugin::MusicMagic::Plugin: 1205271045
_ts_Slim::Plugin::Pandora::Plugin: 1205271045
_ts_Slim::Plugin::Picks::Plugin: 1205271045
_ts_Slim::Plugin::Podcast::Plugin: 1205271045
_ts_Slim::Plugin::PreventStandby::Plugin: 1205271045
_ts_Slim::Plugin::RPC::Plugin: 1205271045
_ts_Slim::Plugin::RS232::Plugin: 1205271045
_ts_Slim::Plugin::RSSNews::Plugin: 1205271045
_ts_Slim::Plugin::RadioIO::Plugin: 1205271045
_ts_Slim::Plugin::RadioTime::Plugin: 1205271045
_ts_Slim::Plugin::RandomPlay::Plugin: 1205271045
_ts_Slim::Plugin::Rescan::Plugin: 1205271045
_ts_Slim::Plugin::RhapsodyDirect::Plugin: 1205271045
_ts_Slim::Plugin::SavePlaylist::Plugin: 1205271045
_ts_Slim::Plugin::ShoutcastBrowser::Plugin: 1205271045
_ts_Slim::Plugin::Slacker::Plugin: 1205271045
_ts_Slim::Plugin::SlimTris::Plugin: 1205273952
_ts_Slim::Plugin::Snow::Plugin: 1205273952
_ts_Slim::Plugin::Sounds::Plugin: 1205271045
_ts_Slim::Plugin::Visualizer::Plugin: 1205271045
_ts_Slim::Plugin::iTunes::Plugin: 1205271045
_ts_Slim::Plugin::xPL::Plugin: 1205271045
_version: 0