Hugin;320364 Wrote: 
> For me it seems to work just fine to comment out the following line in
> the function _searchiTunesMac:
> > 
Code:
--------------------
  >   > #OSX iTunes seems to store some accented characters as 2 characters
  > #this function should recombine them
  > $fileLocation = Slim::Utils::Unicode::recomposeUnicode($fileLocation);
--------------------
> > 
> I have tested with the Norwegian letters (æøå).
> I suppose it could be more stable call recomposeUnicode for both
> $fileLocation and $iTunesLoc instead, but I have not played with
> that.
> I run everything on latest OS X 10.5 version, and iTunes 7.7.

OK, I decided to try for the suggested stable version... It works so
far (only one song attempted!) 
I added the line with the line:
$iTunesLoc = Slim::Utils::Unicode::recomposeUnicode($iTunesLoc);

Here's where I put it (which may not be the best, but seems to work):

                # modify iTunesLoc to match the location string
                $iTunesLoc =~ s/^alias "[^:]*:(.*)"$/$1/;
                $iTunesLoc =~ tr/:/\//;

                #OSX iTunes seems to store some accented characters as 2
characters
                #this function should recombine them
                $iTunesLoc =
Slim::Utils::Unicode::recomposeUnicode($iTunesLoc);     

                if ($prefs->get('ignore_filetype')){
                        #remove file extension


-- 
allanimal
------------------------------------------------------------------------
allanimal's Profile: http://forums.slimdevices.com/member.php?userid=2078
View this thread: http://forums.slimdevices.com/showthread.php?t=39128

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

Reply via email to