From c6748dae0259324e79ed7d100077b03816266961 Mon Sep 17 00:00:00 2001 From: Gabe Cook <gabe565@gmail.com> Date: Tue, 7 Nov 2023 00:49:28 -0600 Subject: [PATCH] fix(log): Fix video ID always empty when skip sponsors is disabled --- internal/device/watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/device/watch.go b/internal/device/watch.go index ab02ee8..5582cd8 100644 --- a/internal/device/watch.go +++ b/internal/device/watch.go @@ -190,7 +190,7 @@ func (d *Device) tick() error { d.meta.PrevVideoId = d.meta.CurrVideoId d.meta.PrevArtist = d.meta.CurrArtist d.meta.PrevTitle = d.meta.CurrTitle - d.logger.Info("Detected video stream.", "video_id", d.meta.CurrVideoId) + d.logger.Info("Detected video stream.", "video_id", castMedia.Media.ContentId) } break } else if castMedia.Media.ContentId != "" {