🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Fix zip comments in Share downloads.
Deluan183b462fedce
diff --git a/core/archiver.go b/core/archiver.goindex f0b0f47e5..d2216b4e1 100644--- a/core/archiver.go+++ b/core/archiver.go@@ -71,7 +71,7 @@ func (a *archiver) zipAlbums(ctx context.Context, id string, format string, bitrfunc createZipWriter(out io.Writer, format string, bitrate int) *zip.Writer {z := zip.NewWriter(out)comment := "Downloaded from Navidrome"- if format != "raw" {+ if format != "raw" && format != "" {comment = fmt.Sprintf("%s, transcoded to %s %dbps", comment, format, bitrate)}_ = z.SetComment(comment)