*** Slim/Music/Info.pm.old Mon Feb 2 22:22:50 2004 --- Slim/Music/Info.pm Tue Feb 3 00:42:11 2004 *************** *** 229,234 **** --- 229,235 ---- # also get the album, performer and title sort information $MP3::Info::v2_to_v1_names{'TSOA'} = 'ALBUMSORT'; $MP3::Info::v2_to_v1_names{'TSOP'} = 'ARTISTSORT'; + $MP3::Info::v2_to_v1_names{'XSOP'} = 'ARTISTSORT'; $MP3::Info::v2_to_v1_names{'TSOT'} = 'TITLESORT'; # get composers *************** *** 2770,2775 **** --- 2771,2782 ---- return @uniq[sort {$noarts[$a] cmp $noarts[$b]} 0..$#uniq]; } + sub getSortName { + my $item = shift; + return exists($sortCache{matchCase($item)}) ? $sortCache{matchCase($item)} : $item; + + } + 1; __END__ *** Slim/Web/Pages.pm.old Tue Feb 3 00:44:03 2004 --- Slim/Web/Pages.pm Tue Feb 3 00:43:13 2004 *************** *** 1611,1617 **** $end = -1; for (my $j = 0; $j < $itemcount; $j++) { ! my $curLetter = anchor($$itemsref[$j], $ignorearticles); if ($lastLetter ne $curLetter) { --- 1611,1617 ---- $end = -1; for (my $j = 0; $j < $itemcount; $j++) { ! my $curLetter = anchor(Slim::Music::Info::getSortName($$itemsref[$j], $ignorearticles); if ($lastLetter ne $curLetter) {