G2 icon indicating copy to clipboard operation
G2 copied to clipboard

"Hard" and "soft" time limits

Open brownan opened this issue 14 years ago • 1 comments

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.

brownan avatar Oct 25 '10 23:10 brownan

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.

andrzej-bieniek avatar Jul 03 '11 22:07 andrzej-bieniek