01-30-2019, 04:01 PM
(This post was last modified: 01-30-2019, 04:03 PM by TheOldPresbyope.
Edit Reason: added last clause
)
I'm neither a regular user of last.fm nor an expert on its operation, but I took 10 minute to read its API.
The "last played" info is sent to last.fm in one service request and the "scrobble" info is sent in another.
Here's a snippet from the mpdas source code
Basically, it says that if last.fm returns lfm status="ok" to the scrobble service request, then print "Scrobbled successfully". (You can read more about the scrobble service request and the lfm status parameter at https://www.last.fm/api/scrobbling)
It seems to me that if you are seeing this message in mpdas output but not seeing your track show up in your last.fm account, then you need to query the maintainer of the mpdas source code (using the issues log at https://github.com/hrkfdn/mpdas), or possibly the query the last.fm folks about possible post-receipt filtering.
Regards,
Kent
The "last played" info is sent to last.fm in one service request and the "scrobble" info is sent in another.
Here's a snippet from the mpdas source code
Code:
OpenURL(GetServiceURL(), CreateScrobbleMessage(0, entry).c_str());
if(_response.find("<lfm status=\"ok\">") != std::string::npos) {
iprintf("%s", "Scrobbled successfully.");
retval = true;
}
else if(_response.find("<lfm status=\"failed\">") != std::string::npos) {
eprintf("%s%s", "Last.fm returned an error while scrobbling:\n", _response.c_str());
if(CheckFailure(_response))
Failure();
Basically, it says that if last.fm returns lfm status="ok" to the scrobble service request, then print "Scrobbled successfully". (You can read more about the scrobble service request and the lfm status parameter at https://www.last.fm/api/scrobbling)
It seems to me that if you are seeing this message in mpdas output but not seeing your track show up in your last.fm account, then you need to query the maintainer of the mpdas source code (using the issues log at https://github.com/hrkfdn/mpdas), or possibly the query the last.fm folks about possible post-receipt filtering.
Regards,
Kent