Skip to content

Commit

Permalink
fix(device): Fix missing video ID breaking ad skip
Browse files Browse the repository at this point in the history
Ref #27
  • Loading branch information
gabe565 committed Oct 3, 2023
1 parent 7c09215 commit a01ac79
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/device/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ func (d *Device) tick() error {
default:
if castMedia.Media.ContentId == "" {
d.queryVideoId(castMedia)
if castMedia.Media.ContentId == "" {
d.changeTickInterval(config.Default.PausedInterval)
return nil
}
}

if castMedia.Media.ContentId != d.prevVideoId {
Expand Down

0 comments on commit a01ac79

Please sign in to comment.