vext01 / hgd

Hackathon Gunther Daemon :: Opensource Multi-User Jukebox
http://hgd.theunixzoo.co.uk
ISC License
22 stars 10 forks source link

Anti flooding with the same track. #86

Open jonentropy opened 13 years ago

jonentropy commented 13 years ago

At the moment, a user can have a maximum number of tracks in the queue, but if Sav gets any madder, we could conceivably end up with 5 copies of the seagulls sound effects in the queue at the same time.

Could it be possible to limit the number of the same track submitted by any one user (in the queue obviously, people might want to queue something from earlier in the day later on).

Tris

egelmex commented 13 years ago

We could do something, but it would be very easy to get around. I think we will leave this as a case when VO/skip is usful.

On Sun, Sep 18, 2011 at 6:16 PM, Tristan Linnell reply@reply.github.com wrote:

At the moment, a user can have a maximum number of tracks in the queue, but if Sav gets any madder, we could conceivably end up with 5 copies of the seagulls sound effects in the queue at the same time.

Could it be possible to limit the number of the same track submitted by any one user (in the queue obviously, people might want to queue something from earlier in the day later on).

Tris

Reply to this email directly or view it on GitHub: https://github.com/vext01/hgd/issues/86

vext01 commented 13 years ago

How would you detect if a track is the same? I reccommend an admin command "rm", which removes from the future playlist, however, this will not be in 0.5.0.

jonentropy commented 13 years ago

The track would be deemed the same if it has the same filename and filesize.

egelmex commented 13 years ago

A better bet would be to hash the track and discard if the hashes match.

On Mon, Sep 26, 2011 at 10:29 AM, Tristan Linnell reply@reply.github.com wrote:

i

jonentropy commented 13 years ago

or that.

On 26 September 2011 10:30, Martin Ellis reply@reply.github.com wrote:

A better bet would be to hash the track and discard if the hashes match.

On Mon, Sep 26, 2011 at 10:29 AM, Tristan Linnell reply@reply.github.com wrote:

i

Reply to this email directly or view it on GitHub: https://github.com/vext01/hgd/issues/86#issuecomment-2196404