Skip to content

Commit

Permalink
fix(log): Fix video ID always empty when skip sponsors is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Nov 7, 2023
1 parent 3ae108c commit c6748da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/device/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down

0 comments on commit c6748da

Please sign in to comment.