warwickh / plugin.audio.subsonic

Kodi plugin to stream music from Subsonic.
MIT License
62 stars 13 forks source link

Option to support webroot #17

Closed rantanlan closed 6 years ago

rantanlan commented 7 years ago

first, I really appreciate your work on a new and working subsonic addon :)

Currently my subsonic instance is running behind a reverse nginx proxy with the following URL: https://host/subsonic.

The addon doesn't seem to take the webroot in account, all requests against the nginx go to /rest/... If I'll modify the libsonic/connection.py on line 100 and add the webroot hardcoded to the variable serverPath='/subsonic/rest' everything is working fine.

Since I'm not much of a programmer I don't know if you are able to work around that, or if this might be something for the maintainer of py-sonic?!

ghost commented 6 years ago

Made a pull request which should fix this and a few other issues: https://github.com/gordielachance/plugin.audio.subsonic/pull/18

gordielachance commented 6 years ago

Hi, it's not yet merged; but could you try the 2.0.8 branch and tell me if it works for u ? https://github.com/gordielachance/plugin.audio.subsonic/tree/2.0.8 Thanks !

rantanlan commented 6 years ago

Just gave it a spin and looks good to me :) Thanks!