-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ampache api always returning empty contents with amarok #854
Comments
Okay, thanks for digging. I feel that Amarok is at fault here, as the Ampache API documentation does not state that the value Btw, are you using the Linux version of Amarok? Because I have never managed to make the Windows version of the app connect my cloud. It seems to communicate with a malformed URL. I suspect that this is because the Win version has not been updated for ages (it's still 2.8.0 which was apparently released in 2013). |
That's right Pauli, sorry for not reading the note about limit in ampache api docs... So I guess that this bug must be enqueued in amarok bugtracker... About the amarok version I use: Yes it's the last linux version (2.9.71) , and It's working fine with nc music ampache api. Thank's Pauli It can be closed . |
This is how the "real" Ampache server works, too, although this is not documented in the current API specification for v4 or v5 API. The Amarok player uses this argument value, and there should be no real-life case where the client actually would want to have 0 interpreted as literal value of the limit. Furthermore, the Music app already tried to interpret zero as "unlimited" but this worked only with integer 0 and not with string "0". Whether the numeric arguments come as strings or integers, depends on the details of the hosting cloud, and may differ between versions of ownCloud and Nextcloud. refs #854
No reason to be sorry. The whole point of the |
The fix for this problem has now been released in Music v1.2.0. |
Amarok player always adds the "limit=0" when fetching the collection via ampache. And when limit=0 is there ampache endpoint returns
Testing the same with curl happens the same.
Not checking the type when testing if 0 in
music/lib/Controller/AmpacheController.php
Line 883 in 76399da
The text was updated successfully, but these errors were encountered: