Bug 411 - multiple artists tags break on details page
: multiple artists tags break on details page
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 5.x or older
: All All
: P2 normal (vote)
: ---
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-06-26 12:32 UTC by Lee Essen
Modified: 2008-12-18 11: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 Lee Essen 2004-06-26 12:32:58 UTC
When using the multple artists capability (which is excellent!) you cannot 
correctly follow the "artist" link on any of the track detail pages. 
 
The artist link is not split, so in this particular case I have a tag which is 
"Brian Ferry;Roxy Music", this works fine on the artist list, you see both 
independently, however when you look at a track you see "Brian Ferry;Roxy 
Music" and then clicking on that fails, since this is actaully two different 
artists. 
 
I suspect the link will need to be split into multiple different ones to keep 
consistency.
Comment 1 Lee Essen 2004-06-29 06:55:02 UTC
Here is a sample implementation of a fix ... I'm sure it's not the best way to 
do it ... and it doesn't use the configured "split" characters, but I'm sure 
someone can fix it up. 
 
*** songinfo.html       Tue Jun 29 14:58:40 2004 
--- songinfo.html.orig  Tue Jun 29 14:12:04 2004 
*************** 
*** 36,58 **** 
          <td class="nowrap">[% "TITLE" | string %][% "COLON" | string %]</td> 
          <td> [% title | html %] </td> 
        </tr> 
!       [% IF artist %] 
!       [% PERL %] 
!               # 
!               # Prepare the artist list... 
!               # 
!               my $artist = $stash->get( "artist" ); 
!               my @list = split( /;/, $artist ); 
!               $stash->set( "artistlist", \@list ); 
!               $stash->set( "lastartist", $list[$#list] ); 
!       [% END %] 
        <tr> 
          <td class="nowrap"> [% "ARTIST" | string %][% "COLON" | string 
%]</td> 
!         <td> 
!       [% FOREACH aindex = artistlist %] 
!               <a href="browseid3.html?genre=*&amp;artist=[% aindex | uri 
%]&amp;player=[% player | uri %]" target="browser">[% aindex | html %]</a> 
!               [% IF lastartist != aindex %] &nbsp;/&nbsp; [% END %] 
!       [% END %] 
          </td> 
        </tr> 
        [% END %] [% IF composer %] 
--- 36,45 ---- 
          <td class="nowrap">[% "TITLE" | string %][% "COLON" | string %]</td> 
          <td> [% title | html %] </td> 
        </tr> 
!       [% IF artist %] 
        <tr> 
          <td class="nowrap"> [% "ARTIST" | string %][% "COLON" | string 
%]</td> 
!         <td> <a href="browseid3.html?genre=*&amp;artist=[% artist | uri 
%]&amp;player=[% player | uri %]" target="browser">[% artist | html %]</a> 
          </td> 
        </tr> 
        [% END %] [% IF composer %] 
 
Comment 2 Blackketter Dean 2004-08-12 09:15:01 UTC
Vidur, I expect that your database work will point towards a different (and more
elegant solution, no?)
Comment 3 Blackketter Dean 2005-03-11 14:28:12 UTC
Dan says fixed for 6.0.  Please confirm and reopen if not fully addressed.
Comment 4 Chris Owens 2008-12-18 11:53:34 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.