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: foo_scrobble (Read 67763 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_scrobble

Reply #125
A quick update:

I gave it another try today and noticed that while some tracks scrobbled, some did not.
After analysing my tracks with foo_texttools and comparing with what's submitted to foo_scrobble, it turned out to be a %musicbrainz_trackid% issue.

I use beets for library organization and I fetch all my tags from Deezer, By doing so, the %musicbrainz_trackid% is overwritten by the Deezer track/album ID, which obviously isn't compatible with Last.fm. Clearing the field solved my problems and all is good.

tl;dr - Check if your tag for %musicbrainz_trackid% is a valid musicbrainz ID. If not, clear the field for it on the foo_scrobble options.

Re: foo_scrobble

Reply #126
Hi!
Is there any possibility of getting a port of this to mac?

Re: foo_scrobble

Reply #127
For standalone recordings that don't have a track_id (and instead have a recording_id), does Last.fm accept the recording_id? Or is track_id the only valid field it accepts? Would this $if work if it does?

$if(%MUSICBRAINZ_TRACKID%,%MUSICBRAINZ_TRACKID%,%MUSICBRAINZ RECORDING ID%)

Re: foo_scrobble

Reply #128
In search for solution for my problem which is scrobbling music listened over my workplace computer on which I don't have administrator privileges, I installed foobar as portable installation (I tried both external hard drive and the local one as destinations). Also i installed and authorized the scrobble component, but it seems scrobbling is not working.

Did I miss something or this really doesen't work on portable installation or without administrator privileges?
Thanks.

 

Re: foo_scrobble

Reply #129
Components don't care about full/portable installs. If fb2k isn't blocked from running then no component is going to have an issue.

Your issue is probably internet access related. You might be be able to browse normally but that doesn't mean applications are guaranteed to work. I'd check the fb2k console first and see if foo_scrobble is reporting anything. Also, you don't strictly need internet as such. foo_scrobble should cache all failed scrobbles so if you had fb2k on a USB stick, listened all day, took it home and then scrobbled another track, the cache should be submitted.

Re: foo_scrobble

Reply #130
Thanks for helpful answer!
using console helped, I had trouble while authenticating with Last.fm. Somehow the request authorization button, after granting permission on web, didn't change to confirm authorization. When I swithed back from internet browser to Foobar the button was still in request authorization state. Then I literally kept open both windows (Last.fm authorization page and Preferences>Tools>Last.fm Scrobbling)  side by side, and then it worked exactly as described on the tooltip message.

Thank you, again.

Re: foo_scrobble

Reply #131
First, let me say that I am thankful for the plugin.

I have a very niche case and I am hoping someone has a clever solution.

Foobar was working for me just fine for a long time, so I did not even think about updates. Yesterday, after a long time, I logged onto last.fm and noticed no scrobbled tracks since july.

Investigating I noticed some 7k tracks in the old plugin queue. Probably last.fm did not accept the old authentication method anymore.
I tried to update the plugin, but it was not maintained anymore. Then I got to this new plugin using the new auth method. I have downloaded the new one, but it did not worked on my old version of fb2k. I installed another instance of portable fb2k, got the new plugin and it worked fine.

Now I want to know if there is a way to scrobble my not transmitted tracks. I noticed that the foo_scrobbler.dll.cfg and foo_audioscrobbler.dll.cfg files have slightly different formats. Just renaming the file and placing it in the proper folder does not seem to work.

Any ideas?

Re: foo_scrobble

Reply #132
Nope, there is no solution for this. Configuration written by one component cannot be read by another.

Also, last.fm do not accept cached entries more than 14 days old.

Re: foo_scrobble

Reply #133
Hi!
Is there any possibility of getting a port of this to mac?
So no answer to this question since May probably means either it is not possible or nobody tried, because Mac users do not use foobar2000 to scrobble. 😉 There was a related question on r/lastfm now, so I wondered about this as well to update the support FAQ on Last.fm about foobar scrobbling:

https://new.reddit.com/r/lastfm/comments/1h1er8x/scrobbling_foobar2000_on_mac/
https://support.last.fm/t/foobar2000-scrobbling/185
ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ - "That lil' ol' ZZ Top cover band from Hamburg..."
INDIGO ROCKS - "Down home rockin' blues. Tasty as strudel."

Re: foo_scrobble

Reply #134
Due to lacking documentation, what am I meant to put in 'skip' if I don't want to submit podcasts?
This seems to just skip everything:

Code: [Select]
$ifequal(%genre%,podcast,true,)

Re: foo_scrobble

Reply #135
$ifequal is really just for numerical operations.
You really want a string comparison as your condition.

This checks if the genre contains "podcast":
Code: [Select]
$if($strchr(%genre%,podcast),true,)

I'd use that because files can have multiple genres. If you never combine "podcast" with any other genre, you could use this for a direct (case-insensitive) comparison:
Code: [Select]
$if($stricmp(%genre%,podcast),true,)

Re: foo_scrobble

Reply #136
Also the docs you are looking are related to foobar, not this component.
https://wiki.hydrogenaud.io/index.php?title=Foobar2000:Title_Formatting_Reference

Re: foo_scrobble

Reply #137
$ifequal is really just for numerical operations.
You really want a string comparison as your condition.

This checks if the genre contains "podcast":
Code: [Select]
$if($strchr(%genre%,podcast),true,)

I'd use that because files can have multiple genres. If you never combine "podcast" with any other genre, you could use this for a direct (case-insensitive) comparison:
Code: [Select]
$if($stricmp(%genre%,podcast),true,)
Just here about the TF.

'$strchr(X,Y)    Finds first occurrence of character Y in string X.'

This checks if the %genre% contains 'podcast':
$if($strstr(%genre%,podcast),TRUE,FALSE)

Since there is no case insensitive version of this function I would use:
$if($strstr($upper(%genre%),PODCAST),TRUE,FALSE)

Re: foo_scrobble

Reply #138
You can use $strchr because it returns a positive number if the string is found and zero otherwise.
As is often the case, zero is treated as false and positive numbers as true in $if statements, so the function can just be directly used.

Secondly, just noting that you don't want FALSE in there, as the component is simply checking whether there is a value returned at all. So the "else" part should be empty, as @tordenflesk originally had.

Re: foo_scrobble

Reply #139
You can use $strchr because it returns a positive number if the string is found and zero otherwise.
As is often the case, zero is treated as false and positive numbers as true in $if statements, so the function can just be directly used.

Secondly, just noting that you don't want FALSE in there, as the component is simply checking whether there is a value returned at all. So the "else" part should be empty, as @tordenflesk originally had.
I hope you realize when %genre% is 'progressive metal' that returns the true part too with your TF?
And 'Podcast' returns the false part.

So use the $strstr with $upper.

BTW: And the FALSE I wrote is just because of the $if syntax.

Re: foo_scrobble

Reply #140
Ah. OK, yes it should be $strstr not $strchr, apologies.

Re: foo_scrobble

Reply #141
Ah. OK, yes it should be $strstr not $strchr, apologies.
Nopro. I only stepped in because otherwise there possible would have been long discussions with tordenflesk not getting the TF to work.

Re: foo_scrobble

Reply #142
Just an update for interested Mac users who want to scrobble with foobar2000: There is an option called swiftscrobble, see https://github.com/lambdan/swiftscrobble/releases
ZZee ya, Hans-Jürgen
BLUEZZ BASTARDZZ - "That lil' ol' ZZ Top cover band from Hamburg..."
INDIGO ROCKS - "Down home rockin' blues. Tasty as strudel."