Skip to content

Commit 014830e

Browse files
committed
fix param v2
1 parent e86e855 commit 014830e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/subsonic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ func getDiscoveryPlaylist(cfg Config) ([]string, error) {
173173
}
174174

175175
func updSubsonicPlaylist(cfg Config, ID, comment string) error {
176-
reqParam := fmt.Sprintf("updatePlaylist?playlistId=%s&comment=%s",ID, url.QueryEscape(comment))
176+
reqParam := fmt.Sprintf("updatePlaylist?playlistId=%s&comment=%s&f=json",ID, url.QueryEscape(comment))
177177

178178
if _, err := subsonicRequest(reqParam, cfg); err != nil {
179179
return err

0 commit comments

Comments
 (0)