WACUP

General => General Discussion => Topic started by: Dr.Flay on June 30, 2020, 08:34:23 AM

Title: Last.fm scrobbler info
Post by: Dr.Flay on June 30, 2020, 08:34:23 AM
General notes for Last.fm scrobbler users

Ignore the new Last.fm scrobbler as it does not have a winamp plugin, or support the old one.
https://www.last.fm/download/windows
The old legacy scrobbler (v2.1.37) works fine but will install the plugin to Winamp plugins folder not WACUP.
It will be named either "gen_wa2_scrobbler.dll" or "ml_wa2_scrobbler.dll" (no idea why it varies but on my Win10 PC it has the "gen" prefix, and on the Win7 PC has the "ml" prefix).
Move it to the WACUP plugin folder and it will work.

Now importantly you need to update the OpenSSL libs to current secure versions.
You need branch 1.0.2 which is currently on life support phase, so expect updates to end soon.
https://wiki.openssl.org/index.php/Binaries
You will want an x86 32bit build.
Copy the 2 DLL files to the last.fm program folder and overwrite the old ones.
Title: Re: Last.fm scrobbler info
Post by: dro on June 30, 2020, 09:34:32 PM
The gen_wa2_scrobbler.dll vs ml_wa2_scrobbler.dll aspect is a historical thing based on the install type (i.e. whether the media library is installed or not) & also for some setups due to how dll loading worked which could vary especially if using FAT32 vs NTFS which altered which dlls got loaded.

Often that meant the ml version was more likely to hook things correctly compared to the gen version (especially with catching playback started early on in loading) but most of what led to that was resolved with later Winamp versions where 3rd party plug-ins were changed to be loaded after the native plug-ins which for the most part negates needing to use one version over the other.

-dro
Title: Re: Last.fm scrobbler info
Post by: Dr.Flay on July 01, 2020, 03:30:12 AM
Thanks for the clarification.
Personally I think it is better added to the general section anyway, as it has no config to change and it does not add anything to the media library, or interact with it.
Title: Re: Last.fm scrobbler info
Post by: Traveller on August 08, 2020, 03:59:51 PM
Hi, I have struggled over a year trying to get the Last.fm legacy scrobbler to work with Winamp 5, and after futile attempsts, I have now installed the latest WACUP, but I can't get the Last.fm legacy plugin to function, because I don't have clear, precise and easy to follow instructions, how to do this. I found and copied the legacy plugin into WACUP "Plugins" directory, which in my Windows 10, was named "ml_wa2_scrobbler.dll" (in the WInamp 5 plugin folder.)
But the next part I don't understand...

Could you please clarify the exact procedure for updating the SSL libaries.
These notes you gave are unfortunately are too vague to follow - at least for me...
So, here are my questions:

1) What exactly am I suppose to download: On the web link you provided, (https://wiki.openssl.org/index.php/Binaries),
There are 5 different packs named "OpenSSL for Windows"... - Which one of these am I supposed to download, and what do I do then?

2.) Is there an installation EXE or MSI I would need to run in order to install the required SSL libraries?

3.) Which *.dll files I am supposed to copy, from where, and into which folder(s) these need to be copied?

Many thanks in advance, for any help will be greatly appreciated!

P.S: My O/S is Windows 10 64-bit build 2004.
Title: Re: Last.fm scrobbler info
Post by: dro on August 09, 2020, 12:29:46 AM
Before even trying to update supporting dlls on the last.fm client, does the plug-in even show as loaded in WACUP?

It'll be listed either under preferences -> plug-ins -> media library or general purpose (depending on what you've copied & what you WACUP install is like).

If it is then you also need to be sure that the last.fm program does run normally otherwise the plug-in being loaded won't be able to do anything (from memory it's meant to be automatically started by the plug-in but that sometimes fails).

If the plug-in isn't loaded or not showing at all (e.g. there's no media library prefs list) then either rename it to the gen version or report back with what error is being reported.

-dro
Title: Re: Last.fm scrobbler info
Post by: Dr.Flay on August 09, 2020, 02:33:56 AM
If the plugin loads then the last.fm client should open if it is not already.

Make sure you have logged into Last.fm in the desktop client.

Any of those OpenSSL alternatives should work as long as it is the correct branch.
For example go to the first option
https://slproweb.com/products/Win32OpenSSL.html
Here there is light and full versions. Full is for developers so you want the light version of 1.0.2.
This version is distributed as an installer which will offer to install to the system or a folder. It contains more files than you will need, so install to a temp folder you can delete afterwards if you don't need to update other programs that use the same branch.
Copy the 2 DLLs into the folder with the last.fm program in it.
Title: Re: Last.fm scrobbler info
Post by: hans-jürgen on September 07, 2020, 06:45:30 AM
General notes for Last.fm scrobbler users
Now importantly you need to update the OpenSSL libs to current secure versions.
This is necessary for all Windows versions, right? Sometimes Last.fm users report problems with the legacy desktop scrobbler on Windows XP, not necessarily with Winamp or WACUP though. And thanks for your summary, I will send WACUP users here if they have problems with scrobbling. 😉

I guess the standalone scrobbler plugin for WACUP is still on the todo list, as I noticed the placeholder message in the settings? Also thank you for explaining the differences between the two names for the plugin, I wasn't sure about that as well.
Title: Re: Last.fm scrobbler info
Post by: dro on September 10, 2020, 02:33:38 AM
I guess the standalone scrobbler plugin for WACUP is still on the todo list, as I noticed the placeholder message in the settings?
Correct.

Also thank you for explaining the differences between the two names for the plugin, I wasn't sure about that as well.
Spreading the knowledge can be useful ;)

-dro
Title: Re: Last.fm scrobbler info
Post by: mts on November 22, 2020, 05:08:18 PM
Hi
I have the same issue. How to scrobble to last.fm
The solution i found is to use the installer from Last.fm desktop application
I ran the file C:\Program Files (x86)\Last.fm\plugins\WinampPluginSetup_2.1.0.11.exe This file come from the last fm application desktop folder.
The plugin has been installed in Wacup because i change the path in the installer.
After winamp doesn't scrobble anymore but Wacup it does.

First I copied the file C:\Program Files (x86)\Winamp\plugins\ml_wa2_scrobbler.dll to C:\Program Files (x86)\Wacup\plugins. But in the preference i can see a pb of reference. Some files (dll ?) were missing.

MTS
Title: Re: Last.fm scrobbler info
Post by: Dr.Flay on November 23, 2020, 01:16:20 AM
No other files are needed.
It should look like this
Title: Re: Last.fm scrobbler info
Post by: dro on November 23, 2020, 06:17:03 AM
But in the preference i can see a pb of reference. Some files (dll ?) were missing.
If what you're referring to is under the 'Playback' preferences node then that is not related to the various scrobbler plug-ins & was meant to get me to make a replacement sooner but that hasn't happened. However I may as an interim solution add something onto that preference page so it's easier to get a known copy of the scrobbler plug-in installed without having to deal with the hard-coded paths that the last.fm/scrobbler plug-in installers assume.

If you mean something else then I need more information or a screenshot for where you're looking.

-dro
Title: Re: Last.fm scrobbler info
Post by: mts on November 23, 2020, 06:14:31 PM

If what you're referring to is under the 'Playback' preferences node then that is not related to the various scrobbler plug-ins & was meant to get me to make a replacement sooner but that hasn't happened. However I may as an interim solution add something onto that preference page so it's easier to get a known copy of the scrobbler plug-in installed without having to deal with the hard-coded paths that the last.fm/scrobbler plug-in installers assume.

If you mean something else then I need more information or a screenshot for where you're looking.

-dro

No at the first i copied ml_wa2_scrobbler.dll from winamp to wacup plugin folder. The media library plugin page showed the plug-in scroobled but with a message. This message was about a reference issue. I though about a missing file.
I didn't see the item scrobbler in playback node from preference page.

Before you can make a new standalone plug-in in wacup. In the item you're talking about  you can put a link to this page https://www.last.fm/about/trackmymusic or directly to the last-fm scrobbler that works with winamp or wacup https://www.last.fm/download/windows

MTS

Title: Re: Last.fm scrobbler info
Post by: dro on November 24, 2020, 11:02:25 PM
I've had a look into this again & the provided WinampPluginSetup_2.1.0.11.exe plug-in installer from the legacy Windows installer will install into the correct plug-ins folder only as long as it's specified with the problem that it's assuming a default Winamp install location.

I've determined it's been built using the Inno installer & I can use the /DIR="path" via the command-line to force the correct location to be used. So what I'll do is add some information / actions onto the scrobbler stub preferences page as a means to more easily get something installed which should hopefully make this less painful to do.

-dro
Title: Re: Last.fm scrobbler info
Post by: mts on November 25, 2020, 11:16:41 PM
When i run WinampPluginSetup_2.1.0.11.exe, the installer ask the winamp or wacup folder installation. see print screen.
Then i could be useless to use the command line /DIR if the user run manually this file.
If I well remenber Last-fm installer run this file automatically  but i'm not sure.

MTS
Title: Re: Last.fm scrobbler info
Post by: dro on November 26, 2020, 01:04:09 AM
I'm not saying you need to do things via the command-line. I'm saying that I'm going to be providing a means for WACUP to try & find the installer & do what's needed without you the user having to do anything like remembering to check the install folder to use.

-dro
Title: Re: Last.fm scrobbler info
Post by: Traveller on December 22, 2020, 09:11:36 AM
Copy the 2 DLLs into the folder with the last.fm program in it.

I thank you very much for at least trying to provide me the help I need, but the info is still almost as vague as before, and I am not much wiser now than 4 months ago...

This information would be extremely useful, if you could explain exactly which "2 DLLs" I need to copy into the Last.fm folder?
In the root directory there are these two dlls:

OpenSSL-Win32 root directory has only these two dlls: "libcrypto-1_1.dll" and "libssl-1_1.dll". - Are these the 2 dlls you referred to?

And further: Do I copy these 2 DLLs into the root directory of "Last.fm" or into the "Plugins" -folder in the "Last.fm" directory?

And finally: Do I need to copy these 2 dlls anywhere else? (If I do need to copy theme anywhere else, please tell me where)

And one more question: Is there any difference regarding Last.fm scrobbling from WACUP functionality, if I install 64-bit or 32 bit version of these OpenSSL libraries?

Many thanks for your continued patience in trying to resolve this annoying issue!
And... I do hope that the next release of WACUP would contain ready installed Last.fm scrobbling function!

Title: Re: Last.fm scrobbler info
Post by: mts on December 22, 2020, 04:55:47 PM
HI traveller
I didn't need to update SSL about last.fm scrobbler
Perhaps the plugin folders are confusing.
1 download the scrobble app from last.fm https://www.last.fm/download/windows
2 install it. Fill your last.fm account.
3 you can run manualy the winamp installation plugin with menu file/ Install plug in / winamp. Or run it at c:\Program Files (x86)\Last.fm\plugins\WinampPluginSetup_2.1.0.11.exe
4 give the wacup folder while installation.
5 check that the file C:\Program Files (x86)\WACUP\Plugins\ml_wa2_scrobbler.dll is present
6 Check this previous file isn't in %AppData%\WACUP\Plugins
7 check as here  (https://getwacup.com/community/index.php?action=dlattach;topic=883.0;attach=1864;image)  https://getwacup.com/community/index.php?action=dlattach;topic=883.0;attach=1863 (https://getwacup.com/community/index.php?action=dlattach;topic=883.0;attach=1863) that  you see the plug-in  in winamp preference. ctrp^p to access to preference.
8 active the plugin in Wacup with the check-box as the print screen.
9 enjoy
Title: Re: Last.fm scrobbler info
Post by: Traveller on June 18, 2025, 01:20:11 PM
Hello there! I know it's been five years since I last posted about this. I should have posted my solution right away, after I finally had resolved the issue, but since I did not get Last.fm to work with WACUP, I tried, tested and failed countless times, untill I got Last.fm -legacy scrobbler to work with old Winamp. So, I gave up on WACUP (feeling frustrated and slightly put-off for WACUP) and then forgot about it. But I understand that WACUP now fully supports Last.fm scrobbling, or am I mistaken? This means that I can stop using my old Winamp and start finally using WACUP! - I need to test the newest release and see how it works...  8)

However, just in case if anyone is interested... in my case, I got Last.fm legacy scrobbler to work with old Winamp 5 in following way:

      1) Install Winamp v5.666 (This was the latest version I got this thing working with.)
      
      2) Install Last.fm legacy scrobbler v2.1.37
      
      3) Confirm that Winamp plugins folder has both in_mp3.dll (should be v4.103.0.0 - if not, search and download installer for in_mp3__4_103__winamp5666_3512),
         and either ml_wa2_scrobbler.dll or gen_wa2_scrobbler.dll in it, either one should work.

      4) (Search, locate and download required SSL libraries) and copy DLL -files libeay32.dll and ssleay32.dll,
         in Windows 10, into C:\Program Files (x86)\Last.fm\plugins

This has been now working without problems for the past 5 years! Thanks for everyone concerned!
         
Title: Re: Last.fm scrobbler info
Post by: mts on June 18, 2025, 03:40:02 PM
Hi 5 years
It's so long
But i'm still here too
I'm listening music with Wacup now. I don't use anymore winamp. I still have it on my PC in case of. wma is not well handle by Wacup. Now you can listen WMA. but it the only thing.
I don't use the Wacup plugin because I use the last.fm scrobbler 2.1.37. I think is the legacy.
See my prints screen.

MTS
Title: Re: Last.fm scrobbler info
Post by: dro on June 19, 2025, 11:32:57 AM
But I understand that WACUP now fully supports Last.fm scrobbling, or am I mistaken?
It's been a native feature for over a year as of this reply & in the time between your posts I'd added a helper mode for getting the appropriate 3rd party plug-in into the wacup install though that was removed when I implemented my own code since the legacy plug-in / scrobbler client doesn't work with the 64-bit builds of WACUP hence needing to implement it natively even if many still keep using the old plug-in with the quirks that it brings.
Title: Re: Last.fm scrobbler info
Post by: Traveller on June 20, 2025, 10:55:50 AM
This is very interesting! During this weekend (after sobering up after the midsummer festivities) I'm doing a full build and setup on my brand new state-of-the-art high end gaming PC, and WACUP will be one of the very first apps I want to install. Last.fm scrobbling is for me really important feature, so I hope everything works, as some of the worst idiocies in old Winamp have really started to bug me... Thank you very much once again for this!  :)
Title: Re: Last.fm scrobbler info
Post by: ivars on July 03, 2025, 08:45:24 AM
I just noticed recently that the old plugin stopped working, so tried the native method. Works very well, but the downside is that it doesn 't reflect on the Last.fm Desktop app. I always had it open when playing to have the nice summary of the artist and song scrobbling. Now it just shows the blank screen as if WACUP wasn 't even open.
Title: Re: Last.fm scrobbler info
Post by: dro on July 03, 2025, 08:55:39 AM
WACUP's handling connects directly to their site api & afaict the desktop client was never a documented thing plus I thought that had long since been moved to legacy / unsupported which is why I went the way I did. Though I was under the impression that their desktop client plug-in for winamp still worked in wacup as I've kept seeing it in the crash reports so am possibly wrongly assuming it'd still work (it requires manually copying that plug-in into wacup's plug-in folder since I removed the handling that was in place to try to do that via my prefs when I implemented my mode over a year ago iirc).
Title: Re: Last.fm scrobbler info
Post by: ivars on July 03, 2025, 09:06:20 AM
Though I was under the impression that their desktop client plug-in for winamp still worked in wacup as I've kept seeing it in the crash reports so am possibly wrongly assuming it'd still work (it requires manually copying that plug-in into wacup's plug-in folder since I removed the handling that was in place to try to do that via my prefs when I implemented my mode over a year ago iirc).

I think it only stopped working since the last update to 1.99.34.
It now shows an exclamation mark and the text "This plug-in won't load because it wasn't compiled to be DEP/NX-bit compatible"
Title: Re: Last.fm scrobbler info
Post by: dro on July 03, 2025, 09:23:58 AM
I broke plug-in loading, wonderful.
Title: Re: Last.fm scrobbler info
Post by: Ixlandia on September 13, 2025, 03:17:51 PM
Just installed a new version 1.99.39.22656 (x64) and noticed that in Playback -> Last.fm Scrobbler, you can only authorize a player on Last.fm site when you turn the Windows 11 firewall off. Otherwise, you receive a message on the site stating that WACUP is authorized, but the Status panel continues to show "waiting for the authorization," and scrobbling does not work. After you have successfully authorized the player, you can turn your firewall on again, and the scrobbling works.
Title: Re: Last.fm scrobbler info
Post by: King Mustard on February 03, 2026, 12:52:30 PM
I would not mind an update on this, if possible.

I have created an updated Topic here:

https://getwacup.com/community/index.php?topic=2527.0