Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-22 Thread jmack

Thanks Erland 

I managed to get the squeezecenter directory. Now all I have to do is
try to figure out how to transfer the prefs to Windows Home Server.

There must be some threads on that. 

jmack


-- 
jmack

jmack's Profile: http://forums.slimdevices.com/member.php?userid=8748
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-21 Thread erland

jmack;509136 Wrote: 
> My Windows computer will not recognize the Ubuntu drive so I figure the
> only way to retrieve my settings is to run Ubuntu from a CD. That way, I
> figure I will be able to get the files I need. 
> 
> What files should I be looking for?
> 
All the settings are in the "prefs" directory. If you have a standard
Ubuntu installation you will find them in either:
/var/lib/squeezeboxserver/prefs
or
/var/lib/squeezecenter/prefs

I'm not sure where the corresponding prefs directory is stored on
Windows.

For TrackStat, as mentioned earlier in the thread, an option is to make
a TrackStat backup on Linux from inside the TrackStat settings page.
Open up the backup xml file in a text editor and start to replace the
paths so they matches the new path on Windows.

For the rest of my plugins there is some directory parameters in each
plugins setting page. Their configuration xml file are stored in these
directories.

Remember that any paths configured in the setting page will have to be
re-configured on the Windows installation since Windows have a different
disk/catalog structure.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-21 Thread jmack

I have a similar but opposite problem. I had a linux server which just
failed. Now I am trying to transfer all my music & settings to a server
running Microsoft Home Server; I know, I know. I have most of Erland's
fantastic plugins that I also want to migrate. I don't think I have
musicbrainz ids & I have no way to add them on the linux drive.

My Windows computer will not recognize the Ubuntu drive so I figure the
only way to retrieve my settings is to run Ubuntu from a CD. That way, I
figure I will be able to get the files I need. 

What files should I be looking for?

Thanks


-- 
jmack

jmack's Profile: http://forums.slimdevices.com/member.php?userid=8748
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-17 Thread erland

el_jefe;507386 Wrote: 
> 
> However, when I try to restore the backup on the Linux installation, it
> doesn't work. It looks like it finishes the import, it doesn't spit out
> any error, but the info is just not there. 
> 
> Am I doing something wrong?
> 
- You have to perform a full rescan on the Linux installation before
you try to perform the restore.
- The restore happens in the background, so you need to check in the
server.log file when it's finished.
- If the paths are incorrect, the restore might take long time unless
you set the "Find alternative files" setting to "no" in the
TrackStat/Backup settings page.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-17 Thread el_jefe

erland;507382 Wrote: 
> There are a number of ways to do it:
> 1. Make sure you have musicbrainz id tags in your music files, if you
> do a TrackStat backup on Windows will be possible to restore on Linux.
> If you don't already have musicbrainz id's in your music you will need
> to perform a full rescan on the Windows machine after you have added the
> tags and before you perform the TrackStat backup.
> 

Wow, this is what I call lightning fast reply! :-) Thanks!

I do have MusicBrainz tags in most of my songs. There are some albums
which are not in the MusicBrainz database so they don't have its IDs,
but 95% should. Here's how my XMLs look like from the Windows trackstat
backup:


Code:


  
file%3A%2F%2F%2FK%3A%2FAlbums%2FLuciano%2520Pavarotti%2FPavarotti%2520%26%2520Friends%2F12%2520Live%2520Like%2520Horses.flac
 16964620-f1a3-4408-ab3c-8e28c1d7d16e 6 1254676431 1241834165 100   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F01%2520Train.mp3
 1251507979   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F02%2520Citizen_Soldier.mp3
 1251507687   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F03%2520It%2527s%2520Not%2520My%2520Time.mp3
 1251508136   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F04%2520Let%2520Me%2520Be%2520Myself.mp3
 1251507541   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F05%2520Pages.mp3
 1 1255941980 1251507264   
file%3A%2F%2F%2FK%3A%2FAlbums%2F3%2520Doors%2520Down%2F3%2520Doors%2520Down%2F06%2520It%2527s%2520the%2520Only%2520One%2520You%2527ve%2520Got.mp3
 1251508763
  



However, when I try to restore the backup on the Linux installation, it
doesn't work. It looks like it finishes the import, it doesn't spit out
any error, but the info is just not there. 

Am I doing something wrong?


-- 
el_jefe

el_jefe's Profile: http://forums.slimdevices.com/member.php?userid=32427
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-17 Thread erland

el_jefe;507361 Wrote: 
> 
> I want to migrate all plugin data and settings from the old
> installation, but most importantly trackstat. I tried importing one of
> the automatic backup XML files to Squeezebox, but it didn't work. I
> assume it is because of the path that the references use, but I don't
> know how to change it.
> 
There are a number of ways to do it:

1. Make sure you have musicbrainz id tags in your music files, if you
do a TrackStat backup on Windows will be possible to restore on Linux.
If you don't already have musicbrainz id's in your music you will need
to perform a full rescan on the Windows machine after you have added the
tags and before you perform the TrackStat backup.

2. Open up the XML file in a text editor and start correcting the paths
before you perform the restore on the Linux machine. Please note that
the path's are url encoded so if the paths are very different on Linux
this can be quite a bit of work. If it's just the beginning of the path
that are different the "replace all" functionality of your text editor
should work fairly good.

3. Use an external storage and the TrackStat import/export modules
provided through Custom Scan plugin. You can use iTunes, MusicIP and
possibly Amarok as external storages. Perform an export to the external
storage on the Windows machine and perform an import on the Linux
machine. Please note that this solution will only restore the rating,
play count and last played information, it will not restore the
historical information which is also handled by TrackStat.

I really recommend solution 1, after you have musicbrainz tags in the
files this kind of conversions will be a lot easier in the future.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Migrating trackstat data from Windows to Linix

2010-01-17 Thread el_jefe

Hi guys!

I need some help migrating my trackstat data from a Windows
installation of Squeezeboxserver to openSUSE 11.3. I searched the forums
for information on this, but all I found were 2-3 short threads, which
didn't provide much information.

My music is located on an external 3.5" HDD, which I connect to a
laptop. The laptop was running Windows 7 until recently, but I have
decided to migrate to openSUSE 11.3. I've installed squeezeboxserver on
it and all plugins I need through the web interface.

I want to migrate all plugin data and settings from the old
installation, but most importantly trackstat. I tried importing one of
the automatic backup XML files to Squeezebox, but it didn't work. I
assume it is because of the path that the references use, but I don't
know how to change it.

Any ideas?


Thanks in advance!


-- 
el_jefe

el_jefe's Profile: http://forums.slimdevices.com/member.php?userid=32427
View this thread: http://forums.slimdevices.com/showthread.php?t=74160

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins