jmshrv / finamp

A Jellyfin music client for mobile
Mozilla Public License 2.0
1.88k stars 124 forks source link

[Feature Request] - Play songs in order from the SONGS tab #502

Open pepega-h opened 1 year ago

pepega-h commented 1 year ago

The default behavior on Jellyfin Server or Windows Web Client when playing music from the Songs tab is to load and play each song in the order in which they are displayed.

On Finamp, if i go to SONGS and play a song, it only loads the selected song. To play the next song in the list, i have to go back to select it.

Is it possible to make Finamp behave in the same way as the server in regard to the above?

Chaphasilor commented 1 year ago

This has been bugging me for a while as well. The problem with that is that there are people with huge media libraries (I've heard of 300.000+ tracks), so it's not as simple as just fetching all tracks.

A possible solution could be only fetching the next X songs by default, and fetching new songs if the queue gets smaller than Y songs. While that would work for the most part, it's not so easy to implement, especially for fetching the tracks before the selected/current track.
The current solution implemented in #484 is to instead start an Instant Mix from the selected track, but I agree that it's not as nice.

Another problem is toggling shuffle on and off, because that would require to either fetch the whole library or to re-fetch tracks every time shuffle is toggled. Otherwise playback is either not truly shuffled, or not truly linear (tracks would be missing in-between when shuffle is off).

If anyone can think of a better solution I'd love to hear and implement it!

I-G-1-1 commented 11 months ago

I'm also missing this feature.. I always listen to the songs last added to the collection just starting the first one in the songs tab with songs ordered by "added date", but it's not possible with Finamp at the moment

jmshrv commented 10 months ago

Finamp used to work this way - I might change it back (or add an option) since it seems that more people expect the songs tab to play everything linearly.

Chaphasilor commented 10 months ago

How do you plan to approach this? Feishin (rewrite of Sonixd) works this way, and whenever I play/shuffle all my songs I have to wait 30-60s until playback actually starts, which isn't a great experience. That's with 17k tracks. Maybe we could load an initial page and then load all remaining items afterwards? We would need to prepend/append the remaining tracks to the queue, but that seems doable with the new queue system!