-
Notifications
You must be signed in to change notification settings - Fork 557
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
Scrobbling Issues #540
Comments
@semvis123 (the one who coded last-fm plugin) |
Hmm weird, are there any error messages in the console? |
Do you just mean the console accessible through |
Yes, the console in the devtools. |
@semvis123 does it works for you on v1.15? (I've never actually used this plugin 😅) something might have broke in the last updates (song-info was changed slightly tho I can't see how it would break things) if it doesn't work for you either then maybe #537 could be a possible fix |
Can't reproduce the issue (everything gets logged correctly), i'm using 1.15 with no extra plugins enabled (except the plugins enabled by default) (btw did not notice that this project had improved so much since I last checked, well done :) ) |
same issue... just saying ; ) |
Commenting just to say the problem still persists when playing an album in version 1.16.0. But when you play a song and autoplay is enabled, songs are scrobbled correctly. Songs — played from an album or otherwise — appear correctly in Discord though. (The latest release looks great though! Like the UI updates.) |
I've been experiencing this since 1.14 until now on 1.16 still the same issue. Since the plugin author doesn't experience this, I tried a clean reinstall of the app and found scrobbling working as intended. Then, I signed in to my Google account and scrobbling broke. Then I signed out and scrobbling works again. |
Not sure if it would be of any benefit to check them out, but I've been trying out Cider's Apple Music app, also based on Electron. Their implementation of Last.fm scrobbling and Discord rich presence has worked great for me so far. |
Giving this issue a bump as I have been coming across an issue which, although not exactly the same as OP's, is still fairly annoying. I'm not sure if I'm the only one experiencing this, but when I scrobble a track, all metadata except for the album is scrobbled which leaves gaps in my last.fm history. On the contrary, there are Chrome extensions that scrobble the album metadata, and I was wondering why this isn't the case for this application? Not entirely the end of the world, of course, but its the only obstacle stopping me from using this application full time. Don't get me wrong, this application is near perfect but I would still love for this issue to be looked at and fixed if possible. (I'm currently on 1.16.) |
Album name is not available when the current song is a video, but it could still be sent when it is a normal song should be easy to fix: youtube-music/plugins/last-fm/back.js Lines 88 to 96 in 2305872
add album field (already present in songInfo) const postData = {
track: songInfo.title,
duration: songInfo.songDuration,
artist: songInfo.artist,
album: songInfo.album, // will be undefined if current song is a video
api_key: config.api_key,
sk: config.session_key,
format: 'json',
...data,
}; https://www.last.fm/api/show/track.scrobble can someone here test if that works properly? (I can upload windows binaries if wanted) |
Hey, thanks for replying so swiftly! I've just tested the changes to the backend, and it appears that it works... kind of. It is indeed sending something to last.fm, but according to what I've seen in Pano Scrobbler, the album title is coming up as "undefined" instead of the actual title. I've tried with many songs (not videos) and it seems to be reproducing the same results. Any ideas? EDIT: |
use ^ I will commit a pr with this fix const postData = {
track: songInfo.title,
duration: songInfo.songDuration,
artist: songInfo.artist,
...(songInfo.album ? { album: songInfo.album } : undefined), // will be undefined if current song is a video
api_key: config.api_key,
sk: config.session_key,
format: 'json',
...data,
}; |
Hey, I'm having the issue here. I tried keeping the network tab issue but I'm not even seeing scrobbling requests there (even though I also see the tracks as "scrobbling now" but they never seem to be commited). |
Using version 1.15.0. When playing an album, only the first track will be properly scrobbled to Last.fm. Subsequent tracks will appear in Last.fm as "scrobbling now" but then not commit.
The text was updated successfully, but these errors were encountered: