Bug 14214 - Browse Musicfolder into non-latin file path fails on classic/boom
: Browse Musicfolder into non-latin file path fails on classic/boom
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 7.4.0
: Macintosh MacOS X 10.5
: P1 major (vote)
: 7.4.0
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-23 05:45 UTC by Michael Herger
Modified: 2009-10-05 14:26 UTC (History)
1 user (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2009-09-23 05:45:15 UTC
If I browse Music Folder into a folder containing an element with a non-latin character in its name, SB3/Classic/Boom would go blank screen with the following message:

[09-09-23 14:44:09.1324] Slim::Display::Display::curLines (489) Error: bad lines function: Cannot decode string with wide characters at /System/Library/Perl/5.8.8/darwin-thread-multi-2level/Encode.pm line 166.
[09-09-23 14:44:09.1333] Slim::Display::Graphics::render (114) Error: bad lines function - non hash based display formats are deprecated
Comment 1 Michael Herger 2009-09-23 05:45:37 UTC
web & squeezeplay are fine browsing the same folder
Comment 2 Michael Herger 2009-09-23 05:54:15 UTC
Removal of the utf8on() call fixes this on both OSX and Windows

Index: BrowseTree.pm
===================================================================
--- BrowseTree.pm	(revision 28607)
+++ BrowseTree.pm	(working copy)
@@ -340,10 +340,8 @@
 		$client->modeParam('winShortcuts')->{$item->url} = $name if $name;
 	}
 
-	return Slim::Utils::Unicode::utf8on( 
-		Slim::Music::Info::fileName(
-			$client->modeParam('winShortcuts')->{$item->url} || $item->url 
-		)
+	return Slim::Music::Info::fileName(
+		$client->modeParam('winShortcuts')->{$item->url} || $item->url 
 	);
 }
Comment 3 SVN Bot 2009-09-23 06:10:38 UTC
 == Auto-comment from SVN commit #28611 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=28611 ==

Fixed Bug: 14214
Description: remove call to utf8on()
Comment 4 James Richardson 2009-10-05 14:26:09 UTC
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server!
    * SqueezeCenter: 28672
    * Squeezebox 2 and 3: 130
    * Transporter: 80
    * Receiver: 65
    * Boom: 50
    * Controller: 7790
    * Radio: 7790  

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.