Bug 1139 - swedish character in filename
: swedish character in filename
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Streaming From SlimServer
: 6.0.0
: PC Windows (legacy)
: P1 normal with 1 vote (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-21 10:06 UTC by Nalle Johansson
Modified: 2008-08-18 10:53 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nalle Johansson 2005-03-21 10:06:53 UTC
When having ��� in filename on slimserver the server will play another (next?) 
song in the playlist. Is will show the right song (.mp3) in the display with 
many ???? instead of the right character.

I have tested all versions from 6 to tha latest beta 6.1 b3.

In version 5.4.1 everything works fine
Nalle
Comment 1 Vidur Apparao 2005-03-22 15:39:53 UTC
This may be related to our writing out .m3u files for the player Now Playing
list. The .m3u files are being written out and read in using the current locale.
This may mess up high-bit characters that don't map to the locale. This seems to
be the case in Windows. When we reload the .m3u file, we get a bogus filename
and can often get errors such as:

Use of uninitialized value in substitution iterator at C:\Projects\slim-svn\trun
k\trunk\server\CPAN/URI.pm line 76, <GEN6> line 10.
DBD::SQLite::st execute failed: column url is not unique(1) at dbdimp.c line 401
 at C:\Projects\slim-svn\trunk\trunk\server\CPAN/DBIx/ContextualFetch.pm line 51
, <GEN6> line 10.
2005-03-22 14:31:31.0439 Backtrace:

   frame 0: Slim::DataStores::DBI::DBIStore::newTrack (C:/Projects/slim-svn/trun
k/trunk/server/Slim/DataStores/DBI/DBIStore.pm line 486)
   frame 1: Slim::DataStores::DBI::DBIStore::updateOrCreate (C:/Projects/slim-sv
n/trunk/trunk/server/Slim/Formats/Parse.pm line 97)
   frame 2: Slim::Formats::Parse::_updateMetaData (C:/Projects/slim-svn/trunk/tr
unk/server/Slim/Formats/Parse.pm line 141)
   frame 3: Slim::Formats::Parse::readM3U (C:/Projects/slim-svn/trunk/trunk/serv
er/Slim/Formats/Parse.pm line 52)
   frame 4: Slim::Formats::Parse::parseList (C:/Projects/slim-svn/trunk/trunk/se
rver/Slim/Utils/Scan.pm line 627)
   frame 5: Slim::Utils::Scan::readList (C:/Projects/slim-svn/trunk/trunk/server
/Slim/Utils/Scan.pm line 121)
   frame 6: Slim::Utils::Scan::addToList (C:/Projects/slim-svn/trunk/trunk/serve
r/Slim/Control/Command.pm line 863)
   frame 7: Slim::Control::Command::execute (C:/Projects/slim-svn/trunk/trunk/se
rver/Slim/Player/Client.pm line 904)
   frame 8: Slim::Player::Client::startup (C:/Projects/slim-svn/trunk/trunk/serv
er/Slim/Player/Player.pm line 149)
   frame 9: Slim::Player::Player::init (C:/Projects/slim-svn/trunk/trunk/server/
Slim/Player/SqueezeboxG.pm line 48)
   frame 10: Slim::Player::SqueezeboxG::init (C:/Projects/slim-svn/trunk/trunk/s
erver/Slim/Player/Squeezebox2.pm line 133)
   frame 11: Slim::Player::Squeezebox2::init (C:/Projects/slim-svn/trunk/trunk/s
erver/Slim/Networking/Slimproto.pm line 337)
   frame 12: Slim::Networking::Slimproto::process_slimproto_frame (C:/Projects/s
lim-svn/trunk/trunk/server/Slim/Networking/Slimproto.pm line 236)
   frame 13: Slim::Networking::Slimproto::client_readable (C:/Projects/slim-svn/
trunk/trunk/server/Slim/Networking/Select.pm line 115)
   frame 14: Slim::Networking::Select::select (slimserver.pl line 606)
   frame 15: main::idle (slimserver.pl line 549)
   frame 16: main::main (slimserver.pl line 1111)

2005-03-22 14:31:31.0860 Couldn't create track for file:///C:/Documents%20and%20
Settings/vidur/My%20Documents/My%20Music/Buena%20Vista%20Social%20Club/07%20-%20
Omara%20Portuondo%20-%20Veinte%20A%3F%C3%C2%B1os.mp3 : Can't insert new Slim::Da
taStores::DBI::Track: DBD::SQLite::st execute failed: column url is not unique(1
) at dbdimp.c line 401 at C:\Projects\slim-svn\trunk\trunk\server\CPAN/DBIx/Cont
extualFetch.pm line 51, <GEN6> line 10.
 at C:/Projects/slim-svn/trunk/trunk/server/Slim/DataStores/DBI/DBIStore.pm line
 399
Comment 2 Nalle Johansson 2005-03-27 03:31:47 UTC
When updating to latest nightly 27 mars 2005 - The swedish songs can be played 
as it should in my test labb with just one player. 
My big system with 11 players is downgraded to 5.4.1 in hold of a stable 6.x

Nalle