Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [fb2k v2] Last.fm Playcount Sync (Read 7201 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.



Re: [fb2k v2] Last.fm Playcount Sync

Reply #53
I know it's been abandoned, but if you or anyone else ever decides to maintain it again, an option for Last.fm Playcount Sync to use the MBIDs when Love/Unloving would be useful, since currently it just marks every song with the same name/artist since it treats them all as the same song (so remixes/etc. get marked too). It looks like LFM has an API for it.

https://www.last.fm/api/show/track.getInfo

Re: [fb2k v2] Last.fm Playcount Sync

Reply #54
Sorry but not possible. The link you posted is for fetching info and MBID support is horribly broken anyway.

These are the APIs used for actually loving/unloving tracks.

https://www.last.fm/api/show/track.love
https://www.last.fm/api/show/track.unlove

They're not even pretending to support MBIDs there. artist/title are the only acceptable parameters.

Re: [fb2k v2] Last.fm Playcount Sync

Reply #55
Damn! Oh well, thanks for the component regardless, I use it a lot.

Re: [fb2k v2] Last.fm Playcount Sync

Reply #56
Note really sure if you are trying to have MBID support at last.fm stats or just love/hate stats attached to MBIDs.
Because the latest is already available at ListenBrainz with its own API and web, which is the natural place for MBID usage (not an external api).

Re: [fb2k v2] Last.fm Playcount Sync

Reply #57
Note really sure if you are trying to have MBID support at last.fm stats or just love/hate stats attached to MBIDs.
Because the latest is already available at ListenBrainz with its own API and web, which is the natural place for MBID usage (not an external api).
The latter, to prevent unrelated songs with the same name being Liked. I already scrobble to Listenbrainz, but is there an equivalent foobar component to track Loved songs?

Edit: This thread suggests that Listenbrainz doesn't even use MBIDs, for some reason... Oh well.

Re: [fb2k v2] Last.fm Playcount Sync

Reply #58
That thread has nothing to do with loving/hating tracks by MBID, because the component mentioned has not that feature anyway.
Quote
outsidecontext November 13, 2023, 7:36am 11

    If we were able to use submitted track ID then it would solve issues like this

Submitted listens can include the recording ID, and if it is present it will be used for the matching.
Also, the plugin could submit recording MBID, and listenbrainz uses it. People is just complaining that plugins using title/album don't have right matches, well... it's the plugin responsibility to use better tags.

Anyway, this is what you need. It uses current MBID tag from file (or performs a lookup) and sends the love/hate feedback to listenbrainz. It also stores it on a tag on file. You can also retrieve feedback from Listenbrainz and lookup loved/hated tracks on your library (even if the tracks have no tags).
https://regorxxx.github.io/foobar2000-SMP.github.io/scripts/listenbrainz-smp/


Re: [fb2k v2] Last.fm Playcount Sync

Reply #60
https://regorxxx.github.io/foobar2000-SMP.github.io/scripts/listenbrainz-smp/
That sounds like what I'm looking for, thanks. My issue was that things like remasters would be loved as well, even if I didn't like that particular remaster because it didn't sound as good, or similar situations.
Note, however, that it uses 'MUSICBRAINZ_TRACKID' not the release ID. I think your use-case is exactly the opposite to listenbrainz usage, since loving a recording means loving the recording (not an specific release for it). A remaster, if it's not a different mix or something like that, is technically the same recording.

The script will add the love tag only to your selected files though (not remasters) and you can use that in queries fine; but in Listenbrainz, there is no difference between them.
When performing the lookup on library (i.e. search loved tracks from ListenBrainz on your library), there is a query filter on the settings to filter non desired tracks. You have ratings for that, just rate the remasters with lower values.

 

Re: [fb2k v2] Last.fm Playcount Sync

Reply #61
I'm currently updating it to allow a different query filter for feedback (find loved tracks, ...) and the other features (recommendations and playlists). So you can finetune how multiple releases are treated.

Also to switch if tracks should be found by MBID only or also using title/artist. Previously it used both, to make it easier for most people finding their loved tracks even on non fully tagged libraries.