Hey,
I maintain Ampache and it has an XML api (
https://github.com/ampache/ampache/wiki/XML-API)
All i want to do i have MC send a scrobble request to the Ampache server.
This scrobble consists of:
A Handshake with the server to authenticate:
https://music.org/server/xml.server.php?action=handshake&auth=920356674hth6ry45334534575a7f4de2&version=350001
This will return an xml file with session key details (the auth section is your new key)
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<auth><![CDATA[de569545g456g4564564g5g645g12c7e]]></auth>
<api><![CDATA[400001]]></api>
<session_expire><![CDATA[2019-09-25T14:13:22+10:00]]></session_expire>
<update><![CDATA[2019-09-10T15:58:10+10:00]]></update>
<add><![CDATA[2019-09-25T05:10:19+10:00]]></add>
<clean><![CDATA[2019-09-25T05:09:56+10:00]]></clean>
<songs><![CDATA[257084]]></songs>
<albums><![CDATA[24698]]></albums>
<artists><![CDATA[10446]]></artists>
<playlists><![CDATA[20]]></playlists>
<videos><![CDATA[0]]></videos>
<catalogs><![CDATA[3]]></catalogs>
</root>
Then you send the scrobble with the track details:
https://music.org/server/xml.server.php?action=scrobble&auth=de569545g456g4564564g5g645g12c7e&version=350001&title=(string)&artist=(string)&album=(string)&MBtitle=(string)&MBartist=(string)&MBalbum=(string)&time=1569381435&client=JRiver
Which will send you an error or success message:
<?xml version="1.0" encoding="UTF-8" ?>
<root>
<error code="401"><![CDATA[Session Expired]]></error>
</root>
Should i download the sdk and have a go? it seems like this can't be done with web services?