erdnaxeli / castblock

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

Invalid message: Unexpected char 'i' at line 1, column 2 #42

Open Baptiste-Leterrier opened 2 years ago

Baptiste-Leterrier commented 2 years ago

Hi there, got an issue when running castblock. Maybe related to #37

2022-02-14T20:31:14.386524Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:31:47.391271Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:31:47.391277Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:32:20.394356Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:32:20.394362Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:32:23.395790Z   INFO - castblock.blocker: New device found -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:23.395791Z   INFO - castblock.blocker: Connect to device -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:23.395799Z  DEBUG - http.client: Performing request -- method: "POST", host: "127.0.0.1", port: 8011, resource: "/connect?uuid=66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:27.632299Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:30.646454Z  DEBUG - castblock.chromecast: Invalid message: Unexpected char 'i' at line 1, column 2
2022-02-14T20:32:40.647977Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:40.647979Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:45.649139Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:48.661344Z  DEBUG - castblock.chromecast: Invalid message: Unexpected char 'i' at line 1, column 2
2022-02-14T20:32:57.634511Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:32:57.634527Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:32:58.663478Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:32:58.663479Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:33:00.635628Z   INFO - castblock.blocker: A device is gone, stopping watcher -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:33:00.635634Z   INFO - castblock.blocker: Disconnecting from device -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:33:00.635646Z  DEBUG - http.client: Performing request -- method: "POST", host: "127.0.0.1", port: 8011, resource: "/disconnect?uuid=66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:33:03.666051Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Salon", uuid: "66effce58fb297b0068c2825ccf98dd1"
2022-02-14T20:33:30.635300Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:33:30.635309Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:34:03.640643Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:34:03.640651Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:34:36.646705Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:34:36.646711Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"
2022-02-14T20:35:09.648077Z  DEBUG - castblock.blocker: Checking for new devices
2022-02-14T20:35:09.648082Z  DEBUG - http.client: Performing request -- method: "GET", host: "127.0.0.1", port: 8011, resource: "/devices"

Running latest version on Docker version 20.10.9, build c2ea9bc on Debian 11 with command

docker run --rm --network host erdnaxeli/castblock --debug --category=sponsor --category=interaction --category=intro --category=selfpromo