Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Track repeats three times in Playback History #688

Open
snppls opened this issue Apr 8, 2024 · 5 comments
Open

[Bug] Track repeats three times in Playback History #688

snppls opened this issue Apr 8, 2024 · 5 comments
Assignees

Comments

@snppls
Copy link

snppls commented Apr 8, 2024

On iOS 17.3.1 and Finamp 0.9.5 every song played appears exactly three times in the Playback History rather than once.

IMG_0367

@Chaphasilor
Copy link
Collaborator

I guess that answers the question if anyone else uses the playback history :P

Can you get me some logs? On Android it works fine, so I think this is a platform-specific issue.

Screenshot_20240409-112358.png

Never-ending story with just_audio and playback tracking 😅

@snppls
Copy link
Author

snppls commented Apr 9, 2024

Attached is the full log - its pretty massive.
logs.txt

@Chaphasilor Chaphasilor self-assigned this Apr 9, 2024
@Chaphasilor
Copy link
Collaborator

Okay, firstly, thanks a ton for the sponsorship! I really appreciate it <3

Regarding your issue:
The logs you sent me start at 2pm and don't seem to contain the tracks shown in the screenshot. Could you try playing a few songs, taking the screenshot, and then extracting the logs (making sure the app doesn't close before, logs aren't persisted yet)?

I also can't see anything suspicious in the logs, but that is probably due to a lack of logging on my side. I'll try to add more verbose logging to the next update to better track this down.

Lastly, does this really happen with all tracks? Listening all day today I only saw this a single time, and I'm not even sure that really was an error (might've just been me pausing for a while or something).
Could you please take a look at your Jellyfin dashboard to see if the tracks are also reported to the server multiple times, or if it's just a local issue? It should look something like this (with each track being reported as "is playing" first, and then as "has finished playing"). There shouldn't be multiple reports of a track, unless you actually rewound/looped it).

@snppls
Copy link
Author

snppls commented Apr 10, 2024

No problems, I appreciate your hard work.

Attached are my most recent logs and a screen recording to illustrate the issue. The problem seems to be with every track. On rare occasions the track will appear twice rather than three times in playback history.

logs.txt

RPReplay_Final1712711258.MP4

My Jellyfin dashboard is reporting the following:

home has finished playing Jeff Beck Group - All Shook Up on iPhone
today at 11:26
home has finished playing Jeff Beck Group - All Shook Up on iPhone
today at 11:16
home is playing Jeff Beck Group - All Shook Up on iPhone
today at 11:07
home has finished playing GoGo Penguin - Prayer on iPhone
today at 11:07
home is playing GoGo Penguin - Prayer on iPhone
today at 11:07
home has finished playing Cleo Sol - Reason on iPhone
today at 11:07
home is playing Cleo Sol - Reason on iPhone
today at 11:07
home has finished playing Matthew Halsall & The Gondwana Orchestra - Only a Woman on iPhone
today at 09:26
home has finished playing Matthew Halsall & The Gondwana Orchestra - Only a Woman on iPhone
today at 09:16
home is playing Matthew Halsall & The Gondwana Orchestra - Only a Woman on iPhone
today at 09:06

@Chaphasilor
Copy link
Collaborator

I'm guessing this is still a problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants