🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
Show `cached` in info log
Deluan58b816c2ed11
diff --git a/core/media_streamer.go b/core/media_streamer.goindex 5bbbc021b..36ccf3a39 100644--- a/core/media_streamer.go+++ b/core/media_streamer.go@@ -88,11 +88,12 @@ func (ms *mediaStreamer) NewStream(ctx context.Context, id string, reqFormat strlog.Error(ctx, "Error accessing transcoding cache", "id", mf.ID, err)return nil, err}+ cached = r.Cachedlog.Debug(ctx, "Streaming TRANSCODED file", "id", mf.ID, "path", mf.Path,"requestBitrate", reqBitRate, "requestFormat", reqFormat,"originalBitrate", mf.BitRate, "originalFormat", mf.Suffix,- "selectedBitrate", bitRate, "selectedFormat", format, "cached", r.Cached)+ "selectedBitrate", bitRate, "selectedFormat", format, "cached", cached)s.Reader = rs.Closer = r