diff --git a/src/subsonic.go b/src/subsonic.go index 0f95342..75e469f 100644 --- a/src/subsonic.go +++ b/src/subsonic.go @@ -173,7 +173,7 @@ func getDiscoveryPlaylist(cfg Config) ([]string, error) { } func updSubsonicPlaylist(cfg Config, ID, comment string) error { - reqParam := fmt.Sprintf("updatePlaylist?id=%s&comment=%s", ID, url.QueryEscape(comment)) + reqParam := fmt.Sprintf("updatePlaylist?playlistId=%s&comment=%s",ID, url.QueryEscape(comment)) if _, err := subsonicRequest(reqParam, cfg); err != nil { return err