Bug 451263

Summary: Ampache plugin doesn't work with ampache API 5 responses which renders it useless unless api version forced in ampache server
Product: [Applications] amarok Reporter: Rodrigo Borges <rodrigoesborges>
Component: Services/AmpacheAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: major CC: tuomas
Priority: NOR Keywords: usability
Version: 2.9.71   
Target Milestone: kf5   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rodrigo Borges 2022-03-08 00:18:34 UTC
SUMMARY
***
Until very recently, and for about 1-2 years, I haven't been able to use amarok with ampache's collection plugin and my ampache server.  It errored and Ampache collection returned empty on the UI.

***


STEPS TO REPRODUCE
1.  Open amarok -> Configure Amarok -> Plugins -> Ampache Collection Plugin
2. Add ampache server nick,URL , user and password
3.  Restart ampache

OBSERVED RESULT
I get
"reference error Qprocess not defined" as an error warning, and

"handshakeaccount
Invalid handshake received ...." wether using password or API key for any user of that ampache server.

Empty collection

EXPECTED RESULT
Browsable collection and no error to login.


OBSERVATION
In some not very old update, AMPACHE allows to "force API version". Trying API v3 or API v4 still brings the Qprocess not defined error, but  ampache's collection is retrieved and becomes usable and playable.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  customized openSuse Tumbleweed
(available in About System)
KDE Plasma Version:  5.22.90
KDE Frameworks Version:  5.87.0
Qt Version: 5.15.2
Amarok version:  2.9.71 (compiled 2022-02-24)
ADDITIONAL INFORMATION

Maybe related with https://bugs.kde.org/show_bug.cgi?id=396590
Comment 1 Tuomas Nurmi 2024-12-04 21:22:05 UTC
Probably just fixed as another BR number, marking as duplicate

*** This bug has been marked as a duplicate of bug 496581 ***