erdnaxeli / castblock

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

Error while connecting to device #2

Closed stephen304 closed 3 years ago

stephen304 commented 3 years ago

Hey, just giving this a shot, I'm not really sure if it's working right - seems to be having issues connecting? I pulled the latest docker image and using go-chromecast master branch:

2021-04-27T21:27:26.403933Z   INFO - castblock.chromecast: Found go-chromecast at /usr/bin/go-chromecast.
2021-04-27T21:27:26.403988Z   INFO - castblock.chromecast: Starting the go-chromecast server.
2021-04-27T21:27:29.940638Z   INFO - castblock.blocker: New device found -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:27:29.940679Z   INFO - castblock.blocker: New device found -- name: "Stephen's Chromecast", uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:27:29.940780Z   INFO - castblock.chromecast: Connect to device -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:27:29.940929Z   INFO - castblock.chromecast: Connect to device -- uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:27:32.942727Z  ERROR - castblock.chromecast: Error while connecting to device -- uuid: "ff932669642aa7737e04e61f0070e3fa", status_code: 400, error: "'port' and 'addr' missing from query params and uuid device lookup returned no results"
2021-04-27T21:27:35.943665Z  ERROR - castblock.chromecast: Error while connecting to device -- uuid: "13f02e0618d0873d544b5f67730678e0", status_code: 400, error: "'port' and 'addr' missing from query params and uuid device lookup returned no results"
2021-04-27T21:28:02.945807Z   INFO - castblock.blocker: New device found -- name: "Stephen's Chromecast", uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:28:02.945812Z   INFO - castblock.blocker: New device found -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:28:02.945939Z   INFO - castblock.chromecast: Connect to device -- uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:28:02.946075Z   INFO - castblock.chromecast: Connect to device -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:28:05.988120Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:28:08.989710Z  ERROR - castblock.chromecast: Error while connecting to device -- uuid: "ff932669642aa7737e04e61f0070e3fa", status_code: 400, error: "'port' and 'addr' missing from query params and uuid device lookup returned no results"
2021-04-27T21:28:35.947497Z   INFO - castblock.blocker: New device found -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:28:35.947543Z   INFO - castblock.chromecast: Connect to device -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:28:39.065064Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:29:08.949026Z   INFO - castblock.blocker: A device is gone -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:29:41.949551Z   INFO - castblock.blocker: New device found -- name: "Omar's Chromecast Ultra", uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:29:41.949594Z   INFO - castblock.chromecast: Connect to device -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:29:41.949944Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- uuid: "ff932669642aa7737e04e61f0070e3fa"
2021-04-27T21:30:47.953607Z   INFO - castblock.blocker: A device is gone -- name: "Stephen's Chromecast", uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:31:53.960576Z   INFO - castblock.blocker: New device found -- name: "Stephen's Chromecast", uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:31:53.960627Z   INFO - castblock.chromecast: Connect to device -- uuid: "13f02e0618d0873d544b5f67730678e0"
2021-04-27T21:31:53.961066Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- uuid: "13f02e0618d0873d544b5f67730678e0"

I currently have something playing on Omars chromecast - I glanced through the code and it seems like it should print out something about the playing video?

stephen304 commented 3 years ago

Wait just kidding, I think my go-chromecast was out of date

erdnaxeli commented 3 years ago

glad to see you fixed it :)

I should maybe check for the go-chromecast version :thinking: