🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fixed build
Deluanbbb3e26600d0
diff --git a/api/album_lists.go b/api/album_lists.goindex bea3f766a..04a21e382 100644--- a/api/album_lists.go+++ b/api/album_lists.go@@ -56,7 +56,7 @@ func (c *AlbumListController) getAlbumList() (engine.Entries, error) {func (c *AlbumListController) GetAlbumList() {albums, err := c.getAlbumList()if err != nil {- c.SendError(responses.ErrorGeneric, err.Error)+ c.SendError(responses.ErrorGeneric, err.Error())}response := c.NewEmpty()@@ -67,7 +67,7 @@ func (c *AlbumListController) GetAlbumList() {func (c *AlbumListController) GetAlbumList2() {albums, err := c.getAlbumList()if err != nil {- c.SendError(responses.ErrorGeneric, err.Error)+ c.SendError(responses.ErrorGeneric, err.Error())}response := c.NewEmpty()diff --git a/api/media_annotation.go b/api/media_annotation.goindex d87e4416c..8b4840c2e 100644--- a/api/media_annotation.go+++ b/api/media_annotation.go@@ -87,7 +87,7 @@ func (c *MediaAnnotationController) Scrobble() {ids := c.RequiredParamStrings("id", "Required id parameter is missing")times := c.ParamTimes("time")if len(times) > 0 && len(times) != len(ids) {- c.SendError(responses.ErrorGeneric, fmt.Sprintf("Wrong number of timestamps: %d", len(times)))+ c.SendError(responses.ErrorGeneric, "Wrong number of timestamps: %d", len(times))}submission := c.ParamBool("submission", true)playerId := 1 // TODO Multiple players, based on playerName/username/clientIP(?)