G2
G2 copied to clipboard
"Hard" and "soft" time limits
In addition to the current limit on the number of songs on the playlist, I want to define time limits as well:
Hard limit: A user can never occupy more than this many minutes of song time on the playlist
Soft limit: A user may add a song that causes their total time to exceed this limit, but they cannot add any more songs after that.
The reasoning is, if a user adds a 2 hour mix, they shouldn't be able to add any more songs. However, a user should still be able to add several shorter songs (up to a limit). The hard limit could be something like 2 hours, and the soft limit could be more like 30 or 45 minutes.
I think only hard limit would be useful, to give a fair change to everyone. 'Soft limit' is kind of similar to PLAYLIST_MAX which is already implemented.