SubmarinerApp / Submariner

A Subsonic client for macOS
https://submarinerapp.com
BSD 3-Clause "New" or "Revised" License
122 stars 3 forks source link

Connecting with Owncloud/Nextcloud music plugin (Subsonic API) #164

Closed lorenzo93 closed 9 months ago

lorenzo93 commented 9 months ago

Hi,

I've just installed a private instance of Nextcloud and via the music plugin is supports Subsonic API. I've connected successfully with different clients (Android, Windows) but I'm having problems using yours. The interface just says "Could not connect to the server.". Is there a way to enable a more verbose log? I've tried to open Submariner from the terminal, hoping that it logs directly on stdout/stderr but is not writing any line.

Versions:

NattyNarwhal commented 9 months ago

It should accessible from Console.app. To filter messages from Submariner specifically, you want a search like process:Submariner subsystem:fr.read-write.Submariner, make sure to include debug/info messages (shown below), and start capturing:

Screenshot 2023-09-10 at 5 22 11 PM
lorenzo93 commented 9 months ago

Hi, thanks for the info! Didn't even know the existence of the Console app (my first mac). I've found some log lines that are referring to "connection refused", I'll check the server logs to understand better. Which kind of authentication is your app using by default?

NattyNarwhal commented 9 months ago

By default, token authentication is used by default. OC Music doesn't support it, so make sure that's unchecked when changing the server settings as shown below:

Screenshot 2023-09-10 at 8 20 32 PM

lorenzo93 commented 9 months ago

I'm sorry, I've fixed the problem and it was on my side. I made some mistakes with the reverse proxy configuration.

Just one little point, submarine views some license information that are not correct, since the plugin is free there should be no license requirements.

In the below screenshot, I've changed the domain name due to privacy concerns :)

image
NattyNarwhal commented 9 months ago

It just has to check the license because Subsonic cares about it. It's harmless cosmetic information.

Glad to see the app works for you!