hgd icon indicating copy to clipboard operation
hgd copied to clipboard

Anti flooding with the same track.

Open jonentropy opened this issue 14 years ago • 5 comments

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

jonentropy avatar Sep 18 '11 17:09 jonentropy

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 [email protected] 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

egelmex avatar Sep 18 '11 17:09 egelmex

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.

vext01 avatar Sep 18 '11 20:09 vext01

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

jonentropy avatar Sep 26 '11 09:09 jonentropy

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 [email protected] wrote:

i

egelmex avatar Sep 26 '11 09:09 egelmex

or that.

On 26 September 2011 10:30, Martin Ellis [email protected] 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 [email protected] wrote:

i

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

jonentropy avatar Sep 26 '11 09:09 jonentropy