mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 13:38:15 -08:00
fix: add required parameters for subsonic request
This commit is contained in:
parent
25d7bb41c1
commit
feef66da12
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ func Run(
|
||||||
|
|
||||||
if cfg.SubsonicEnabled() {
|
if cfg.SubsonicEnabled() {
|
||||||
l.Debug().Msg("Engine: Checking Subsonic configuration")
|
l.Debug().Msg("Engine: Checking Subsonic configuration")
|
||||||
pingURL := cfg.SubsonicUrl() + "/rest/ping.view?" + cfg.SubsonicParams() + "&f=json"
|
pingURL := cfg.SubsonicUrl() + "/rest/ping.view?" + cfg.SubsonicParams() + "&f=json&v=1&c=koito"
|
||||||
|
|
||||||
resp, err := http.Get(pingURL)
|
resp, err := http.Get(pingURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue