# Playcount doesn't increase when looping over a single song in the queue

**URL:** <http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914>\
**Category:** Support\
**Tags:** fixed\
**Created:** [April 28, 2023, 2:13pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914 "2023-04-28T14:13:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![upsuper](http://support.symfonium.app/user_avatar/support.symfonium.app/upsuper/32/1342_2.png) [@upsuper](http://support.symfonium.app/u/upsuper)\
**Post date:** [April 28, 2023, 2:13pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914/1 "2023-04-28T14:13:46Z")

</div>

## Issue description:

1. pick a song and tap three dots on it to open the menu
2. tap play the song
3. open the playing interface, and switch the mode to loop all
4. wait for the song to start playing the second time
5. switch back the mode to not looping
6. wait until the song finishes playing

The playcount only bumps for the second play. If I keep looping many times, all of those would be counted. Also if I cancel the looping too late in the second play, that play may not be counted either.

## Logs:

[debug.log](http://support.symfonium.app/uploads/short-url/s0YlzyexmqHRnm9ef15tH1m9wFt.log) (692.2 KB)

(To be honest I don’t think you really need the log here. Your log contains lots of information, and all your log are not obscured, nor does the forum restrict downloading attachments. This feels like a huge privacy hole to me.)

## Screenshots:

## Additional information:

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [April 28, 2023, 2:38pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914/2 "2023-04-28T14:38:29Z")

</div>

The logs are redacted and are mandatory. Users can send them by mail or via PM.

> If I keep looping many times, all of those would be counted.

I suppose you forget a not ?

---

<div class="post-metadata">

**Author:** ![upsuper](http://support.symfonium.app/user_avatar/support.symfonium.app/upsuper/32/1342_2.png) [@upsuper](http://support.symfonium.app/u/upsuper)\
**Post date:** [April 28, 2023, 3:03pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914/3 "2023-04-28T15:03:40Z")

</div>

> [@Tolriq](#):
>
> The logs are redacted

I briefly scanned the log and I can see at least the server address, song id, name, etc. are all included in the log file so I’m not very convinced that it’s redacted, or at least not redacted enough…

> [@Tolriq](#):
>
> I suppose you forget a not ?

Right, they are not counted.

---

<div class="post-metadata">

**Author:** ![upsuper](http://support.symfonium.app/user_avatar/support.symfonium.app/upsuper/32/1342_2.png) [@upsuper](http://support.symfonium.app/u/upsuper)\
**Post date:** [April 28, 2023, 3:06pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914/4 "2023-04-28T15:06:12Z")

</div>

> [@Tolriq](#):
>
> Users can send them by mail or via PM.

The template message doesn’t mention that… That should probably be the default, or maybe it’s better just restrict downloading by default?

---

<div class="post-metadata">

**Author:** ![Tolriq](http://support.symfonium.app/user_avatar/support.symfonium.app/tolriq/32/726_2.png) [@Tolriq](http://support.symfonium.app/u/Tolriq)\
**Post date:** [April 28, 2023, 3:17pm UTC](http://support.symfonium.app/t/playcount-doesnt-increase-when-looping-over-a-single-song-in-the-queue/1914/5 "2023-04-28T15:17:13Z")

</div>

Because PM are blocked by default until some delays. And users usually directly send by mail the issue itself.

There’s no function to block attachement downloads in discourse except from non logged users that is already enabled.

The IPs are necessary to debug, song id, names of the songs also of course … I can’t match anything without those.  
All tokens, login, password are redacted, the rest is necessary to be able to debug anything.

I searched and never found a self hosted, secure open source, solution that would allow users to easily upload files, generate link that only me would be able to see but them too to delete if they upload something they did not meant too. And with auto cleanup after some configurable delays + security against abuse and content filtering.

If know something that does all that or can code one then I’m all ears.
