Bug 5218 - iTunes playlists scanned but not visible in interface
: iTunes playlists scanned but not visible in interface
Status: CLOSED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: iTunes
: 7.0
: PC Windows XP
: P2 normal (vote)
: 7.x
Assigned To: Spies Steven
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-08-04 06:49 UTC by James Craig
Modified: 2012-02-27 17:33 UTC (History)
6 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2007-08-04 06:49:50 UTC
The scanner/itunes importer is scanning my playlists, but they are not available in SlimServer - the 'playlists' menu shows only the single playlist that I have outside of iTunes.
Below is the start/end of playlist scanning from the log, but these playlists never show up:

[14:01:20.5998] Slim::Plugin::iTunes::Importer::handleEndElement (568) Starting playlist parsing, cleared old playlists
[14:01:21.5610] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 10379 on to list: file:///E:/!!!/!!!%20vs%20LFO/Me%20And%20Giuliani%20Down%20By%20The%20Schoolya.mp3
[14:01:21.5621] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 8445 on to list: file:///E:/Phoenix/12%27%27/_If%20I%20Ever%20Feel%20Better%20I%27ll%20Go%20To%20Th.mp3
[14:01:21.5630] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 11105 on to list: file:///E:/iTunes/Jaga%20Jazzist/_What%20We%20Must_%204%20Radio%20Edits/04%20Oslo%20Skyline.mp3
[14:01:21.5639] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 4204 on to list: file:///E:/Skylab/%231/01%20River%20Of%20Bass.mp3
[14:01:21.5648] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 10578 on to list: file:///E:/Fischerspooner/%231/02%20The%2015th.mp3
[14:01:21.5664] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 4205 on to list: file:///E:/Skylab/%231/02%20Seashell.mp3
[14:01:21.5673] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 4784 on to list: file:///E:/Fischerspooner/%231/03%20Emerge.mp3

....skipped many lines...

[14:10:48.4832] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 12261 on to list: file:///E:/iTunes/Nouvelle%20Vague/Bande%20A%20Part/The%20Killing%20Moon.mp3
[14:10:48.4841] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 7647 on to list: file:///E:/MC5/Kick%20Out%20The%20Jams/08%20Starship.m4a
[14:10:48.4851] Slim::Plugin::iTunes::Importer::handleCharElement (531) Pushing 10298 on to list: file:///E:/Underworld/Bootleg%20Babies/05%20Dark%20Train.mp3
[14:10:48.4859] Slim::Plugin::iTunes::Importer::handleEndElement (615) Got a playlist array of 42 items.
[14:10:48.4907] Slim::Plugin::iTunes::Importer::handlePlaylist (434) Got a playlist (itunesplaylist:skipped) named skipped
[14:10:49.0468] Slim::Plugin::iTunes::Importer::handlePlaylist (448) Playlist now has 42 items.
[14:10:49.0497] Slim::Plugin::iTunes::Importer::startScan (180) Finished scanning iTunes XML
[14:10:49.8281] Slim::Plugin::iTunes::Importer::doneScanning (190) Finished Scanning
[14:10:49.8289] Slim::Plugin::iTunes::Importer::doneScanning (194) Scan completed in 2206 seconds.
[14:10:49.8661] Slim::Music::Import::endImporter (548) Completed Slim::Plugin::iTunes::Importer Scan in 2208 seconds.
Comment 1 James Craig 2007-08-04 06:50:32 UTC
Same iTunes library/playlists work fine in SlimServer 6.5
Comment 2 James Craig 2007-09-02 13:18:12 UTC
I did a bit more investigation (hence the change in bug title)
I suspect the reason the iTunes playlists can't be found is because the iTunes importer adds the playlists to the database with the contentType 'itu'. However the interface has been designed to only show playlists (in 'browse playlists') with contentType 'ssp'. There's a comment in the scanner that explains why only 'ssp' shows up in the interface.
	# With the special url if the playlist is in the
	# designated playlist folder. Otherwise, Dean wants
	# people to still be able to browse into playlists
	# from the Music Folder, but for those items not to
	# show up under Browse Playlists

In the current configuration it's not possible to find the iTunes playlists anywhere in SlimServer, so 
I think that the iTunes importer should use contentType 'ssp' so that they show up in browse playlists.

(You could change the interface to check both 'ssp' and 'itu' but this seems like a more complex change)
Comment 3 Chris Owens 2007-09-18 12:54:28 UTC
Dean this looks like the result of a conversation you had with Dan.  Is this behavior what you had in mind?
Comment 4 Blackketter Dean 2007-09-18 13:16:27 UTC
Chris: were you able to reproduce this problem?
Comment 5 Chris Owens 2007-09-19 10:20:01 UTC
Steven, would you reproduce this so Dean can see?  Thanks.
Comment 6 Spies Steven 2007-09-19 10:54:49 UTC
I'll take a look.
Comment 7 Spies Steven 2007-09-19 11:29:36 UTC
I see the same iTunes playlist issue with SlimServer 7 on Mac OS X.  SlimServer 6.5.x works fine.  Who should this be assigned to?
Comment 8 KDF 2007-09-21 14:14:14 UTC
fixed at change 13197
please reopen if there are any issues.

problem appears to have actually been a prefs namespace problem. The getPlaylists() call in ResultSet/Playlist was looking in server prefs for itunes or musicmagic to be enabled.  The prefs for each are in their own namespace.
Comment 9 Chris Owens 2008-03-07 09:05:11 UTC
This bug is being closed since it was resolved for a version which is now released!  Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html

If you are still seeing this bug, please re-open it and we will consider it for a future release.
Comment 10 Philippe Wiede 2008-05-10 08:51:59 UTC
Jeeze, folks, you have apparently introduced this bug again in the latest beta 7.1. At least here on my Mac OS X station. Just downloaded the latest build due to severe rescan problems with the 7.01 version, restarted, installed and did a completely new iTunes database scan. Thankfully, the scan went along without problems but, unlike previous versions and as mentioned, the iTunes playlists do not show up in the SqueezeCenter Home menu nor in the Library statistics. Nothing to detect in log files. The scan details state: iTunes Playlist Import (72  of  72) Complete 00:02:50. 

That's a rather annoying bug, my friends, and up to now I have yet to come by an official MacOSX SlimServer or SqueezeCenter version without more or less significant issues hindering the user experience. Thanks for fixing this soon.
Comment 11 Blackketter Dean 2008-05-10 09:03:13 UTC
Steven: can you reproduce with 7.0.1?
Comment 12 Spies Steven 2008-05-12 13:53:47 UTC
(In reply to comment #11)
> Steven: can you reproduce with 7.0.1?

Have not been able to reproduce with 7.0.1, moving on to 7.1

Comment 13 Spies Steven 2008-05-12 16:28:36 UTC
I have not been able to reproduce with 7.1 either upgrading from 7.0.1 or installing 7.1 fresh.  I tested using Mac OS X 10.4.11.

I did notice an issue where I was not able to enable or disable plugins with the classic skin but it worked fine with the default skin.  I may open another bug about that.

Philippe, can you verify that the iTunes plugin is still activated for you? You can check by going to Settings then iTunes and make sure Use iTunes option is checked.  If it is you may want to stop SqueezeCenter and do a complete uninstall and reinstall.  You will have to do a full scan afterward unfortunately.

To uninstall on Mac OS X remove the following once the SqueezeCenter is stopped:
-  Home > Library > Application Support > SqueezeCenter Folder
-  Home > Library > PreferencePanes > SqueezeCenter.prefPane
-  Home > Library > Caches > SqueezeCenter folder
-  Home > Library > Preferences > com.slim.*
-  Macintosh HD > Library > PreferencePanes > SqueezeCenter.prefPane (may or
may not exist)
Comment 14 James Richardson 2008-06-04 10:41:28 UTC
We are unable to reproduce this error any more, please reopen if you see the problem happen with 7.0.1
Comment 15 Chris Owens 2009-07-31 10:14:30 UTC
Reduce number of active targets for SC
Comment 16 James Richardson 2012-02-27 17:33:25 UTC
Closing resolved bugs - if you feel this bug still exists please first re-test
with the latest SW/FW version.  If you are able to reproduce then feel free to
reopen and attach new logs / steps to reproduce.