erdnaxeli / castblock

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

Filter devices? #58

Open Hinkiii opened 1 year ago

Hinkiii commented 1 year ago

As someone who has multiple speakers and pairs it's a bit of a mess watching it start up, I don't know if it causes any significant issues in the long run though.

2023-08-16T20:17:30.219593Z   INFO - castblock.chromecast: Found go-chromecast at /usr/bin/go-chromecast.
2023-08-16T20:17:30.219831Z   INFO - castblock.chromecast: Starting the go-chromecast server.
2023-08-16T20:17:30.742235Z   INFO - castblock.chromecast: The go-chromecast server is up
2023-08-16T20:17:34.231182Z   INFO - castblock.blocker: New device found -- name: "Bedroom TV", uuid: "42d0115b3760c3cf6a301fac64c49363"
2023-08-16T20:17:34.231187Z   INFO - castblock.blocker: Connect to device -- name: "Bedroom TV", uuid: "42d0115b3760c3cf6a301fac64c49363"
2023-08-16T20:17:37.304391Z   INFO - castblock.blocker: New device found -- name: "Office", uuid: "ae43ec3a3dbed06f1bb565f5f2c6f381"
2023-08-16T20:17:37.304396Z   INFO - castblock.blocker: Connect to device -- name: "Office", uuid: "ae43ec3a3dbed06f1bb565f5f2c6f381"
2023-08-16T20:17:37.304817Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Bedroom TV", uuid: "42d0115b3760c3cf6a301fac64c49363"
2023-08-16T20:17:40.404757Z   INFO - castblock.blocker: New device found -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:17:40.404762Z   INFO - castblock.blocker: Connect to device -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:17:40.405249Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Office", uuid: "ae43ec3a3dbed06f1bb565f5f2c6f381"
2023-08-16T20:17:43.488703Z   INFO - castblock.blocker: New device found -- name: "Basement nest", uuid: "236628e070899753fe1554d7ed9df5fb"
2023-08-16T20:17:43.488708Z   INFO - castblock.blocker: Connect to device -- name: "Basement nest", uuid: "236628e070899753fe1554d7ed9df5fb"
2023-08-16T20:17:43.489297Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:17:46.540986Z   INFO - castblock.blocker: New device found -- name: "Basement speaker", uuid: "313f11a2a8e98a0b878e1f016cd4a872"
2023-08-16T20:17:46.540991Z   INFO - castblock.blocker: Connect to device -- name: "Basement speaker", uuid: "313f11a2a8e98a0b878e1f016cd4a872"
2023-08-16T20:17:46.541435Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement nest", uuid: "236628e070899753fe1554d7ed9df5fb"
2023-08-16T20:17:49.595842Z   INFO - castblock.blocker: New device found -- name: "Basement pair", uuid: "68b1180e-97c7-4cac-8f1d-caa1eaf0bceb"
2023-08-16T20:17:49.595847Z   INFO - castblock.blocker: Connect to device -- name: "Basement pair", uuid: "68b1180e-97c7-4cac-8f1d-caa1eaf0bceb"
2023-08-16T20:17:49.596365Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement speaker", uuid: "313f11a2a8e98a0b878e1f016cd4a872"
2023-08-16T20:17:52.649305Z   INFO - castblock.blocker: New device found -- name: "Living Room speaker", uuid: "8bc6f5772426097c72746d5876ff0098"
2023-08-16T20:17:52.649310Z   INFO - castblock.blocker: Connect to device -- name: "Living Room speaker", uuid: "8bc6f5772426097c72746d5876ff0098"
2023-08-16T20:17:52.649788Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement pair", uuid: "68b1180e-97c7-4cac-8f1d-caa1eaf0bceb"
2023-08-16T20:17:55.705300Z   INFO - castblock.blocker: New device found -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:17:55.705304Z   INFO - castblock.blocker: Connect to device -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:17:55.705760Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Living Room speaker", uuid: "8bc6f5772426097c72746d5876ff0098"
2023-08-16T20:17:58.762243Z   INFO - castblock.blocker: New device found -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:17:58.762248Z   INFO - castblock.blocker: Connect to device -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:17:58.762706Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:18:01.813926Z   INFO - castblock.blocker: New device found -- name: "Living Room speaker 2", uuid: "1eb5a4af9045d546469fcde424ef770c"
2023-08-16T20:18:01.813931Z   INFO - castblock.blocker: Connect to device -- name: "Living Room speaker 2", uuid: "1eb5a4af9045d546469fcde424ef770c"
2023-08-16T20:18:01.814378Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:18:04.867308Z   INFO - castblock.blocker: New device found -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:04.867313Z   INFO - castblock.blocker: Connect to device -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:04.867840Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Living Room speaker 2", uuid: "1eb5a4af9045d546469fcde424ef770c"
2023-08-16T20:18:07.927879Z   INFO - castblock.blocker: New device found -- name: "Basement large tv", uuid: "936c476dd0e9ee0d23f5a8cb2180a8c9"
2023-08-16T20:18:07.927883Z   INFO - castblock.blocker: Connect to device -- name: "Basement large tv", uuid: "936c476dd0e9ee0d23f5a8cb2180a8c9"
2023-08-16T20:18:07.928386Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:11.109983Z   INFO - castblock.blocker: New device found -- name: "Basement speaker", uuid: "684aad2f3f48c9db5120f13b7b6874ad"
2023-08-16T20:18:11.109987Z   INFO - castblock.blocker: Connect to device -- name: "Basement speaker", uuid: "684aad2f3f48c9db5120f13b7b6874ad"
2023-08-16T20:18:11.110481Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement large tv", uuid: "936c476dd0e9ee0d23f5a8cb2180a8c9"
2023-08-16T20:18:11.931469Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:18:11.931474Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:18:14.157626Z   INFO - castblock.blocker: New device found -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:18:14.157630Z   INFO - castblock.blocker: Connect to device -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:18:14.157921Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement speaker", uuid: "684aad2f3f48c9db5120f13b7b6874ad"
2023-08-16T20:18:14.964372Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:18:14.964377Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:18:16.932794Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Living Room pair", uuid: "95598507-ef74-4990-9c34-1a198b35c803"
2023-08-16T20:18:17.161401Z  ERROR - castblock.blocker: Error while connecting -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:18:17.161407Z   INFO - castblock.blocker: New device found -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"
2023-08-16T20:18:17.161426Z   INFO - castblock.blocker: Connect to device -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"
2023-08-16T20:18:19.965419Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Upstairs", uuid: "cdd10186-c78b-41b6-ae6f-b521e2164c9f"
2023-08-16T20:18:21.032794Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:21.032799Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:23.164983Z  ERROR - castblock.blocker: Error while connecting -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"
2023-08-16T20:18:23.164986Z   INFO - castblock.blocker: New device found -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:23.164987Z   INFO - castblock.blocker: Connect to device -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:26.035859Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Right speaker", uuid: "bef5af00249ef3148317ab6b41fd1365"
2023-08-16T20:18:26.240691Z   INFO - castblock.blocker: New device found -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:18:26.240696Z   INFO - castblock.blocker: Connect to device -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:18:26.241212Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:29.243921Z  ERROR - castblock.blocker: Error while connecting -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:18:29.243927Z   INFO - castblock.blocker: New device found -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:18:29.243929Z   INFO - castblock.blocker: Connect to device -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:18:32.378587Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:18:39.379883Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:39.379889Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:44.381525Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Left speaker", uuid: "15925f1e67c4b9a9708c099edff1aff0"
2023-08-16T20:18:44.851921Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:18:44.851926Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:18:45.574192Z   WARN - castblock.chromecast: go-chromecast has quit. -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:18:45.574197Z   WARN - castblock.chromecast: Restarting go-chromecast watcher in 5s. -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:18:49.852086Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Whole Home", uuid: "20975994-3118-4034-ae61-9bbe3777a81e"
2023-08-16T20:18:50.575083Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Basement display", uuid: "9ed5c9bc644a2401ff973b30e4c6c78a"
2023-08-16T20:19:05.393165Z   INFO - castblock.blocker: New device found -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:19:05.393170Z   INFO - castblock.blocker: Connect to device -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:19:08.447798Z   INFO - castblock.blocker: New device found -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:19:08.447985Z   INFO - castblock.blocker: Connect to device -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:19:08.448431Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Master Bedroom speaker", uuid: "a70d83eae3895170484bd6a48870f287"
2023-08-16T20:19:11.493389Z   INFO - castblock.blocker: New device found -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"
2023-08-16T20:19:11.493394Z   INFO - castblock.blocker: Connect to device -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"
2023-08-16T20:19:11.493879Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Main Bedroom", uuid: "84421acb-e775-4d85-94ce-b70cbf12894a"
2023-08-16T20:19:14.537631Z   INFO - castblock.chromecast: Starting go-chromecast watcher -- name: "Bedroom display", uuid: "03b2acb748bfcdf62e751ce029a312b2"