Hydrogenaudio Forums

Hosted Forums => foobar2000 => 3rd Party Plugins - (fb2k) => Topic started by: gix on 2017-11-21 14:07:55

Title: foo_scrobble
Post by: gix on 2017-11-21 14:07:55
foo_scrobble is a component that scrobbles to last.fm (https://last.fm/).

The old foo_audioscrobbler component is unmaintained and has various issues. This replacement:


URL: https://github.com/gix/foo_scrobble/ (https://github.com/gix/foo_scrobble/)
Use the releases tab (https://github.com/gix/foo_scrobble/releases) to download.

To get started, open foobar's preferences, navigate to "Tools > Last.fm Scrobbling" and use the top button to authorize your client (it provides a tooltip with instructions).

You can post issues/requests here or on github directly.
Title: Re: foo_scrobble
Post by: TheQwertiest on 2017-11-21 14:38:50
@gix:
Component works without problems so far =)

A few feature requests, if you don't mind:
Title: Re: foo_scrobble
Post by: marc2003 on 2017-11-21 14:48:39
Last.fm already have their own guidelines in place which scrobbler authors are supposed to stick to. No matter how long a track is, you shouldn't have to listen for more than 4 minutes for it to count.

https://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble

Quote
When is a scrobble a scrobble?

A track should only be scrobbled when the following conditions have been met:

    The track must be longer than 30 seconds.
    And the track has been played for at least half its duration, or for 4 minutes (whichever occurs earlier.)


Title: Re: foo_scrobble
Post by: EpicForever on 2017-11-21 14:59:14
To keep proper track of feature requests:
This plugin misses certain functionality from original one (blocking tracks from being scrobbled, based on tags). I added my own tag named "LFM_BLOCKED" and when it has value "1" or "yes" tracks are not scrobbled.
Use case:
On my PC there are ripped both my CDs and CDs of my wife. Sometimes I play her music for her from my account and honestly I don't want them to be counted on my LFM profile. Simple tag for all wife's CDs allowed me to achieve this.
Title: Re: foo_scrobble
Post by: TheQwertiest on 2017-11-21 15:02:47
Last.fm already have their own guidelines in place which scrobbler authors are supposed to stick to. No matter how long a track is, you shouldn't have to listen for more than 4 minutes for it to count.
That's nice to know, thanks! Scratch that feature request from the list then =)

PS: Some of the scrobblers I've used on Android ignored those guidelines magnificently though :\

... blocking tracks from being scrobbled, based on tags ...
+1 on this.
Title: Re: foo_scrobble
Post by: marc2003 on 2017-11-21 15:11:04
I've not tested this yet but given it has dialogs for artist/title title formatting, it should support not submitting based on tags like the old component.

Just make sure the value is blank if a certain condition is met and then the component should either not submit or last.fm will refuse the submission because of bad parameters. For example...

Code: [Select]
$ifequal(%rating%,1,,%artist%)
Title: Re: foo_scrobble
Post by: gix on 2017-11-21 15:19:53
Tracks are only scrobbled when a next track starts or playback is stopped (and they are valid according to last.fm's guidelines). This works equally for local and streamed tracks. It would be possible to scrobble earlier but then you have to keep track of the current submission state across restarts or else you may scrobble a long track twice.

To keep proper track of feature requests:
This plugin misses certain functionality from original one (blocking tracks from being scrobbled, based on tags). I added my own tag named "LFM_BLOCKED" and when it has value "1" or "yes" tracks are not scrobbled.
Use case:
On my PC there are ripped both my CDs and CDs of my wife. Sometimes I play her music for her from my account and honestly I don't want them to be counted on my LFM profile. Simple tag for all wife's CDs allowed me to achieve this.

Just curious, where or how was this configured? I don't see this functionality in the old foo_audioscrobbler 1.4.7. Or do you mean another component?

Edit: Ah I see, it was just the fact that it ignores tracks without artist that could be used to do this.
Title: Re: foo_scrobble
Post by: marc2003 on 2017-11-21 15:55:24
Just looking at the readme, you don't need to link to the 64bit C++ redist as foobar2000 and your component are only 32bit.
Title: Re: foo_scrobble
Post by: EpicForever on 2017-11-21 16:47:08
I've made some tests and... I think it is bit vague how this plugin works. It seems that I can not rewind track to make it scrobbled - looks like only track of which 100% of its length is listened is scrobbled, while 50% should be enough accordingly to L.fm rules, even if rewind was used - as long as total time was more than 50% of track.
Plugin says that it scrobbles something (would be nice to have information which exactly track was send - its title - just to make it more clear) and it scrobbles everything, no matter if tags are present or not - and that was confusing for me and that's why I asked for adding special functionality. Last.fm however filters tracks without title for example, so still expression
$if(%skip_lastfm%,,%title%)
put into "Field remappings - Title" causes that tracks with my special tag filled in are not visible in Last.fm . So let's say that requested functionality is de facto present in pipeline, but thanks to filtering applied on Last.fm servers, and not because it is implemented in plugin itself (plugin reports that it was scrobbled). But I suppose it shouldn't work like this. After changing it, it would be great if plugin was differentiating tracks that should not be scrobbled from others and if it was clearly printed in console ("Not scrobbling because: missing tile" or "Not scrobbling - insufficient legth" for example). Similarly to information about track being outside of ML.
Title: Re: foo_scrobble
Post by: gix on 2017-11-21 18:05:21
I've made some tests and... I think it is bit vague how this plugin works. It seems that I can not rewind track to make it scrobbled - looks like only track of which 100% of its length is listened is scrobbled, while 50% should be enough accordingly to L.fm rules, even if rewind was used - as long as total time was more than 50% of track.
I cannot reproduce that. It tracks the total time the track has been played, regardless of any seeks (Same as foo_audioscrobbler).

Plugin says that it scrobbles something (would be nice to have information which exactly track was send - its title - just to make it more clear) and it scrobbles everything, no matter if tags are present or not - and that was confusing for me and that's why I asked for adding special functionality. [...]
Yes I was unaware that people were using these field mappings that way.

I've added a new release (https://github.com/gix/foo_scrobble/releases/tag/v1.1.0) that allows skipping tracks based on a titleformat script and adds a mainmenu command to toggle scrobbling.

Title: Re: foo_scrobble
Post by: EpicForever on 2017-11-21 18:51:51
I've made some tests and... I think it is bit vague how this plugin works. It seems that I can not rewind track to make it scrobbled - looks like only track of which 100% of its length is listened is scrobbled, while 50% should be enough accordingly to L.fm rules, even if rewind was used - as long as total time was more than 50% of track.
I cannot reproduce that. It tracks the total time the track has been played, regardless of any seeks (Same as foo_audioscrobbler).

(...)

OK, but it seems that foo_scrobble plugin requires that total tracked time is at least 100% length of the track. As far as I remember from my experiments foo_audioscrobbler was simply sending scrobble after half of this time was achieved. So I could listen to 20% of the song, then skip next 30% with seekbar AND on 80% of track length, track was scrobbled. And I could advance to next track at let's say - 82%. Still 50% was achieved (in 2 parts - 20% + 32% ) and everything was in accordance with the rules. In foo_scrobble, when I omit just 5% of the track - there is no scrobble. I haven't checked if I can search back and forth and scrobble is done if total listening time sums up to at least 100%. But it does not matter if scrobble should be sent after 50% (or after 4 minutes, whichever occurs first - as mentioned by marc2003).
Title: Re: foo_scrobble
Post by: gix on 2017-11-21 19:06:32
OK, but it seems that foo_scrobble plugin requires that total tracked time is at least 100% length of the track. As far as I remember from my experiments foo_audioscrobbler was simply sending scrobble after half of this time was achieved. So I could listen to 20% of the song, then skip next 30% with seekbar AND on 80% of track length, track was scrobbled. And I could advance to next track at let's say - 82%. Still 50% was achieved (in 2 parts - 20% + 32% ) and everything was in accordance with the rules. In foo_scrobble, when I omit just 5% of the track - there is no scrobble. I haven't checked if I can search back and forth and scrobble is done if total listening time sums up to at least 100%. But it does not matter if scrobble should be sent after 50% (or after 4 minutes, whichever occurs first - as mentioned by marc2003).
As said earlier a track is submitted when the next one starts playing or playback is stopped even if the actual conditions are met earlier. This is no different than the other plugin.
Title: Re: foo_scrobble
Post by: TheQwertiest on 2017-11-22 08:50:00
I've added a new release (https://github.com/gix/foo_scrobble/releases/tag/v1.1.0) that allows skipping tracks based on a titleformat script and adds a mainmenu command to toggle scrobbling.
Thanks!
Title: Re: foo_scrobble
Post by: elia_is_me on 2017-11-22 22:45:07
I've not tested this yet but given it has dialogs for artist/title title formatting, it should support not submitting based on tags like the old component.

Just make sure the value is blank if a certain condition is met and then the component should either not submit or last.fm will refuse the submission because of bad parameters. For example...

Code: [Select]
$ifequal(%rating%,1,,%artist%)
+1
Title: Re: foo_scrobble
Post by: EpicForever on 2017-11-23 20:31:47
@elia_is_me : this functionality is now present in latest release: https://github.com/gix/foo_scrobble/releases/tag/v1.1.0
And in console there is clear message that file was skipped:
foo_scrobble: Skipping track due to missing artist or title
Title: Re: foo_scrobble
Post by: bwat47 on 2017-11-26 18:59:53
fantastic, was getting so sick of the old plugin's bugs (e.g. it would randomly stop scrobbling until you restarted foobar). This seems to work great!
Title: Re: foo_scrobble
Post by: NEMO7538 on 2017-11-27 06:09:45
+1 works like a charm here. Thank Gix !
Title: Re: foo_scrobble
Post by: MordredKLB on 2017-11-28 20:25:12
Trying to request authorization:

foo_scrobble: Requesting auth token
foo_scrobble: Failed to get auth token. (error: -2, <unknown error>)


Nothing is happening in my browser either.
Title: Re: foo_scrobble
Post by: kode54 on 2017-11-29 03:29:57
I see this implements its own scrobble timing rules. The player core provides an interface for reporting a track has been "played", but it follows different rules:

1) Track must play at least 60 seconds.
OR
2) Track must play at least 1/3 of its duration before ending.

See: SDK, play_callback.h, playback_statistics_collector. Implement your own service of this class, and receive a notification when the core has determined a metadb_handle has been played to its own definition of completion. Use your own implementation if you have already written something to the completion of the core service.

The core service observes multiple facets of the play_callback service, including counting the ticking seconds of the file towards the completion. You probably already do this, though. I haven't looked at your code thoroughly. Just enough to know you didn't use the above mentioned service.
Title: Re: foo_scrobble
Post by: gix on 2017-11-29 12:55:12
With the different rules playback_statistics_collector I can't really use this service. If the rules were simply stricter, maybe. A bigger problem is that it doesn't seem to support dynamic track info. Playing a stream just reports the stream name after a minute.
Title: Re: foo_scrobble
Post by: MordredKLB on 2017-11-29 19:10:55
Trying to request authorization:

foo_scrobble: Requesting auth token
foo_scrobble: Failed to get auth token. (error: -2, <unknown error>)

Nothing is happening in my browser either.
I installed this plugin on my work machine. Turns out that for some reason, IT blocks the API request call (I can't explain why Chrome doesn't even open though). Anyway, I switched my wifi to a guest account that for some reason is unblocked, and now I was able to authorize and everything is working perfectly again.
Title: Re: foo_scrobble
Post by: gix on 2017-11-29 20:24:08
I installed this plugin on my work machine. Turns out that for some reason, IT blocks the API request call (I can't explain why Chrome doesn't even open though). Anyway, I switched my wifi to a guest account that for some reason is unblocked, and now I was able to authorize and everything is working perfectly again.
The browser page that should be displayed requires the auth token in the URL, so without any token there's no way to proceed. I admit that the error reporting could be a bit better there.
Title: Re: foo_scrobble
Post by: BPM on 2017-12-03 04:17:36
Does this component support other scrobbling services, such as libre.fm or is it strictly for last.fm only?
Title: Re: foo_scrobble
Post by: eNforcer on 2017-12-05 05:31:14
I haven't been here in forever, but I recovered my account just to say thanks!
Title: Re: foo_scrobble
Post by: jazzthieve on 2017-12-11 04:55:14
For some reason after my antivirus Bitdefender made an update it started catching foo_scrobble.dll as a threat and blocked it. The result is foobar2000 can't access the dll anymore. Strange. All other foobar2000 dll work fine, only foo_scrobble is indicated as a threat.

Bitdefender says: "item was deleted. Threat name: Gen:Suspicious.Cloud.4.Uu8@aya8bPgi. Path: D:\foobar2000_music\user-components\foo_scrobble\foo_scrobble.dll"
Title: Re: foo_scrobble
Post by: EpicForever on 2017-12-11 07:58:33
Looks like bit defender doesn't like the fact that this dll uploads certain data to the Internet... I am guessing it by word 'cloud' invoked in threat name.
Title: Re: foo_scrobble
Post by: kode54 on 2017-12-11 08:09:41
Maybe someone else is insane enough to install their own distribution of vcpkg and install cpprest, so this thing can be built independently and verified?

One of the scanners on VirusTotal seems to think this is a piece of some recent ransomware. Probably a false positive.
Title: Re: foo_scrobble
Post by: gix on 2017-12-13 04:42:13
It certainly is a false positive. Though there obviously is no way for me to prove that. All those vague heuristics are in my experience really unreliable, and of course it's impossible to find out what they actually scan for. And even if I were to release a new clean version you could surmise I was just more careful about hiding it.

Targeting such a small obscure group of users seems like more trouble than it's worth. The good news is, if you are paranoid enough, everything to create your own build is freely available.
Title: Re: foo_scrobble
Post by: kode54 on 2017-12-13 08:20:01
I'm not paranoid. I've gotten false positives for my own work, which all magically went away for that two year period where I paid the Authenticode Cartel for a certificate. $26 for notary public services, to verify my two forms of ID, and $475 to Thawte, bought a handful of people peace of mind. I still think it was a waste, though.
Title: Re: foo_scrobble
Post by: WalterPeck on 2017-12-20 20:07:54
Thank you very much for creating this. It appears to work flawlessly. Just in case it has any influence, I too would appreciate libre.fm functionality to operate in parallel.

Thanks again.
Title: Re: foo_scrobble
Post by: Woodenhead on 2018-01-02 04:56:01
Every time I open foobar, I have to re-authenticate.  And NowPLaying notification fails every time:

foo_scrobble: NowPlaying notification failed (error: 9, Invalid session key. Please re-authenticate.)
Title: Re: foo_scrobble
Post by: gix on 2018-01-03 14:07:24
Every time I open foobar, I have to re-authenticate.  And NowPLaying notification fails every time:

foo_scrobble: NowPlaying notification failed (error: 9, Invalid session key. Please re-authenticate.)
What does the log say when authenticating?
If NowPlaying fails right after, it looks like you don't properly complete the authentication procedure (or it fails).
If it succeeds, does the auth button say "Clear authorization" after closing and reopening the preferences?
If it does, after closing foobar, is there a %appdata%\foobar2000\configuration\foo_scrobble.dll.cfg file? Does anything delete this file?
If it's there, when you view that file in a text editor (Notepad if you don't have anything else), does it end with a string of 32 characters (using only small/uppercase letters, numbers, underscore, like "_AijaIJbA789aA7NMXmanQLKalG8zqDY")?
Title: Re: foo_scrobble
Post by: MordredKLB on 2018-02-15 00:30:40
gix, I don't think I've properly expressed my gratitude for your work here. I've spent a LOT of time working with last.fm scrobbles lately while working on my component, and I've noticed a night and day difference between what last.fm thinks I'm listening to compared to when I was scrobbling with foo_audioscrobbler.

Example: before I heard of your component I listened to Metallica's Binge & Purge album. Last.fm scrobbled most songs from that album (but not all!) with the disc number in the title, i.e. "Binge & Purge (Disc 3)". With zero changes to tags your component correctly scrobbled them with the correct album name.

Because of how awesome this is, you're now the officially supported scrobbler for my foo_enhanced_playcount (https://hydrogenaud.io/index.php/topic,115227.msg952973.html#msg952973) component which pulls last.fm scrobbles.

Keep up the good work.
Title: Re: foo_scrobble
Post by: GrafGantz on 2018-04-27 15:33:18
Couldn't get my Foobar to connect to Last.fm on my new PC with the old plugin, so after some asking around I managed to get here. Grabbed the new plugin and followed the instructions, and got this error message:
(https://i.imgur.com/PAFHoxc.png)

I knew I was still on a fairly older version of Foobar (1.3.10), so I figured that that was the problem. Just upgraded to the latest stable version (1.3.17) but I'm still getting the exact same error message. Anyone got any idea what I'm doing wrong? Any help would be appreciated!
Title: Re: foo_scrobble
Post by: GrafGantz on 2018-04-27 16:08:14
Update: found out about the Visual C++ Redistributable for Visual Studio 2015 x64 library and installed it. Error message is gone now, ticked the "enable scrobbling" box in my preferences in Foobar, requested authorization and got this hopeful message from Last.fm:

(https://i.imgur.com/ZJFWqpE.png)

Strangely enough I still don't see it @ Last.fm in my settings under "applications", and still nothing that I play is scrobbling:

(https://i.imgur.com/WoGulOd.png)

(The Android one that's there is for my phone, I'm trying to add one for my PC)

What am I doing wrong?  :'(
Title: Re: foo_scrobble
Post by: gix on 2018-05-04 11:36:17
What am I doing wrong?  :'(

As the authorization button explains in its tooltip, the authorization process is a three-step process. After granting permission on last.fm you have to go back to foobar2000 and click the button again to finish (and click OK or Apply of course): https://giant.gfycat.com/NippyZigzagBactrian.webm
Title: Re: foo_scrobble
Post by: peersoft on 2018-06-11 12:01:16
Hi,
would it be possible to add a command to scrobble just the selected track? Sometimes I am listening to music from various sources and don't like every song played so have scrobbling turned off. Then, when any track interests me, I would like to scrobble it right now. It could be part of context menu or available for binding to a keystroke. Thanks for feedback.
Title: Re: foo_scrobble
Post by: fluxcore on 2018-06-26 01:27:07
Trying to run this under wine and getting the following error:

Failed to load DLL: foo_scrobble.dll
Reason: Unknown error code (317)

I've installed the vc redist and tried a couple of different reported OS versions under wine.

Any ideas what the 317 code represents?
Title: Re: foo_scrobble
Post by: kode54 on 2018-06-26 08:54:42
https://docs.microsoft.com/en-us/windows/desktop/api/winternl/nf-winternl-rtlntstatustodoserror

Quote
ERROR_MR_MID_NOT_FOUND is returned when the specified NTSTATUS code does not have a corresponding system error code.

Sounds like a Windows NT internal error. Or, in the case of Wine, unimplemented functionality.
Title: Re: foo_scrobble
Post by: fluxcore on 2018-06-27 00:33:17
Trying to run this under wine and getting the following error:

Failed to load DLL: foo_scrobble.dll
Reason: Unknown error code (317)

I've installed the vc redist and tried a couple of different reported OS versions under wine.

Any ideas what the 317 code represents?

Running from command line (dur) showed the following exception:

wine: Call from 0x7b43c04c to unimplemented function concrt140.dll.??0_ReentrantBlockingLock@details@Concurrency@@QAE@XZ, aborting

Bug was fixed in wine 2.3: https://bugs.winehq.org/show_bug.cgi?id=42138

Debian stretch packages wine version 1.8.7-2, or wine-development version 2.0-3, both of which are too old.

stretch-backports packages wine version 3.0.1-2~bpo9+1, so I installed that version and the error goes away, component now seems to work correctly :)
Title: Re: foo_scrobble
Post by: kode54 on 2018-06-27 00:46:43
Yeah, Wine is one of those things you don't really want to use old versions for if you don't have to. This happens to be a case of their implementation of some C runtime library, and an old version having a placeholder just so they can catch reports of unimplemented functions. Those bug reports would be useless now, though, as you usually have to be running either latest stable or Git HEAD to qualify for bug reporting.
Title: Re: foo_scrobble
Post by: Foobrother on 2018-07-08 20:21:46
@gix I have the same issue as @GrafGantz
Code: [Select]
Failed to load DLL: foo_scrobble.dll
Reason: This component is missing a required dependency, or was made for different version of foobar2000.

I have the latest version of Foobar2000 (1.3.19) and I installed Visual C++ Redistributable for Visual Studio 2015 x64 library.
I'm using Windows 7 64 bit (6.1 Build 7601 SP1) up to date.

I found a tool called Dependency Walker and it shows some dependency problems but I have no idea what needs to be installed to get them. You can see a screenshot of the result attached.

Any idea what's wrong?
Title: Re: foo_scrobble
Post by: kode54 on 2018-07-09 01:57:10
Dependency walker has never been able to locate those dependencies, as far as I know, even on systems which have them.
Title: Re: foo_scrobble
Post by: arch21 on 2018-07-09 02:26:52
@gix I have the same issue as @GrafGantz

I have the latest version of Foobar2000 (1.3.19) and I installed Visual C++ Redistributable for Visual Studio 2015 x64 library.
I'm using Windows 7 64 bit (6.1 Build 7601 SP1) up to date.

Any idea what's wrong?

Github readme says:
Prerequisites
You may have to install Visual C++ Redistributable for Visual Studio 2017. Windows 7 also requires Update for Windows 7 (KB2999226) which usually is already installed via Windows Update.
Title: Re: foo_scrobble
Post by: Foobrother on 2018-07-09 18:45:31
Thanks! It turns out I needed the x86 version of Visual C++ Redistributable for Visual Studio.  ::)
Didn't realise foobar2000 was in 32bit
Title: Re: foo_scrobble
Post by: gix on 2018-07-10 21:26:09
I found a tool called Dependency Walker and it shows some dependency problems but I have no idea what needs to be installed to get them. You can see a screenshot of the result attached.
Dependency Walker sadly hasn't been updated in a long time and fails on newer Windows versions that use ApiSets. I suggest using https://github.com/lucasg/Dependencies if you ever have a similar problem in the future.
Title: Re: foo_scrobble
Post by: stealthswor on 2018-09-28 19:10:47
Hello, I can't seem to get my scrobbles to be properly authenticated. I have reset my authentication and it's showing its connected on the main web but it doesn't seem to be working properly.

Code: [Select]
Components loaded in: 0:00.017404
Configuration read in: 0:00.002188
Watching: C:\Users\sword\Music
User Interface initialized in: 0:00.077968
foo_scrobble: Submitting 16 of 16 cached tracks
Loading
Autoplaylists initialized in: 0:00.006920
"Anime" : 0:00.001296
"EDM" : 0:00.000755
"J-Pop" : 0:00.000751
"J-Rock" : 0:00.000762
"Pop" : 0:00.000902
"Rap" : 0:00.000745
"Rock" : 0:00.000783
"VN" : 0:00.000876
Startup time : 0:00.149618
foo_scrobble: Scrobbling failed (error: 9, Invalid session key. Please re-authenticate.)
Opening track for playback: "C:\Users\sword\Music\Rise Against - The Sufferer and the Witness\04. Bricks.mp3"
Opening track for playback: "C:\Users\sword\Music\Rise Against - The Sufferer and the Witness\04. Bricks.mp3"
foo_scrobble: Queuing scrobble (Unauthenticated)
Title: Re: foo_scrobble
Post by: gix on 2018-10-31 20:52:00
Hello, I can't seem to get my scrobbles to be properly authenticated. I have reset my authentication and it's showing its connected on the main web but it doesn't seem to be working properly.

Code: [Select]
Components loaded in: 0:00.017404
Configuration read in: 0:00.002188
Watching: C:\Users\sword\Music
User Interface initialized in: 0:00.077968
foo_scrobble: Submitting 16 of 16 cached tracks
Loading
Autoplaylists initialized in: 0:00.006920
"Anime" : 0:00.001296
"EDM" : 0:00.000755
"J-Pop" : 0:00.000751
"J-Rock" : 0:00.000762
"Pop" : 0:00.000902
"Rap" : 0:00.000745
"Rock" : 0:00.000783
"VN" : 0:00.000876
Startup time : 0:00.149618
foo_scrobble: Scrobbling failed (error: 9, Invalid session key. Please re-authenticate.)
Opening track for playback: "C:\Users\sword\Music\Rise Against - The Sufferer and the Witness\04. Bricks.mp3"
Opening track for playback: "C:\Users\sword\Music\Rise Against - The Sufferer and the Witness\04. Bricks.mp3"
foo_scrobble: Queuing scrobble (Unauthenticated)

What does the log say when you authenticate?
Title: Re: foo_scrobble
Post by: hinafu on 2019-01-04 21:29:51
Thanks a lot for the plug-in!!

This particular radio station I listen switches the title and the artist tags, but the plug-in supports this so it's no problem! (I'll only be able to stream this radio on Foobar but I use other players for my local files anyway).

(https://i.imgur.com/Xk9ZZpx.png)

Thanks again!!  O:)  O:)
Title: Re: foo_scrobble
Post by: addawd on 2019-01-24 15:19:51
can automatic scrobble submitting be disabled? can that be implemented?
Title: Re: foo_scrobble
Post by: rokkokko on 2019-03-31 17:07:58
Hi gix, I have the same problem as stealthswor, it's saying "Unauthenticated" even though I am.
When I dis- and reconnected, the console said this:
Code: [Select]
foo_scrobble: Queuing scrobble (Unauthenticated)
Found 0 plays in last.fm (since last recorded scrobble) of The Donald
foo_scrobble: Requesting auth token
foo_scrobble: Received auth token: l5ddvT183mazWLqa3NmNmd9s2k_mnzQZ
foo_scrobble: Requesting session key
foo_scrobble: New session key: xRnifLPucw9JW3rpdMv9ZNNhRlINfPeQ
foo_scrobble: Queuing scrobble (Unauthenticated)
No errors, no nothing.

Edit: And on startup, this is what it says:
Code: [Select]
foo_scrobble: Scrobbling failed (error: 9, Please re - authenticate.)
Title: Re: foo_scrobble
Post by: Odinos on 2019-03-31 19:32:08
...

Same here.
Title: Re: foo_scrobble
Post by: rokkokko on 2019-04-01 14:58:28
I haven't gotten the opportunity yet to check if it works again, but I've heard that people are having this problem with other scrobblers as well and that last.fm is just having trouble right now, apparently. So the problem is probably on last.fm's part.
Title: Re: foo_scrobble
Post by: loz on 2019-04-02 22:53:21
You may have to reauthorize foo_scrobble again.

via Twitter (https://twitter.com/lastfmstatus)
Quote from: Last.fm Official Response
Good morning everyone, 

Yesterday afternoon we experienced a brief outage at our datacentre which unfortunately caused many connected api keys / active sessions to get automatically logged out. The root issue has now been resolved, but if you've been affected by this, then I'm afraid you will need to reconnect and re-authenticate all of the applications connected to your Last.fm account.  We apologise for any inconvenience caused by this. 

You can view your connected applications in your settings here: https://www.last.fm/settings/applications  If the app(s) you're using are not listed, they will need to be reconnected - please follow each app's instructions for how to do this.  You can also find more information on how to connect to the most popular scrobblers here and here.

  Note that if an app says you're connected, but still doesn't work or gives you an error, you may need to first disconnect it and then re-auth again.  Failing this, you may need to do a fresh reinstall of the app, or reset it (e.g. you may need to do this if you're using the foo_scrobble component, detailed steps can be found here ). 

Please also note that to fix the problem we had to roll back a configuration setting at 1am this morning which would have logged everyone out of everything again -- if you had successfully reconnected all of your apps last night, then I'm afraid you may find that you've been logged out once again, and will need to reconnect one more time. 

Once again, we're sorry for any inconvenience this disruption has caused.
Title: Re: foo_scrobble
Post by: Masza on 2019-05-13 23:25:40
I get
Code: [Select]
foo_scrobble: Scrobbling failed (error: 9, Please re - authenticate.)
on startup.

and
Code: [Select]
foo_scrobble: Queuing scrobble (Unauthenticated)
after a track is played.

I have reauthorized the plugin, no luck. It won't scrobble.
Title: Re: foo_scrobble
Post by: D2Synua on 2019-05-30 19:07:23
How do you actually install this? The read me file is the most useless thing I've seen in my entire life. "Tools > Last.fm Scrobbling" doesn't exist since there's no clear way for me to interpret where to actually place the files from foo_scrobble.
Title: Re: foo_scrobble
Post by: WalterPeck on 2019-05-30 19:09:39
How do you actually install this? The read me file is the most useless thing I've seen in my entire life. "Tools > Last.fm Scrobbling" doesn't exist since there's no clear way for me to interpret where to actually place the files from foo_scrobble.

An easy way is to open up the Foobar2000 preferences and navigate to the Components section. Click the install button and browse to the file. Apply. Restart. Done.
Title: Re: foo_scrobble
Post by: gix on 2019-06-03 18:04:51
How do you actually install this? The read me file is the most useless thing I've seen in my entire life. [...]
No need to be rude. The readme there is mostly for the development side, but I'll change it. You install this component like any other. If you have a default foobar2000 installation, you can just double-click .fb2k-component files and foobar2000 installs them. The second way, also described at "How to install a component" (https://wiki.hydrogenaud.io/index.php?title=Foobar2000:How_to_install_a_component), is to use the Install button in the foobar2000 preferences dialog. You can also just drag the .fb2k-component file onto the component list in the foobar2000 preferences.
Title: Re: foo_scrobble
Post by: Chronial on 2019-06-04 23:32:28
Thx for this nice component :)
Title: Re: foo_scrobble
Post by: mainevent on 2019-06-08 04:54:17
I get
Code: [Select]
foo_scrobble: Scrobbling failed (error: 9, Please re - authenticate.)
on startup.

and
Code: [Select]
foo_scrobble: Queuing scrobble (Unauthenticated)
after a track is played.

I have reauthorized the plugin, no luck. It won't scrobble.

same issue here with Queuing scrobble (Unauthenticated) error
Title: Re: foo_scrobble
Post by: mainevent on 2019-06-08 05:40:29
so i just checked my brother's computer to see if the component was working on his and it is. the difference was that he hadn't updated to 1.3.1 and was still on 1.1.0. tried 1.1.0 on my computer and the Queuing scrobble (Unauthenticated) error went away. it's now scrobbling the way it's supposed to.
Title: Re: foo_scrobble
Post by: Masza on 2019-06-29 12:11:31
I got 1.3.1 working by removing it, installing it again, clearing authorization and requesting it again.
Title: Re: foo_scrobble
Post by: mainevent on 2019-07-01 07:44:21
worked over here too. now why didn't I think of that?
Title: Re: foo_scrobble
Post by: RichF on 2019-08-12 15:37:06
Just tried to install this for the first time and am getting "Could not load component "foo_scrobble.fb2k-component": I/O error (win32 #87)"
Title: Re: foo_scrobble
Post by: dkg on 2019-10-05 19:31:32
Hi.  First, a disclaimer: The issue I'm about to describe occurs on a system running fb2k in wine on funtoo linux.  That said, I have not reproduced the conditions on a Windows system, and may affect those as well.  I recently switched over to foo_scrobble since finding some 800 scrobbles in the submit queue that I didn't know about.  Since changing over, I've had a number of fb2k crashes (which are usually very rare).  I have intermittent ISP connection errors on this system, and the crashes happen when the internet connection is down.  I can only conclude that foo_scrobble is reacting poorly when it can't connect to the last.fm servers.  Has any one else seen this?  Can someone other user here try to reproduce?

Thanks.
SimplePortal 1.0.0 RC1 © 2008-2019