Patch to make Ampache server work with 3.4.x and 3.5.x Authentication models

Mark Kretschmann kretschmann at kde.org
Wed Feb 18 06:55:40 CET 2009


On Wed, Feb 18, 2009 at 1:54 AM, Dan Meltzer
<parallelgrapefruit at gmail.com> wrote:
> On Tue, Feb 17, 2009 at 6:27 PM, Karl Vollmer <vollmer at ampache.org> wrote:
>> Attached is a svn diff that should allow Amarok2 to authenticate to
>> 3.4.x and 3.5.x Ampache servers. The Ampache service now requires QCA2
>> due to the use of SHA256() Thanks a to nhnFreespirit for working his
>> cmake-fu on the QCA2 cmake stuff.
>>
>> This patch works by attempting to get a results set from
>> /xml.server.php?action=ping which is only valid on Ampache >=3.5.0. If
>> no valid response is returned the version is set to 10000, otherwise
>> the version is defined by the XML response. Using the version it
>> determines if it should use MD5() or SHA256().
>>
>> This patch does not address the changes / new features in the 3.5.x
>> API however 3.4.x calls will work against 3.5.x so it should continue
>> to work for the foreseeable future... Until I break the Ampache end.

FYI, Karl Vollmer does not appear to be subscribed to amarok-devel
(yet?), so you might want to CC him.


@Karl: You could subscribe here:

https://mail.kde.org/mailman/listinfo/amarok-devel

-- 
Mark Kretschmann
Amarok Developer
www.kde.org - amarok.kde.org


More information about the Amarok-devel mailing list