Added two lines in Plugin.pm in the following for loops:

        for (my $j = 0; $j < $count; $j++) {

                my $newPath = 
Plugins::MusicMagic::Common::convertPath($songs[$j]);

                $::d_musicmagic && msg("MusicMagic: Original $songs[$j] : New
$newPath\n");

                push @mix, Slim::Utils::Misc::fileURLFromPath($newPath);
        }

to make:

        for (my $j = 0; $j < $count; $j++) {

                my $enc = Slim::Utils::Unicode::encodingFromString($songs[$j]);
                $songs[$j] = Slim::Utils::Unicode::utf8decode_guess($songs[$j],
$enc);

                my $newPath = 
Plugins::MusicMagic::Common::convertPath($songs[$j]);

                $::d_musicmagic && msg("MusicMagic: Original $songs[$j] : New
$newPath\n");

                push @mix, Slim::Utils::Misc::fileURLFromPath($newPath);
        }

It solves the MusicIP mix problem. Additional testing required to make
sure it does not break anything else.


-- 
Pierre
------------------------------------------------------------------------
Pierre's Profile: http://forums.slimdevices.com/member.php?userid=7726
View this thread: http://forums.slimdevices.com/showthread.php?t=28024

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

Reply via email to