otter icon indicating copy to clipboard operation
otter copied to clipboard

Listen history is being duplicated

Open AMoonRabbit opened this issue 4 years ago • 0 comments

Describe the bug

I have noted that as playback continues in a session, Otter will eventually start duplicating submissions to Funkwhale for listening history. This can sometimes result in the same song being listed 5 times in the listening history for just a single play.

How to reproduce

  1. Play any radio and leave the app in the background
  2. Use other apps whilst playback is in progress
  3. Maybe allow the phone to sleep a few times too during playback
  4. Check back on Otter
  5. Check listening history on Funkwhale front page.

These steps are not a confirmed method of reproducing the issue, they are just a guideline based on the actions I had taken when I noted this peculiarity.

Expected behavior

App should only submit 1 listen unless the song is restarted.

Screenshots

Screenshot_20200920-103033 Screenshot_20200920-103046 Screenshot_20200920-103103

Environment details

  • Device: Pixel 4
  • Android version: Android 11
  • App version: 1.0.21-19-300cc54-develop
  • If public Funkwhale instance, its URL: music.amoonrabbit.reisen

Logs

No logs

AMoonRabbit avatar Sep 20 '20 09:09 AMoonRabbit