Bugzilla – Bug 881
Alphabetic inconsistencies
Last modified: 2008-08-18 10:53:01 UTC
I have done a clean installation of 28 Feb build, on Windows XP, deleting previous installation directories In "Browse Artists" I get a strange rendition of the alphabet, with a Z and L after the L A B C D E F G H I J K L Z L M N O P Q R S T U V W X Y Z Also, I get the artist "�ico Saquito" at the end of the "A"s This is with the Default skin and Fishbone in Internet Explorer on XP and Mozilla on linux.
Bart - if you wouldn't mind, could you attach your slimserversql.db file to this bug? Thanks.
I tried to attach it but got "Error - The file you are trying to attach is 12786 kilobytes (KB) in size. Non-patch attachments cannot be more than 10000KB. If your attachment is an image, try converting it to a compressable format like JPG or PNG, or put it elsewhere on the web and link to it from the bug's URL field or in a comment on the bug." so I have put it at: https://www.bris.ac.uk/fluff/u/ecbjm/FMCMkOQcmxKit0cQOEPTuAcJ/
Bart - I've checked in the fix for this as subversion change 2272. Thanks for the bug report - keep them comming!
The spurious letters in the alphabet are fixed, great, but get the artist "�ico Saquito" still appears at the end of the "A"s
Bart - is it possible to upload a track from that artist to the bug, or via the fluff service? Thanks.
I have uploaded 05_-_A_Orillas_Del_Cauto by �ico Saquito to https://www.bris.ac.uk/fluff/u/ecbjm/jeZVN6R2yPGEkpLob77khAcL/
Created attachment 301 [details] Test version of Slim::Utils::Text Bart - Could you try this version of Slim/Utils/Text.pm ? Also - I've attached a program that will print out your current locale. If you could run it in a command prompt with ActiveState perl, that'd be great. Thanks.
Created attachment 302 [details] Windows Locale program.
locale: cp1252
I have 03 March build on XP I put that version of Slim/Utils/Text.pm into C:\Program Files\SlimServer\server\Slim\Utils, deleted the cache, reimported the data. It still shows "�ico Saquito" at the end of the "A"s
Bart - are you using NTFS or FAT32 for your filestore? Or is it over a network share?
It is NTFS and it is across a network share.
And the network share is Samba? What version?
No, it is not on a Samba share. The files are on an NTFS volume on an XP machine. The directory they are in is shared and I map a drive to it from another XP machine, where I am currently running Slimserver. My linux machine is not currently running Slimserver but I aim to put it on there when everything settles down. Isn't this the same bug as 993?
Yes and no. That bug is more that we're not normalizing the MU character. This bug is that the encoding is incorrect when it's stored in the database, and therefore isn't normalized properly.
I am importing the data from MusicMagic. Would it help if I turned off MusicMagic, wiped the cache and let Slimserver rescan?
Bart - that'd be great. If you could upload the DB again as well. Thanks.
On my XP machine I wiped the cache, turned off MusicMagic and let Slimserver read from the music directory. When it had finished �ico Saquito was in the "N"s, not at the end of the "A"s I also ran 6.0b1 on linux, without MusicMagic. It also put �ico Saquito in the "N"s, not at the end of the "A"s I uploaded the before and after databases from the XP machine: database where I imported from MusicMagic https://www.bris.ac.uk/fluff/u/ecbjm/2qVCgR2lERPI6BZ0r4384QcT/ database where I turned off MusicMagic and let Slimserver read the music directory https://www.bris.ac.uk/fluff/u/ecbjm/BzL2QvNPl8Bg_GnJdvPRsgcT/
Bart - this appears to be a MusicMagic bug. I'll work with them to get it fixed, and am investigating a workaround in SlimServer. Thanks.
Created attachment 328 [details] Test version of MMM Plugin Bart - could you replace your Plugins/MusicMagic/Plugin.pm file with this one, and rescan with MMM on? Thanks.
line 447 of this test plugin is wrong: if (Slim::Utils::OSDetect::OS() eq 'win' && $initialized =~ /1\.1\.4$/); needs to be: if (Slim::Utils::OSDetect::OS() eq 'win' && $initialized =~ /1\.1\.4$/) {
Created attachment 331 [details] Fixed test version of MusicMagic/Plugin.pm
The new Plugin.pm fixed the sorting bug, �ico Saquito is now in the "N"s. In the web interface if I browse to �ico Saquito and click on the MM symbol to make a MusicMagic mix it returns an empty page - the logfile shows: http://localhost:10002/api/mix?artist%3D%C3%91ico% 20Saquito&variety=0&style=0&sizetype=tracks&size=12 2005-03-13 09:46:56.8294 Musicmagic Error - Couldn't get mix: artist%3D%C3% 91ico%20Saquito&variety=0&style=0&sizetype=tracks&size=122005-03-13 09:47:01.9359 browsedb - hierarchy: artist,album,track level: 0 On the Squeezebox if I browse to �ico Saquito and click on the MM symbol to make a MusicMagic mix it crashes the server - the logfile shows: 2005-03-13 10:22:23.5650 Musicmagic request: http://localhost:10002/api/mix? album%3D%C3%91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25 2005-03-13 10:22:23.5737 Musicmagic Error - Couldn't get mix: album%3D%C3% 91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25Can't use string ("0") as an ARRAY ref while "strict refs" in use at C:/Program Files/SlimServer/server/Plugins/MusicMagic/Plugin.pm line 784.
Ok - I'll take a look. This will be a whole lot easier once MMM itself is fixed.
Created attachment 333 [details] 2nd Test version of changed MMM Plugin Bart - I've updated the plugin again - could you give it a try? No need to rescan.
Copied the attachment to C:\Program Files\SlimServer\server\Plugins\MusicMagic\Plugin.pm Restarted Slimserver Navigated to �ico Saquito, clicked on MM/held "Play" Still fails to return a MusicMagic mix, but does not crash the server if invoked from the Squeezebox From the web interface: 2005-03-13 22:52:26.6945 Musicmagic request: http://localhost:10002/api/mix? album%3D%C3%91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25 2005-03-13 22:52:26.7036 Musicmagic Error - Couldn't get mix: album%3D%C3% 91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=252005-03-13 22:52:32.4459 DBI: Supressing periodic commit - no dirty items From the Squeezebox: 22:54:58.5904 Musicmagic request: http://localhost:10002/api/mix?album%3D%C3% 91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25 2005-03-13 22:54:58.5993 Musicmagic Error - Couldn't get mix: album%3D%C3% 91ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=252005-03-13 22:55:02.6561 DBI: Supressing periodic commit - no dirty items
Is my geography way out or are Mountain View CA and Monrovia CA pretty close?
They are not close. About 360 miles / 5 hours away. http://maps.google.com/maps?q=from%3A%20Mountain%20View%2C%20CA%20to%3A%20Monrovia%2C%20CA&hl=en
Created attachment 334 [details] Try number 3 of MMM Plugin. Again, no rescan is needed.
That seems to have done it - makes a MusicMagic mix from both the web interface and the Squeezebox. 2005-03-14 07:35:08.1631 mp3 file type for http://localhost:10002/api/mix? album%3D%D1ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25 2005-03-14 07:36:03.1266 Musicmagic request: http://localhost:10002/api/mix? album%3D%D1ico%20Saquito%40%40The%20Music%20of% 20Cuba&variety=0&style=0&sizetype=tracks&size=25 360 miles is a long way!
It is. I imagine we'll head down there, or they'll come up here at some point to meet. Checked in as subversion change 2477. Closing this bug.