morberg;414742 Wrote:
> Update: Now when I got something working I soon stumbled on a problem
> when a file name contains accented characters
(Also the '&' character in album/song names didn't work.)
I think I found this one too. There are two occurences in the code with
this construction (one around line 665 and one at 1065):
Code:
--------------------
my $mytitle = SaveMyCurrentTrack($client,$song);
# Strip and Store played track Latin1 format
my $element = getMIPPath($client, $mytitle);
refreshCube(); # Check settings
my $mypageurl = buildMIPReq($client, $mytitle); #
Routine to get MIP settings and build MIP request
$track = SendtoMIPSync($client,$mypageurl);
--------------------
If you replace that with:
Code:
--------------------
my $mytitle = SaveMyCurrentTrack($client,$song);
# Strip and Store played track Latin1 format
my $element = getMIPPath($client, $mytitle);
refreshCube(); # Check settings
my $mypageurl = buildMIPReq($client, *$element*);
# Routine to get MIP settings and build MIP request
$track = SendtoMIPSync($client,$mypageurl);
--------------------
accented characters and '&' will work. This one seems like it should've
been a problem across operating systems.
--
morberg
------------------------------------------------------------------------
morberg's Profile: http://forums.slimdevices.com/member.php?userid=8757
View this thread: http://forums.slimdevices.com/showthread.php?t=49226
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins