Please note this plugin is written in C++ and C#, and compiled on Visual Studio 2015, so the requirements are a bit more than usual.If it's not already the case, you will have to install the MSVC++ 2015 redistributables, and the .Net Framework 4.6.This means the plugin won't work on XP or lower.

hi yaurthek, this is good news! I was going to implement in the coming weeks an updated version using the new last.fm rest api. but it seems you already did that ^^. I'll try your plugin in the coming days.

Running both xmp-scrobbler and xmp-sharp-scrobbler simultaneously and playing single (or separated subsong) tracks, I get doubled entries on my last.fm profile as is well expected. But if I keep cue'd files as single playlist entries and just have XMPlay advance through the subsongs, xmp-sharp-scrobbler does broadcast the "Now playing" message for the first subsong but after that it goes silent. Only 1 set of tracks is scrobbled and according to xmp-scrobbler's log, it's working normally.

EDIT: Looks like xmp-sharp-scrobbler DOES scrobble the first track later, possibly after it's done playing the whole file.

EDIT2: The new xmp-scrobbler seems to sometimes get confused about track counts and durations much easier than 0.9.7-pre did. For example here:

Finally! the bug fixing regarding cue file took more time than expected.

Changelog:- Code refactoring: rewrite part of code handling .cue file, should fix most of the existing issues.- Code refactoring: simplified a bit the internal timers.- Built with mingw-w64 for now, i don't like the current free visual studio anymore.

This means that this version doesn't require visual studio c++ runtime anymore. However the g++ runtime (and also libcurl) are now provided in the -bin archive, just extract it in the same directory as the xmp-scrobbler.dll file.

Using xmp-scrobbler 0.9.8.3, the last character seems to be truncated on some tags. The tag in question doesn't even seem to contain unicode characters, so this is somewhat puzzling. XMPlay itself displays the title correctly everywhere, but even in the plugin's log file the last character is always missing. I'll send you the file in a private message so that you can check if it's a plugin issue.

It appears that the latest version no longer ignores tracks if you skip around in them, is this intentional? I recall that the old behaviour was "required" (or let's rather say encouraged) in the protocol - did that change?

I just noticed dukzcry has apparently forked this repo and worked a bit on the source (not for a while though), so I updated it.

Nah, just reformatted xander's code broken formatting with astyle so it could be easily diff'ed against yagood original code for changes. So the only branches to checkout are 0.8, 0.9.6, 0.9.7pre, everything else is an acid driven utter crap or local hacks in other words, please ignore them (was reluctant to rm them). Master branch is safe only after you revert the last commit (but then its equal to "0.8"), sorry. yaurthek if you will find time, please remove other branches including main in your fork, thanks

I usually leave XMPlay open (stopped), and only use Hibernate on my laptop. And after a longer while (hours, like from one evening to the next) in which XMPlay doesn't play anything, when I start playing, xmp-scrobbler logs something like this:

2016-02-22 19:09:42[INFO] Preparing to submit 1 track(s) from the cache2016-02-22 19:09:42[DEBUG] Submitting...2016-02-22 19:09:43[DEBUG] Submission failed: bad authorization.At this point, I have to close and re-open XMPlay, and then everything works. I don't have to re-insert my credentials, so they are stored correctly.

My guess is that some kind on cookie/session/whatever expires so xmp-scrobbler shows that error. My suggestion would be to auto-retry a login with the saved credentials, and only show the error if the auto-retry fails. Could this be added, please?

P.S.: Disabling and re-enabling xmp-scrobbler from its options doesn't help.

I seem to have found a dodgy cue sheet that causes playback to hang as long as xmp-scrobbler is active.It should work with any file, so I will just attach the cue sheet without the MP3 it belongs to. Rename it to the same name as some audio file in the same directory (minus the extension, of course), add it to XMPlay and un-separate the subsongs into a single playlist entry. Audio playback should stop as soon as the song info is being fetched (which happens after 10 seconds here due to delayed info fetch).