-
-
Notifications
You must be signed in to change notification settings - Fork 3
Songs played on repeat only scrobbles once #13
Comments
I've actually tried to fix it but I do not think there is a way to differentiate user skipping a song and song actually playing on loop. I will try to think about a possible solution to that. |
Neptunes also has the same problem, I believe only the official last.fm application for Mac can count all repeat scrobbles, but it is outdated and flawed. Anyway thanks and congratulations for the work. |
Actually, there is a way to fix it, which I will implement soon. |
Made it so the app scrobbles songs with the timer's number are higher than the song's duration aka temporary solution for listening to songs on loop. #13 I've also added some .gitigonre entries to make editing in vim easier.
@igrhs I've just published a pre-release version. I would love to hear your feedback. |
Thanks for the update. I listened two songs on repeat 4 times, one present on an album, other just a single. It took some time for the scrobbles to be sent (approximately): Maybe you developed it to happen that way. It's important to say that I'm using iTunes on macOS Mojave 10.14.6, maybe it works better in Catalina's Music app. If you think better, I can download the Catalina's beta and try on Music too. |
As for the system, it shouldn't matter as I myself use Mojave too. As for the looping, it's way more complicated: When you're listening to the song on the loop it doesn't see that. The app thinks you're listening to one long song. In the latest release, I've changed that so now when it sees that if more than 100% of the song's duration has been exceeded, it scrobbles it. And here's the problem. For example: Let's say that the song's duration is 1 minute. If you start listening to the song on repeat from 30th second it will scrobble it around 30th second on the second playthrough of the song. It's really hard to explain and it's messy as hell. tldr: My point is that if there was a way to get information about how many times a song has been played in iTunes/Apple Music it would make it hella easier, but I couldn't find it anywhere. |
Thanks for the explanation, I think I could understand, Apple and its limitations ... Even so with this "delay", is already great counting the repeat. A while ago the Apple Music API was released, there is one that provides information on the latest playbacks of users. Do you think it is possible to develop a scrobbler similar to what last.fm does with Spotify Scrobbling (using the Spotify API)? I believe it would be much more effective if possible. |
That's definitely something to consider the next time I'll rewrite the app since now it's not worth it, I think. Implementing Apple Music API would force me to dramatically change the code, which at the moment would be a waste of time because I must rewrite the whole app to Swift in the future anyway. Node.js and Electron are just so bad in the long run. Like my app takes around 150MB of disk space right now, it should be 20MB max. Also, I found out there's something called MusicKit JS but it's client-side only https://developer.apple.com/documentation/musickitjs. Honestly, it's really a shame Apple Music does not support Last.fm natively as other major streaming services such as Spotify and TIDAL do so. |
Actually, that's a very good idea as API's description says
|
Maybe it's something that can be used. I even suggested it in the last.fm support forum a while ago, but with no prediction or certainty that they will try to implement. |
if I play a songs more than once, only the original play will be scrobbled. Is it possible to correct?
The text was updated successfully, but these errors were encountered: