Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Playback count is wrong #623

Open
KingDuckZ opened this issue Nov 10, 2017 · 13 comments
Open

Playback count is wrong #623

KingDuckZ opened this issue Nov 10, 2017 · 13 comments
Labels
in: external cooperation Issues in the external Services (Lastfm, lyrics, LDAP, etc). status: waiting-for-feedback The replication have not been confirmed yet. Or no implementer or no PRs or tips to solve yet. type: bug A general bug, or suspect a bug.Gray phenomena are bugs. However, there are not always enough clues.

Comments

@KingDuckZ
Copy link

Problem description

Album playback count shown in the webapp is wrong. It seems to go up by 3 each time a song is played, though some times this number changes.

Steps to reproduce

  • Add an album to your Airsonic and navigate to it in the webapp
  • Note that the counter at the top should either say "played 0 times" or not be there at all (this is inconsistent but I've seen both cases)
  • Click on the button to play all songs
  • Wait for the first song to finish, then when the second song starts click on the album being played on the right, so that the album page gets reloaded
  • See how the playback count has gone to 3 (or some other number, but not 1)
  • Repeat with the following songs to see the counter quickly going to very high numbers

System information

  • Airsonic version: 10.0.1
  • Operating system: ArchLinux-ARM on Odroid-C2
  • Proxy server: both with a direct connection to the Airsonic server and through nginx
  • Client: Firefox 52.4 on Gentoo

Additional notes

As discussed on IRC

@jooola jooola added the issue label Nov 11, 2017
@stale
Copy link

stale bot commented Jul 29, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale This label will be removed soon label Jul 29, 2018
@KingDuckZ
Copy link
Author

Actually I'm still waiting for a fix. Once again, this makes the counter completely useless as it just shows a random number.

@stale stale bot removed the stale This label will be removed soon label Jul 29, 2018
@stale
Copy link

stale bot commented Sep 6, 2019

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale This label will be removed soon label Sep 6, 2019
@KingDuckZ
Copy link
Author

Is it really useful to have this stupid thing threatening to close random unsolved bugs?

@stale stale bot removed the stale This label will be removed soon label Sep 9, 2019
@Lokke
Copy link

Lokke commented Oct 9, 2019

i could figure out that this is just happening to files where the files bitrate varies (vbr)
-> same files trigger last.fm to scrobble twice or more
anyone who can confirm?

Version 10.4.0-RELEASE – July 13, 2019
Server Apache Tomcat/8.5.42, java 1.8.0_212, Linux

@fxthomas
Copy link
Contributor

Can you post the Airsonic log around when the issue happens?

@pjoubert-
Copy link

pjoubert- commented Oct 15, 2019

I can attest this behavior (from the web player only) and lastfm scrobbles.

Local count grows up faster than real songs listened, and submissions to lastfm can go up to… …too much.

Extract from my catalina.out log:

2019-10-15 10:10:29.324  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxxx at Last.fm: Tue Oct 15 10:10:27 CEST 2019
2019-10-15 10:10:29.330  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:30.121  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:30.385  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:28 CEST 2019
2019-10-15 10:10:30.952  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:31.555  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:29 CEST 2019
2019-10-15 10:10:33.466  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:29 CEST 2019
2019-10-15 10:10:34.310  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:34.679  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:30 CEST 2019
2019-10-15 10:10:36.303  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:30 CEST 2019
2019-10-15 10:10:38.178  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:30 CEST 2019
2019-10-15 10:10:39.178  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:39.252  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:31 CEST 2019
2019-10-15 10:10:40.571  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:34 CEST 2019
2019-10-15 10:10:40.818  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:42.236  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:34 CEST 2019
2019-10-15 10:10:43.586  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:39 CEST 2019
2019-10-15 10:10:45.193  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:39 CEST 2019
2019-10-15 10:10:47.523  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:40 CEST 2019
2019-10-15 10:10:48.805  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:41 CEST 2019
2019-10-15 10:10:49.870  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:51.532  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:49 CEST 2019
2019-10-15 10:10:52.470  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:50 CEST 2019
2019-10-15 10:10:53.066  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:53.954  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:54.128  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:53 CEST 2019
2019-10-15 10:10:54.713  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:55.414  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:53 CEST 2019
2019-10-15 10:10:56.459  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:10:56.607  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:53 CEST 2019
2019-10-15 10:10:57.854  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:54 CEST 2019
2019-10-15 10:10:58.830  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:54 CEST 2019
2019-10-15 10:10:59.820  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:54 CEST 2019
2019-10-15 10:11:00.439  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:00.922  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:56 CEST 2019
2019-10-15 10:11:01.269  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:01.947  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:10:56 CEST 2019
2019-10-15 10:11:02.173  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:03.142  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:00 CEST 2019
2019-10-15 10:11:03.720  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:04.141  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:00 CEST 2019
2019-10-15 10:11:04.520  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:05.128  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:01 CEST 2019
2019-10-15 10:11:05.510  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:06.242  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:01 CEST 2019
2019-10-15 10:11:06.975  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:07.180  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:02 CEST 2019
2019-10-15 10:11:07.805  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:08.234  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:02 CEST 2019
2019-10-15 10:11:08.620  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:09.429  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:09.456  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:03 CEST 2019
2019-10-15 10:11:10.315  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:10.644  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:03 CEST 2019
2019-10-15 10:11:11.118  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:12.293  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:04 CEST 2019
2019-10-15 10:11:12.833  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:13.243  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:04 CEST 2019
2019-10-15 10:11:14.345  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:14.365  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:05 CEST 2019
2019-10-15 10:11:15.194  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:15.762  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:05 CEST 2019
2019-10-15 10:11:16.740  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:06 CEST 2019
2019-10-15 10:11:16.796  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:17.628  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:17.746  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:07 CEST 2019
2019-10-15 10:11:18.451  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:18.728  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:07 CEST 2019
2019-10-15 10:11:19.275  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:19.812  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered submission for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:08 CEST 2019
2019-10-15 10:11:20.115  INFO --- o.a.p.io.PlayQueueInputStream            : 192.168.122.229: xxx listening to 2017 - Vidya/05. Narayana.mp3
2019-10-15 10:11:20.866  INFO --- o.a.p.s.AudioScrobblerService            : Successfully registered now playing for song 'Narayana' for user xxx at Last.fm: Tue Oct 15 10:11:08 CEST 2019

@stale
Copy link

stale bot commented Jan 13, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale This label will be removed soon label Jan 13, 2020
@KingDuckZ
Copy link
Author

KingDuckZ commented Mar 21, 2020

Sorry for the slow reaction, I can confirm all my music is vbr ogg. Is it still useful for me to provide a log?
Edit After checking again, I can confirm this problem happens with ogg albums but not with my flac album.

@stale stale bot removed the stale This label will be removed soon label Mar 21, 2020
@fxthomas
Copy link
Contributor

The only thing I notice in @pjoubert-'s log is the fact that the same song appears multiple time. Do you see the same thing? I'm getting the impression that the browser is sending multiple requests for the same file.

@tesshucom tesshucom added in: external cooperation Issues in the external Services (Lastfm, lyrics, LDAP, etc). type: bug A general bug, or suspect a bug.Gray phenomena are bugs. However, there are not always enough clues. status: waiting-for-feedback The replication have not been confirmed yet. Or no implementer or no PRs or tips to solve yet. labels May 8, 2020
@KingDuckZ
Copy link
Author

KingDuckZ commented Jun 16, 2020

I'm trying Strawberry 0.12 and I just noticed that when I play an album for the first time the counter in Airsonic goes from 0 to 6 immediately. While listening to song number 3 in Strawberry the counter had gone up to 12. Song 4, counter is 15.

Edit: so this problem is not exclusive to the webui like I originally thought.

@stale
Copy link

stale bot commented Sep 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. Thank you for your contributions.

@stale stale bot added the stale This label will be removed soon label Sep 14, 2020
@KingDuckZ
Copy link
Author

still happening, afaict

@stale stale bot removed the stale This label will be removed soon label Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in: external cooperation Issues in the external Services (Lastfm, lyrics, LDAP, etc). status: waiting-for-feedback The replication have not been confirmed yet. Or no implementer or no PRs or tips to solve yet. type: bug A general bug, or suspect a bug.Gray phenomena are bugs. However, there are not always enough clues.
Projects
None yet
Development

No branches or pull requests

8 participants