Summary: | cannot add Ampache server | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Silver Salonen <silver.salonen> |
Component: | Services/Ampache | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | CC: | lbeltrame |
Priority: | NOR | ||
Version: | 2.8.0 | ||
Target Milestone: | 2.9 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/121962/ | ||
Latest Commit: | Version Fixed In: |
Description
Silver Salonen
2015-01-12 10:04:25 UTC
WIP, there already is a patch in review to get this fixed: https://git.reviewboard.kde.org/r/121962/ Would be nice if you could test current git with this patch. Reporter, you are on openSUSE: if you add Amarok from the KDE:Extra repository, the patch is included (I added it myself). Can you install it from there and see if it works? (It works for me here) Installed 2.8.0-24.1 from repositories/KDE:/Extra/openSUSE_13.2/ - I still get the same error. This is another error, now that I look at it, an ACL error. Did you configure your Ampache server to allow access to the XML/RPC API? By default, it is not permitted. See https://github.com/ampache/ampache/wiki/API for how to do so, then try again. Sorry, I pasted the wrong link. Look at https://github.com/ampache/ampache/wiki/ACL and add an ACL for XMLRPC. Boy, the Ampache documentation surely is confusing.... this is probably the best link: https://github.com/ampache/ampache/wiki/API-RPC This is confusing indeed :) What do I need to add the ACL for then? There's already ACL added for interface and streaming by default: DEFAULTv4 0.0.0.0 255.255.255.255 All All Web Interface DEFAULTv4 0.0.0.0 255.255.255.255 All All Stream Access API-RPC looks like it's for tying it together with another Ampache server or something? Or what should the entries be for accessing it from any Amarok? API-RPC %Remote Servername% Read/Write %User Account% API-RPC "Remote Server Ip" "Remote Server Ip" In data lunedì 12 gennaio 2015 19:07:33, hai scritto:
> API-RPC looks like it's for tying it together with another Ampache server or
> something? Or what should the entries be for accessing it from any Amarok?
You need to set an ACL for API-RPC at least for read-write from 0.0.0.0 to
255.255.255.255 (if you want to allow access from anywhere, otherwise set the
ranges acordingly). It is *required* to be able to use Amarok with Ampache.
This probably needs to be documented, but it is not related to the bug
mentioned in the RR (which you would have hit after setting the right ACL).
OK, thanks. Added the following entry and I can now connect OK. Any 0.0.0.0 255.255.255.255 Read/Write All API/RPC In data lunedì 12 gennaio 2015 19:42:14, hai scritto:
> OK, thanks. Added the following entry and I can now connect OK.
> Any 0.0.0.0 255.255.255.255 Read/Write All API/RPC
Notice that without the patch (the one on reviewboard ) you have in the
package you will *not* be able to connect, so bear that in mind.
|