The position item in the infowindow won't work if you navigate away from the infowindow change your selection then navigate back. Or if you open the infowindow from the browse/library etc tab. I think we need to add a function to the Playlist Buffer that returns the positions for a given song instead. If we are only using it for this window it won't matter if we have to search the entire list to get the positions. And we can cache it in the infowindow and only update it if the song's reference count changes if we have to, rather than searching the playlist every time print is called. Something like that.
The position item in the infowindow won't work if you navigate away from the infowindow change your selection then navigate back. Or if you open the infowindow from the browse/library etc tab. I think we need to add a function to the Playlist Buffer that returns the positions for a given song instead. If we are only using it for this window it won't matter if we have to search the entire list to get the positions. And we can cache it in the infowindow and only update it if the song's reference count changes if we have to, rather than searching the playlist every time print is called. Something like that.