erdnaxeli / castblock

Automatically skip sponsor segments and ads in YouTube videos playing on Chromecast.
MIT License
183 stars 20 forks source link

Contunually restarts watcher every 5 seconds #12

Closed stephen304 closed 3 years ago

stephen304 commented 3 years ago

For some reason this only happens on my laptop after I rebuilt with the latest code:

2021-05-07T23:24:39.656969Z   INFO - castblock.chromecast: Found go-chromecast at /home/stephen/bin/go-chromecast.
2021-05-07T23:24:39.657299Z   INFO - castblock.chromecast: Starting the go-chromecast server.
2021-05-07T23:24:40.166629Z  DEBUG - castblock.blocker: Checking for new devices
2021-05-07T23:24:40.166641Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2021-05-07T23:24:43.167541Z   INFO - castblock.blocker: New device found -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:43.167543Z   INFO - castblock.blocker: Connect to device -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:43.167548Z  DEBUG - http.client: Performing request -- method: "POST", host: "127.0.0.1", port: 8011, resource: "/connect?uuid=ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:46.230422Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:46.238509Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:46.238509Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:51.240194Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:51.248005Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:51.248006Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:56.249106Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:56.270337Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-05-07T23:24:56.270340Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"

After some poking it looks like --output isn't recognized on go-chromecast on my laptop... Will investigate further

stephen304 commented 3 years ago

I discovered a rogue go-chromecast in my ~/bin that's old :) Lol