Taiko2k / Tauon

The music player of today! :city_sunrise:
https://tauonmusicbox.rocks
GNU General Public License v3.0
1.82k stars 73 forks source link

Proposal: option to sync tracklist and gallery #903

Open davquar opened 1 year ago

davquar commented 1 year ago

Hi and thanks for this amazing player 👍🏼

It would be very nice to have an option to enable/disable syncing the scroll position of the tracklist and gallery views.

As of now, the two views are independent, hence scrolling one does not change the other view; instead if would be nice if the first album cover displayed matched the first album displayed in the tracklist.

For example, consider this image:

immagine

@Taiko2k what do you think about this?

Solarunit commented 1 year ago

Syncing the scroll position of the tracklist and gallery views would work only if nothing is playing in this playlist I assume? I'm not sure, I use a big cover-art view 99% of time.

BTW I like that concept image :+1:

Taiko2k commented 1 year ago

Its doable, though, in the concept image, A2 tracks show, but imagine if you had A3 on the same row, then those tracks wouldn't fit, so I'm not sure if such a mode makes sense in that regard.

davquar commented 1 year ago

Syncing the scroll position of the tracklist and gallery views would work only if nothing is playing in this playlist I assume? I'm not sure, I use a big cover-art view 99% of time.

It would also work when something is playing

Its doable, though, in the concept image, A2 tracks show, but imagine if you had A3 on the same row, then those tracks wouldn't fit, so I'm not sure if such a mode makes sense in that regard.

In my idea if you had A3 (gallery view) on the same row as A1,A2, the first set of tracks displayed in the tracklist would remain the same as shown in the concept. Did I correctly understand the situation you pointed out?

I wasn't really thinking of making the content of the two views exactly match, but more of letting them move together, so you know that the tracks you have on the left, are somewhere in the albums displayed on the right.

glu8716 commented 1 year ago

In my opinion instead of syncing scrolling I'd find useful to highlight the album that contains the track you clicked on in the list and redirect the gallery view to that album in case it's not visible in the current space. Basically what happens when you are in shuffle mode and click "next track". When we click on an album the tracks list gets automatically redirected to the one of the album. We should have the same behavior by clicking the track. Maybe two different colors could be used to highlight, so that we have the currently playing album highlighted with one color, and the album of the track we manually selected with a second color.

EDIT: oh, and by the way, this should be the default behavior also when the next track plays without having clicked on the button, because at the moment only the tracks list is redirected to the currently playing track, while the album view is not.