-
Notifications
You must be signed in to change notification settings - Fork 20
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: (YTM) With each scrobble, another song gets scrobbled #227
Comments
I'll try to reproduce this, thanks. If you still see this occurring could you provide some more logs by changing your ytmusic config to have these options: {
"type": "ytmusic",
"name": "YT Music",
// ...
"options": {
"logToFile": true,
"logDiff": true
}
}
|
Still occurring, yeah. I'll set the options and get back to you. |
@xathon forgot to mention please change your docker image, use the latest |
Some logfiles: YTM history: Maloja screenshot (pretty sure those timestamps are in UTC): and for reference, the maloja log: I think I see what's happening. A lot of times a song will get discovered, but 10 seconds later it's gone from the list (see for example l. 4416 ff. in the ytmusic log). This causes everything to move back up again, so that song 21 gets moved up to 20 and appears as a "new" song. Why that happens, no idea. Played around a bit with the web history, but when something gets added there, it stays. The issue might be here?
Because the plays object doesn't yet have the new song, so when checking next time it compares the fetched list against the old list, moving everything back down? I can't say that I understand exactly what's happening, but that was the only thing that stood out to me a bit. |
Please check existing knowledge before opening an issue
Describe the Bug
As seen in the logs below, whenever a song gets scrobbled, 10 seconds later, another song gets scrobbled. I checked, and it's consistently the 20th spot in the YouTube Music play history. Something to do with this, somehow?
multi-scrobbler/src/backend/sources/YTMusicSource.ts
Line 276 in eb26ee0
This scrobble always (I think) gets rejected by Maloja, so it's not responsible for the duplicate scrobbles, but odd nonetheless.
Platform
Docker
Versions
Logs
Additional Context
This doesn't actually happen all the time, as I've just seen, but I'd guess it shows up in at least 80% of the cases.
The text was updated successfully, but these errors were encountered: