Oh well, I went and fixed it, for the time being and for the Windows
official 7.3 release (24282). The bug was just overlooking a minimal
change needed for Windows.

So now we can enjoy the faster speed of using the Music Folder scan and
only checking MusicIP for mixable status again on Windows installations.
*-I urge the developers to please check the modification and see if it
won’t break Linux or MacOS installations—thank you! (Of
course it would also be nice to integrate it into the next version
…)-*

File to be changed on a typical Windows installation:
C:\PROGRAM
FILES\SQUEEZECENTER\SERVER\SLIM\PLUGIN\MUSICMAGIC\IMPORTER.PM
Here’s the -diff- against the 7.3-24282 version of -Importer.pm-:

Code:
--------------------
    
  297c297,305
  <                     my $pathEnc = Slim::Utils::Misc::escape($path);
  ---
  >       # take care that MusicIP API will understand paths on Windows too
  >       # TODO: someone please check if this breaks Linux or MacOS
  >                     my $pathEnc = Slim::Utils::Unicode::utf8on($path);
  >                     if ($isWin) {
  >                             $pathEnc = URI::Escape::uri_escape($pathEnc);
  >                     } else {
  >                             $pathEnc = Slim::Utils::Misc::escape($pathEnc);
  >                     }
  >                     $pathEnc = 
Slim::Utils::Unicode::utf8encode_locale($pathEnc);
  
--------------------


Procedure:
  
- Stop SqueezeCenter and the SqueezeTray application.
- Apply patch (if you don&#8217;t know how to do that, you probably
  shouldn&#8217;t!).
- Modify any one of your files using non-ASCII file paths (i.e.
  "\path\Grönemeyer, Herbert\&#8230;").
- Start SqueezeCenter again.
- Go to "Settings/Advanced/Logging" and set logging for
  (plugin.musicip) to "Debug". Thus you can verify what happens in
  SC&#8217;s scanner log file later on.
- Go to "Settings/Basic Settings" and do a Rescan "Look for new and
  changed music". (That was sufficient in my case, it -may- be that you
  need to do a "Clear library and rescan everything" but I don&#8217;t
  really think so.)
- Check your scanner log.
- Check if titles that weren&#8217;t mixable before (the »M« symbol)
  are now mixable.
- Set logging for the MusicIP plugin back to "Error".
  

This works fine on -my- Windows/XP-SP2 installation of SC v7.3-24282
but of course I can&#8217;t take any responsibilities or warranty
whatsoever. So if you try this out, it&#8217;s entirely on your own
risk. Please make a backup of at least the old -Importer.pm- file.

If you&#8217;re unsure, -don&#8217;t do this- but wait for some release
that handles it.


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)
------------------------------------------------------------------------
Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=55833

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to