Bug 9002 - SC 7.1.0 not importing pre-existing MIP playlists.
: SC 7.1.0 not importing pre-existing MIP playlists.
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: MusicIP
: 7.1
: PC Windows XP
: P3 normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-02 23:26 UTC by John Keeling
Modified: 2009-09-08 09:27 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
The real deal: replace musicmagicplaylist with musicipplaylist (4.36 KB, patch)
2008-08-20 07:34 UTC, Michael Herger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Keeling 2008-08-02 23:26:17 UTC
I just upgraded SC 7.0.1 to SC 7.1.0 (on Win XP SP3). MIP 1.9
MIP Plugin checked.
Basic Settings/ Music Folder is blank.
Advanced/MIP/Reload Interval set to 0

SC 7.1.0 initiated a "Clear and Rescan" of my library as part of the upgrade.
It picked up all 29,000 tracks but did not find the playlists in MusicIP.
I restarted the computer, confirmed that I can create a MusicIP mix in
SqueezeCenter (in other words the MusicIP plugin works) and then initiated a
"rescan playlists only". Again the MusicIP playlists did not appear in
SqueezeCentre.

SC 7.0.1 picked up the playlists in MusicIP and called them "MusicIP: Playlist Name"

To demonstarte this bug this, make a mix in MIP and name it "Test Mix", then do a "Rescan playlists only". If you are running SC7.0.1 it will appear in playlists as "MusicIP: Test Mix". If you are running SC7.1.0 the playlist will not appear.

I upgraded a second system (in my wife's house) (WinXP SP3) from SC 7.0.1 to SC 7.1.0 and once more playlists in MIP were not picked up by the scan process.

The workaround is to save the playlists in MIP using the "Save as playlist"
function then do a "Rescan playlists only" in SC.

The Rescan Playlists Only is very fast, 15 seconds on my computer to rescan the playlists followed by 10 minutes of housekeeping. However Playlists can be viewed after the first step = i.e. 20 seconds after starting the rescan.

I have reported this via email to support SC 7.1.0 Not scanning MusicIP Playlists [Incident: 080730-001709]
Comment 1 Chris Owens 2008-08-04 09:36:10 UTC
QA to reproduce for 7.3
Comment 2 Michael Herger 2008-08-20 06:37:09 UTC
Renaming a product is a bad idea. We still have some issues of musicip vs. musicmagic. The following patch should fix the MIP playlist issue.

Index: /Users/mh/Documents/workspace/Boom/server/Slim/Schema/ResultSet/Playlist.pm
===================================================================
--- /Users/mh/Documents/workspace/Boom/server/Slim/Schema/ResultSet/Playlist.pm	(revision 22786)
+++ /Users/mh/Documents/workspace/Boom/server/Slim/Schema/ResultSet/Playlist.pm	(working copy)
@@ -97,7 +97,7 @@
 	
 			if ($prefs->get($importer)) {
 	
-				push @playlists, $Slim::Music::Info::suffixes{sprintf('%splaylist:', $importer)};
+				push @playlists, $Slim::Music::Info::suffixes{sprintf('%splaylist:', $importer eq 'musicip' ? 'musicmagic' : $importer)};
 			}
 		}
 	}

Chris - I'd like to consider this change for 7.2 (or at least 7.2.1).
Comment 3 Michael Herger 2008-08-20 07:34:47 UTC
Created attachment 3839 [details]
The real deal: replace musicmagicplaylist with musicipplaylist

The real solution to this problem is getting rid of some more musicmagic traces: rename the playlist type to musicipplaylist instead of musicmagicplaylist.
Comment 4 Chris Owens 2008-08-20 08:50:20 UTC
Is there a reason I can't figure out for this bug to be limited visibility?
Comment 5 Michael Herger 2008-08-21 03:28:27 UTC
Dean/Chris - are you ok adding this fix to 7.2? IMHO there are quite a few users out there who use MIP to create playlists in the MIP UI. 
Comment 6 Michael Herger 2008-08-21 10:51:20 UTC
change 22824 -  fix MIP playlist import. 

This is the quick fix. We'll have to do the real cleanup post 7.2.
Comment 7 Michael Herger 2008-08-22 04:45:44 UTC
change 22838 - change musicmagicplaylist to musicipplaylist (7.3 only)

Will have to review once 7.2 is fully merged. Will need one more change in Music::Info::isRemoteURL()
Comment 8 John Keeling 2008-08-28 21:28:58 UTC
I just upgraded to SC 7.2.0 and ran a "Rescan Playlists only" and the MIP playlists appeared in SC under playlists.
So, this is resolved as far as I'm concerned (but as 60 year old who started coding in IBM Assembler in the 1960s I can understand that this is a quick & dirty fix and the developers want to tidy it up).
Comment 9 Michael Herger 2008-09-29 03:53:19 UTC
thanks for the feedback
Comment 10 James Richardson 2008-12-15 12:05:48 UTC
This bug has been fixed in the 7.3.0 release version of SqueezeCenter!

Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already.  

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Comment 11 Chris Owens 2009-07-31 10:26:24 UTC
Reduce number of active targets for SC