For what it's worth (and for others looking to transfer settings to
another server) I had some success.

I used SettingsManager to copy the settings to a custom group.  Grabbed
them out of SettingsManager.prefs and massaged them a bit in a text
editor so they looked like:

Code:
--------------------
    array(
  'plugin.datetime::dateFormat' => '%a |%d %b %Y',
  'plugin.datetime::dateformat' => '%a, %b |%d, %Y',
  'plugin.datetime::timeformat' => '',
  'plugin.datetime::timeFormat' => '|%I:%M',
  'plugin.dontstopthemusic::provider' => 'PLUGIN_SPOTTY_RECOMMENDATIONS',
  'plugin.musicinfo::plugin_musicinfo_alarm' => 0,
  'plugin.musicinfo::plugin_musicinfo_alt_volume' => '',
  'plugin.musicinfo::plugin_musicinfo_center_dbl_A_size' => '',
  'plugin.musicinfo::plugin_musicinfo_center_dbl_A' => 'NOTHING',
  ...
  ...
  'plugin.musicinfo::plugin_musicinfo_center_dbl_OFF_size' => 'full.2')
--------------------


I then pasted that text info an online JSON encoder at
http://json_encode.onlinephpfunctions.com/

If the text was correct it would create a result like:

Code:
--------------------
    {"plugin.datetime::dateFormat":"%a |%d %b 
%Y","plugin.datetime::dateformat":"%a, %b |%d, 
%Y","plugin.datetime::timeformat":"","plugin.datetime::timeFormat":"|%I:%M","plugin.dontstopthemusic::provider":"PLUGIN_SPOTTY_RECOMMENDATIONS","plugin.musicinfo::plugin_musicinfo_alarm":0,"plugin.musicinfo::plugin_musicinfo_alt_volume":"","plugin.musicinfo::plugin_musicinfo_center_dbl_A_size":"","plugin.musicinfo::plugin_musicinfo_center_dbl_A":"NOTHING","plugin.musicinfo::plugin_musicinfo_center_dbl_OFF_size":"full.2"}
--------------------


I could then paste that into the Import Settings field on Settings
Manager on the NEW server and import the settings to the player.

There were certain setting strings that wouldn't encode correctly, so
I've manually copied those as were appropriate. eg:

Code:
--------------------
    'plugin.spotty::enableSpotifyConnect' => undef,
  
  'server::apps' => {'sounds' => {'title' => 
'PLUGIN_SOUNDS_MODULE_NAME','home_menu' => 1,'plugin' => 
'Slim::Plugin::Sounds::Plugin','type' => 'opml','icon' => 
'/static/images/icons/icon_nature_sounds.png','url' => 
'/api/sounds/v1/opml'},'deezer' => {'icon' => 
'/static/images/icons/deezer.png','url' => '/api/deezer/v1/opml','title' => 
'PLUGIN_DEEZER_MODULE_NAME','home_menu' => 1,'plugin' => 
'Slim::Plugin::Deezer::Plugin','type' => 'opml'},'nonsn_spotty' => {'plugin' => 
'Plugins::Spotty::Plugin'},'radiotime' => {'url' => 
'http://opml.radiotime.com/Index.aspx?username=kidhazy&partnerId=16','icon' => 
'/static/images/icons/tuneinradio.png','type' => 'opml','home_menu' =>  
0,'title' => 'PLUGIN_RADIOTIME_MODULE_NAME'},'nonsn_lastmix' => {'plugin' => 
'Plugins::LastMix::Plugin'}},
  
  'server::alarms' => {},
  
--------------------


------------------------------------------------------------------------
kidhazy's Profile: http://forums.slimdevices.com/member.php?userid=42259
View this thread: http://forums.slimdevices.com/showthread.php?t=109113

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

Reply via email to