Taiko2k / Tauon

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

[Feature request] Option to NOT split by album under certain circumstances #1119

Open rexendevar opened 2 months ago

rexendevar commented 2 months ago

I have several playlists which contain numerous single tracks from various albums. Tauon currently separates each album's worth of tracks with a line and a label which creates a lot of visual clutter in this situation: screenshot2024-04-05_01-02-31 I propose an option to intelligently detect when a playlist does not need to be split into albums, and instead when it should be listed out song by song with no divisions. I suspect this will take some tuning to get right, but I would start by counting out the number of tracks that are "on their own" (i.e., do not border any other tracks from the same album) and divide it by the number of tracks that are NOT on their own, then check whether the resulting value is above 1 (or some other constant that can be tuned later).

This would have to be recalculated as the playlist is re-sorted.

Taiko2k commented 2 months ago

Interesting proposal, I had not thought of doing that automatically when sorting. FYI though you can do this manually by pressing F1.

rexendevar commented 2 months ago

Ah, thank you, I ddn't realize that. Especially happy that it functions on a per-playlist basis.