lotan / rhythmbox-ampache

Rhythmbox plugin to stream music from Ampache
GNU General Public License v2.0
21 stars 7 forks source link

Unable to gather music database from Nextcloud server with Rhythmbox-Ampache plugin #23

Open sL5gqj6Q opened 4 years ago

sL5gqj6Q commented 4 years ago

Hi everyone,

as the thread title already says, I am running a Nextcloud web server with the Nextcloud Music app installed, and I want to stream music via the Rhythmbox software (version 3.4.2) on Linux Mint 19.3. I installed the Rhythmbox-ampache plugin via the Linux Mint's own software manager, the version is 0.11.1+svn43-1 .

Into the rhythmbox-ampache plugin settings, I inserted the URL of my webserver, my user name and app token, all of which has been generated by the Nextcloud Music app.

Running rhythmbox -D ampache yields:

(22:47:46) [0x562819e83380] [AmpacheBrowser.update] /usr/lib/rhythmbox/plugins/ampache/AmpacheBrowser.py:850: downloading handshake: https://censored.url.com/nextcloud/apps/music/ampache/server/xml.server.php?action=handshake&auth=861cb0820bdc7b8306c552140ef1210b099e6209f5d9830cb12c6b4166c7852f&timestamp=1577137666&user=censoredusername&version=350001 (22:47:46) [0x562819e83380] [AmpacheBrowser.handshake_cb] /usr/lib/rhythmbox/plugins/ampache/AmpacheBrowser.py:1094: downloading playlists: https://censored.url.com/nextcloud/apps/music/ampache/server/xml.server.php?action=playlists&auth=2d24cbcac3878f74ed18de9a7b605481 (22:47:46) [0x562819e83380] [AmpacheBrowser.download_iterate] /usr/lib/rhythmbox/plugins/ampache/AmpacheBrowser.py:688: no more playlists to process

Any help is highly appreciated

lotan commented 4 years ago

Can you please load the handshake URI in a browser and inspect the response. If you don't know what to do with it, refer to

https://github.com/ampache/ampache/wiki/XML-API#result

If you want me to have a look at it, post it here. Ensure if you run a public ampache instance to mask out the auth tag.