PDA

View Full Version : playlists snafu



pipspeak
2007-12-16, 21:27
I'm having a problem with playlists. Despite deleting various playlists from my HDD and doing a full rescan of my entire library, the slimserver library still identifies all the old playlists that were deleted.

In addition, if I ever make any modifications to a playlist (such as deleting the odd track) then the next time I access the playlist through slimserver it show up as "modified" and completely empty. This is despite the fact I DID NOT svae the playlist again after my minor on-the-fly mods last time and despit the fact that the playlist works fine in other music apps.

Why is slimserver finding it so hard to deal with playlists? And how can I "reset" the library so it's no longer seeing these phantom lists? Thanks.

Siduhe
2007-12-17, 03:14
I'm having a problem with playlists. Despite deleting various playlists from my HDD and doing a full rescan of my entire library, the slimserver library still identifies all the old playlists that were deleted.

In addition, if I ever make any modifications to a playlist (such as deleting the odd track) then the next time I access the playlist through slimserver it show up as "modified" and completely empty. This is despite the fact I DID NOT svae the playlist again after my minor on-the-fly mods last time and despit the fact that the playlist works fine in other music apps.

Why is slimserver finding it so hard to deal with playlists? And how can I "reset" the library so it's no longer seeing these phantom lists? Thanks.

A few more details please? What OS are you running, what version of Slimserver, is your music stored on the same hard disk as Slimserver or via a network drive?

Also, are you using ITunes or MusicIP to populate your Slimserver database?

Couple of immediate thoughts - assume you have tried doing a playlist only rescan with the same results? Also assume that you have tried searching your entire system for any copies or shortcuts to the deleted playlists with no luck?

Has Slimserver got the right file permissions for the playlists? If you're on Linux, user "slimserver" requires read/write permission for playlists.

Have you tried deleting the cache directory and allowing Slimserver to build a complete new database (how you do this will depend on which OS you are using)?

My wild stab in the dark would be that you have two issues - invalid links somewhere on your hard drive to playlists that you have deleted, and there is something about the way you are modifing the playlists on the fly which Slimserver doesn't like - for example, Slimserver requires absolute playlist paths, not relative.

If you open up the playlists in a text editor like Wordpad, what is the file path? Is it the same as the file path for your music folder as Slimserver / SqueezeCenter sees it? If the playlist doesn't reference your files the same way that Slimserver does (i.e. it says d:/Music/Song.mp3 and Slimserver sees your library as //Media/Music/Song.mp3, they won't play. If that is the problem, just manually edit the playlists (find and replace) to change the file path.

The bit I'm not quite clear on is where you say that you haven't saved the playlist after on-the-fly mods - is this in Slimserver or using another application? If you do that with a test playlist (that works) and then navigate to the actual file, has the date/time modified stamp changed?

leakkypuppy
2007-12-17, 09:15
I'm having the same problem, my transporter has stale Playlist information (from iTunes). I'm running slimserver on the same computer that exports my iTunes music and I've done a few rescans of playlists only. I've searched my computer for old playlists and find them only in ~/Music/iTunes/iTunes Library.xml

System config:

SqueezeCenter Version: 7.0 - 15340 - Mac OS X 10.5.1 (9B18) - EN - utf8

Siduhe
2007-12-17, 09:58
Itunes playlist integration comes up quite regularly and it does appear to be a bit of a dark art. If you can only see the playlists in an old version of Itunes.xml (and you're confident you've entered the right version of the .xml file in the Slimserver interface - do check!) then I would blow the Slimsever cache away and try to rebuild a fresh database.

I don't use Itunes so can't give a great deal of help beyond that, but from the FAQ and the Wiki:


If you've moved your iTunes music files around, iTunes can export incorrect information about the songs in its library. You'll need to make sure that iTunes has the correct folder for your music library. Visit the iTunes Preferences and click on Advanced. If the path to your Music Library folder is incorrect, you'll need to fix it. If it is correct, try changing it to a different folder and then change it back to the correct folder. iTunes will then update the paths to all your music and export that data correctly. (This process won't move any of your music, but it will force iTunes to scan your music library and update the paths to all the songs.)

One other problem that Mac users might encounter is that under Panther, external drives don't automatically get mounted at startup time until the user logs in. This means that if you don't have automatic logon turned on and you keep your music on an external drive, the SlimServer won't be able to find your music files. One way to get around this is to set SlimServer to start at login. Another, more complicated, solution is listed here.

If this doesn't resolve your problem, iTunes might get confused if you changed the "Keep Music Folder Organized" or "Add Track Number" settings in iTunes. Try changing them and then changing them back to have iTunes update the correct information about your music files.


Some Windows users have successfully fixed their problems in this area by stopping the SlimServer service and running slim.exe, performing a library scan and then reverting to the SlimServer service. [but why would this help?]

Other people have reported they can get their iTunes playlists to show by reinputting the location of their iTunes Music Library .xml file in Server Settings->iTunes->iTunes Music Library.xml Location. It is also worth checking that you are using the correct file path for your iTunes Music Library file. Some people have reported finding two or more versions on their hard drive. If you cannot get playlists to work, search for all .xml files and try inputting each of them in turn at Server Settings->iTunes->iTunes Music Library.xml Location