Bug 14758 - Music not mixable if no music folder, but only iTunes import is enabled
: Music not mixable if no music folder, but only iTunes import is enabled
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: MusicIP
: 7.4.1
: PC Windows XP
: -- normal (vote)
: 7.4.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-13 15:47 UTC by jonathan
Modified: 2009-10-22 11:23 UTC (History)
3 users (show)

See Also:
Category: Bug


Attachments
Scanner log (10.90 MB, text/plain)
2009-10-14 03:42 UTC, jonathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonathan 2009-10-13 15:47:47 UTC
As described in http://forums.slimdevices.com/showthread.php?t=57959, Apple Lossless files are not being picked up by MusicIP plugin as mixable, despite being mixable in MusicIP itself.

It appears from http://forums.slimdevices.com/showpost.php?p=469878&postcount=8 that the Squeezebox Server database is recording these files as content_type='m4p' rather than 'm4a'.
Comment 1 Michael Herger 2009-10-13 21:57:44 UTC
m4p is DRM protected data which can't be read by SBS. Could you please update a sample file if you consider it not to be DRMed?
Comment 2 Michael Herger 2009-10-13 21:59:56 UTC
Oh, that forum entry actually says mp4, not m4p - not quite the same
Comment 3 Michael Herger 2009-10-13 22:50:47 UTC
Jonathan - could you please enable scanner debugging and run a scan. Then attach the resulting scanner.log to this bug. This should tell us what SBS is doing with those files.
Comment 4 jonathan 2009-10-14 03:42:17 UTC
Created attachment 6117 [details]
Scanner log
Comment 5 jonathan 2009-10-14 03:47:10 UTC
(In reply to comment #2)
> Oh, that forum entry actually says mp4, not m4p - not quite the same

Sorry for the typo. Definitely affects non-DRM tracks
Comment 6 Michael Herger 2009-10-14 04:15:44 UTC
Don't you have a music folder defined?

It looks like you don't. And you've set MusicIP to only check mixable  
status. As MIP is scanned before iTunes, the MIP scan will not find any  
file in the DB at all. Is this correct?
Comment 7 jonathan 2009-10-14 06:21:23 UTC
No music folder specified in line with help which says "You can leave this field blank if you are importing your music library information from iTunes or MusicIP."

Does look from the scanner log like MusicIP couldn't find any tracks - number of tracks not found roughly tallies with total number of tracks now in database.

Nevertheless, all Radiohead tracks are showing in SBS as capable of being MusicIP mixed. I ripped these long ago as MP3s.

I'll try adding a music library folder and see if that makes a difference.
Comment 8 jonathan 2009-10-14 07:06:41 UTC
(In reply to comment #6)
> Don't you have a music folder defined?
> 
> It looks like you don't. And you've set MusicIP to only check mixable  
> status. As MIP is scanned before iTunes, the MIP scan will not find any  
> file in the DB at all. Is this correct?

OK. So setting a music folder now results in the non-DRM Apple Lossless files being mixable - thanks. Suggest that some help somewhere is updated to make clear that importing mixable status only requires a scan to have taken place first so a music library needs to be specified. Alternatively can the iTunes and MusicIP scans be swapped to avoid a need for a folder scan?
Comment 9 SVN Bot 2009-10-15 08:15:12 UTC
 == Auto-comment from SVN commit #28868 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=28868 ==

Fixed Bug: 14758
Description: make sure we do the MusicIP scan last. Otherwise it wouldn't mark iTunes imported tracks as mixable
Comment 10 jonathan 2009-10-17 08:46:06 UTC
(In reply to comment #9)
> Fixed Bug: 14758
> Description: make sure we do the MusicIP scan last. Otherwise it wouldn't mark
> iTunes imported tracks as mixable

That works perfectly, thanks very much!

Jonathan
Comment 11 James Richardson 2009-10-22 11:23:35 UTC
This bug has been marked as fixed in the 7.4.1 release version of SqueezeBox
Server! 

Please see the Release Notes for all the details:
http://wiki.slimdevices.com/index.php/Release_Notes

If you haven't already, please download and install the new version from
http://www.logitechsqueezebox.com/support/download-squeezebox-server.html

If you are still experiencing this problem, feel free to reopen the bug with
your new comments and we'll have another look.