>If you like to find helping the problem, the bug is probably somewhere
>inside the following file:
>DynamicPlaylist/HTML/EN/plugins/DynamicPlayList/mixerlink65.html
>
>Or in the mixerlink function in this perl file:
>DynamicPlaylist/Plugin.pm
>
I did a bit of poking around, but don't really understand what's happening.

I added some extra logging in the mixerlink function, and can see it gets 
called once for each track (gets the correct details), and then once for the 
album (gets the album details).

I can see that on the page, the track mixer links have the album context and 
album id, and the album mixer link is the same.

In the mixerlink65.html template file, I can see that if I remove the code that 
takes a copy of items into tmpitems and replaces it with mixeritems, then it 
populates each of the track mixer links correctly, but not the album context 
mixer link.

I had a look at trackstat code, as this adds a "currenttrackstatitem=<track 
id>" item for each track mixer link, but not for the album mixer link.  It 
seems to pass an additional parameter, so there is some conditional logic in 
the template file.  I tried to do something equivalent, but can't get the new 
item to be populated in the template.

I think "Browse by Selected" mixer has the same issue - this links to the 
Custom Browse album, rather than the selected song (unless this is 
intentional?).

Phil
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to