From 621c8c97ed1f8956f60aeb6a1fe480445f99906a Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 08:36:33 +0000 Subject: [PATCH 1/6] [CastSponsorSkip] Adjusted readme to reflect changes --- sponsorblockcast/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sponsorblockcast/README.md b/sponsorblockcast/README.md index dc91759d8ae..95cd5ac6150 100644 --- a/sponsorblockcast/README.md +++ b/sponsorblockcast/README.md @@ -1,5 +1,5 @@ -# Home assistant add-on: Sponsorblockcast +# Home assistant add-on: CastSponsorSkip [![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium) @@ -21,9 +21,9 @@ _Thanks to everyone having starred my repo! To star it click on the image below, ## About -Sponsorblockcast is a POSIX shell script that skips sponsored YouTube content and skippable ads on all local Chromecasts, using the SponsorBlock API. It was inspired by CastBlock but written from scratch to avoid some of its pitfalls (see Differences from CastBlock). +CastSponsorSkip is a go script that skips sponsored YouTube content on all local Chromecasts, using the SponsorBlock API. It was inspired by CastBlock but written from scratch to avoid some of its pitfalls (see Differences from CastBlock). -This app is developed by @nichobi here : https://github.com/nichobi/sponsorblockcast +This app is developed by @gabe565 here : https://github.com/gabe565/CastSponsorSkip Feedback from @diamant-x : > Special attention that it only works when casting to a chromecast a youtube video. It mostly removes manual interaction, can't magically skip ads when they are forced to be viewed. @@ -31,7 +31,7 @@ Feedback from @diamant-x : ## Configuration -See https://github.com/nichobi/sponsorblockcast +See https://github.com/gabe565/CastSponsorSkip ## Installation @@ -48,6 +48,6 @@ comparison to installing any other Hass.io add-on. ## Support and issues Addon : here -App : https://github.com/nichobi/sponsorblockcast +App : https://github.com/gabe565/CastSponsorSkip [repository]: https://github.com/alexbelgium/hassio-addons From d59cee611fc508e3e661ca9fb157856ae5476203 Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 08:48:01 +0000 Subject: [PATCH 2/6] Update 99-run.sh --- sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh index 00c8e87c385..466144db74a 100755 --- a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh +++ b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh @@ -14,4 +14,4 @@ done # Starting app bashio::log.info "Starting app" -./castsponsorskip &>/proc/1/fd/1 +./castsponsorskip From 4501a29028b499ef2ac53ec22fabfbb83d2837be Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 08:48:17 +0000 Subject: [PATCH 3/6] Update 99-run.sh --- sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh index 466144db74a..c0dba211817 100755 --- a/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh +++ b/sponsorblockcast/rootfs/etc/cont-init.d/99-run.sh @@ -6,7 +6,7 @@ mkdir -p /tmp/castsponsorskip # Export options as env variables -for var in CSS_DISCOVER_INTERVAL CSS_PAUSED_INTERVAL CSS_PLAYING_INTERVAL CSS_CATEGORIES CSS_YOUTUBE_API_KEY; do +for var in CSS_CATEGORIES CSS_DISCOVER_INTERVAL CSS_PAUSED_INTERVAL CSS_PLAYING_INTERVAL CSS_YOUTUBE_API_KEY; do if bashio::config.has_value "$var"; then export "$var"="$(bashio::config "$var")" fi From 0ed4631b67e922346f542033e11e12dcb887988f Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 08:49:27 +0000 Subject: [PATCH 4/6] Up version --- sponsorblockcast/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsorblockcast/config.json b/sponsorblockcast/config.json index c8ae99854a5..2d33528f7b7 100644 --- a/sponsorblockcast/config.json +++ b/sponsorblockcast/config.json @@ -29,5 +29,5 @@ }, "slug": "sponsorblockcast", "url": "https://github.com/alexbelgium/hassio-addons/tree/master/sponsorblockcast", - "version": "1.3-3" + "version": "1.3-4" } From 6ec772a84a71d16a0c537c55e1f977d8ac6b9f2f Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 08:50:11 +0000 Subject: [PATCH 5/6] Update CHANGELOG.md --- sponsorblockcast/CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sponsorblockcast/CHANGELOG.md b/sponsorblockcast/CHANGELOG.md index 3336dc1fa8a..fb56e8a04c3 100644 --- a/sponsorblockcast/CHANGELOG.md +++ b/sponsorblockcast/CHANGELOG.md @@ -1,6 +1,9 @@ +### 1.3-4 (27-08-2023) +- Chromecast check fixed @bruvv +- Readme updated to reflect the changes @bruvv ### 1.3-3 (25-08-2023) -- Start up fixed +- Start up fixed @bruvv ### 1.3-2 (22-08-2023) - Minor bugs fixed From e4620b80cff66ef2dc626647782d5f1892e33856 Mon Sep 17 00:00:00 2001 From: bruvv <3063928+bruvv@users.noreply.github.com> Date: Sun, 27 Aug 2023 10:00:29 +0000 Subject: [PATCH 6/6] Update config.json cats should be comma seperated --- sponsorblockcast/config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sponsorblockcast/config.json b/sponsorblockcast/config.json index 2d33528f7b7..bcb6aa49eb3 100644 --- a/sponsorblockcast/config.json +++ b/sponsorblockcast/config.json @@ -14,7 +14,7 @@ "init": false, "name": "Castsponsorskip", "options": { - "CSS_CATEGORIES": "sponsor", + "CSS_CATEGORIES": "sponsor, into, outro, selfpromo", "CSS_DISCOVER_INTERVAL": "5m", "CSS_PAUSED_INTERVAL": "1m", "CSS_PLAYING_INTERVAL": "1s",