Compare commits

...

37 Commits

Author SHA1 Message Date
pre-commit-ci[bot]
5616a6a3a6 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.12.12 → v0.14.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.12...v0.14.7)
- [github.com/igorshubovych/markdownlint-cli: v0.45.0 → v0.46.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.45.0...v0.46.0)
2025-12-01 21:25:08 +00:00
dmunozv04
1116a1f1d5 Fix markdownlint 2025-12-01 20:45:50 +01:00
dmunozv04
a92c0255dc Add warning about shorts not working
Fixes #370
2025-12-01 20:45:05 +01:00
dmunozv04
12bed77cca bump version 2025-10-19 19:42:00 +02:00
David
dab84dec96 Merge pull request #374 from dmunozv04/dependabot/github_actions/peter-evans/dockerhub-description-5
Bump peter-evans/dockerhub-description from 4 to 5
2025-10-13 09:26:40 +02:00
dependabot[bot]
aaf1f64ec7 Bump peter-evans/dockerhub-description from 4 to 5
Bumps [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) from 4 to 5.
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](https://github.com/peter-evans/dockerhub-description/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-06 20:15:45 +00:00
David
49ea01dd9c Merge pull request #362 from dmunozv04:clarify-muting-not-working-airplay
Clarify ad muting not working when using airplay
2025-09-24 14:40:39 +02:00
dmunozv04
2a2949f552 Clarify ad muting not working when using airplay 2025-09-24 14:38:42 +02:00
David
85b4124a52 Merge pull request #359 from Wobak/patch-1
Update docker-compose.yml
2025-09-23 11:48:03 +02:00
Wobak
da7dcf67fe Update docker-compose.yml
removed version as not recommended anymore and changed indentation from tabs to spaces
2025-09-22 20:10:17 +02:00
David
b4d1feb3a9 Merge pull request #358 from dmunozv04/semver-docker-tags
Add semver tags to docker build
2025-09-21 11:23:20 +02:00
dmunozv04
6afd1bcbaa Add semver tags to docker build 2025-09-18 10:40:52 +02:00
David
516326e0ff Merge pull request #351 from dmunozv04/dependabot/pip/ssdp-1.3.1
Bump ssdp from 1.3.0 to 1.3.1
2025-09-11 13:44:31 +02:00
dependabot[bot]
461b8bfde7 Bump ssdp from 1.3.0 to 1.3.1
Bumps [ssdp](https://github.com/codingjoe/ssdp) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/codingjoe/ssdp/releases)
- [Commits](https://github.com/codingjoe/ssdp/compare/1.3.0...1.3.1)

---
updated-dependencies:
- dependency-name: ssdp
  dependency-version: 1.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 11:44:03 +00:00
David
580ac5e3e1 Merge pull request #350 from dmunozv04/dependabot/pip/xmltodict-0.15.1
Bump xmltodict from 0.14.2 to 0.15.1
2025-09-11 13:42:55 +02:00
dependabot[bot]
52a221c4e0 Bump xmltodict from 0.14.2 to 0.15.1
Bumps [xmltodict](https://github.com/martinblech/xmltodict) from 0.14.2 to 0.15.1.
- [Changelog](https://github.com/martinblech/xmltodict/blob/master/CHANGELOG.md)
- [Commits](https://github.com/martinblech/xmltodict/compare/v0.14.2...v0.15.1)

---
updated-dependencies:
- dependency-name: xmltodict
  dependency-version: 0.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 13:42:44 +02:00
David
e6dff63b19 Merge pull request #340 from dmunozv04/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2025-09-11 13:41:39 +02:00
pre-commit-ci[bot]
8bab77237d [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.12.12](https://github.com/astral-sh/ruff-pre-commit/compare/v0.12.7...v0.12.12)
2025-09-11 13:41:30 +02:00
David
31a6d260e5 Merge pull request #343 from dmunozv04/dependabot/github_actions/actions/download-artifact-5
Bump actions/download-artifact from 4 to 5
2025-09-11 13:40:49 +02:00
dependabot[bot]
34256b5c5e Bump actions/download-artifact from 4 to 5
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 13:40:41 +02:00
David
91842c18f2 Merge pull request #353 from dmunozv04/dependabot/github_actions/actions/attest-build-provenance-3
Bump actions/attest-build-provenance from 2 to 3
2025-09-11 13:40:21 +02:00
dependabot[bot]
accb685bf3 Bump actions/attest-build-provenance from 2 to 3
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 2 to 3.
- [Release notes](https://github.com/actions/attest-build-provenance/releases)
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md)
- [Commits](https://github.com/actions/attest-build-provenance/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
  dependency-version: '3'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 13:40:09 +02:00
David
f68311cbf6 Merge pull request #354 from dmunozv04/dependabot/github_actions/actions/setup-python-6
Bump actions/setup-python from 5 to 6
2025-09-11 13:39:43 +02:00
dependabot[bot]
aa76d130d8 Bump actions/setup-python from 5 to 6
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 20:30:21 +00:00
David
258239338e Merge pull request #342 from dmunozv04/dependabot/github_actions/actions/checkout-5
Bump actions/checkout from 4 to 5
2025-08-31 12:26:37 -04:00
dependabot[bot]
21f52537d8 Bump actions/checkout from 4 to 5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-31 16:22:01 +00:00
David
f6bfd9af98 Merge pull request #341 from dmunozv04/dependabot/pip/aiohttp-3.12.15
Bump aiohttp from 3.12.14 to 3.12.15
2025-08-31 12:19:59 -04:00
dependabot[bot]
4a57cce9bb Bump aiohttp from 3.12.14 to 3.12.15
---
updated-dependencies:
- dependency-name: aiohttp
  dependency-version: 3.12.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-30 17:59:01 +00:00
David
6524361d5d Merge pull request #348 from dmunozv04/update-ci-2
Only login to dockerhub if username is provided via secret
2025-08-30 13:57:47 -04:00
dmunozv04
27ecc54d93 Only login to dockerhub if username is provided via secret 2025-08-30 13:57:38 -04:00
David
3b7617ef14 Merge pull request #345 from gaiar/add-legacy-architecture-support
Add support for legacy architectures (i386 and armv6)
2025-08-30 13:48:44 -04:00
Gaiar Baimuratov
aa35610c67 Add support for legacy architectures (i386 and armv6)
Extends Docker build to include:
- linux/386: 32-bit x86 systems (legacy servers, older PCs)
- linux/arm/v6: ARMv6 devices (Raspberry Pi Zero, Pi 1, older ARM systems)

Motivation: Many users have legacy but capable hardware that can effectively
run containerized applications. These older systems often have sufficient
resources for iSponsorBlockTV but lack support in most modern Docker images.

Technical impact:
- Zero breaking changes for existing users
- Leverages existing QEMU cross-compilation infrastructure
- Minimal build time increase (~10-15%)
- Broader device compatibility without maintenance overhead
2025-08-30 13:48:06 -04:00
David
d581f7ee07 Merge pull request #347 from dmunozv04/update-ci
Update ci
2025-08-30 13:47:50 -04:00
dmunozv04
8e01755550 Only build on main/release/tag 2025-08-30 19:39:28 +02:00
dmunozv04
56b42e26ff Update release
- update pyapp
- ignore attestation errors
2025-08-21 13:57:24 +02:00
dmunozv04
c88861822c Fix markdownlint 2025-08-10 19:33:41 +02:00
dmunozv04
315ac2c726 Update README.md 2025-08-10 19:28:12 +02:00
8 changed files with 54 additions and 50 deletions

View File

@@ -6,7 +6,8 @@ on:
branches:
- '*'
tags:
- 'v*'
- 'v*.*.*'
- 'v*.*.*-*'
pull_request:
branches:
- '*'
@@ -27,7 +28,7 @@ jobs:
steps:
# Get the repository's code
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
# Generate docker tags
- name: Docker meta
@@ -40,7 +41,9 @@ jobs:
tags: |
type=raw,value=develop,priority=900,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=ref,enable=true,priority=600,prefix=pr-,suffix=,event=pr
type=ref,event=tag
type=semver,pattern=v{{version}}
type=semver,pattern=v{{major}}
type=semver,pattern=v{{major}}.{{minor}}
type=ref,event=branch
type=schedule
@@ -53,7 +56,7 @@ jobs:
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
if: github.event_name != 'pull_request'
if: github.event_name != 'pull_request' && env.DOCKERHUB_USERNAME != ''
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
@@ -71,7 +74,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64, linux/arm64, linux/arm/v7
platforms: linux/amd64, linux/arm64, linux/arm/v7, linux/386, linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -11,12 +11,9 @@ name: Release Package
on:
push:
branches:
- '*'
- 'main'
tags:
- 'v*'
pull_request:
branches:
- '*'
release:
types: [published]
@@ -33,10 +30,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
@@ -103,17 +100,17 @@ jobs:
CARGO_BUILD_TARGET: ${{ matrix.job.target }}
PYAPP_DISTRIBUTION_VARIANT_CPU: ${{ matrix.job.cpu_variant }}
PYAPP_REPO: pyapp # Use local copy of pyapp (needed for cross-compiling)
PYAPP_VERSION: v0.27.0
PYAPP_VERSION: v0.28.0
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Clone PyApp
run: git clone --depth 1 --branch $PYAPP_VERSION https://github.com/ofek/pyapp $PYAPP_REPO
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
uses: actions/setup-python@v6
with:
python-version: ${{ env.PYTHON_VERSION }}
@@ -144,7 +141,7 @@ jobs:
hatch --version
- name: Get artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: sdist-and-wheel
path: ${{ github.workspace }}/dist
@@ -162,9 +159,10 @@ jobs:
mv dist/binary/iSponsorBlockTV* dist/binary/iSponsorBlockTV-${{ matrix.job.release_suffix }}
- name: Attest build provenance
uses: actions/attest-build-provenance@v2
uses: actions/attest-build-provenance@v3
with:
subject-path: dist/binary/*
continue-on-error: true # Continue if attestation fails (it will fail on forks)
- name: Upload built binary package
uses: actions/upload-artifact@v4
@@ -183,7 +181,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Get artifact
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
name: sdist-and-wheel
path: dist
@@ -202,7 +200,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v5
name: Get artifact
with:
path: dist

View File

@@ -18,11 +18,11 @@ jobs:
steps:
# Get the repository's code
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
# Update description
- name: Update repo description
uses: peter-evans/dockerhub-description@v4
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

View File

@@ -3,7 +3,7 @@
# Inspired by textual pre-commit config
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-ast # simply checks whether the files parse as valid python
- id: check-builtin-literals # requires literal syntax when initializing empty or zero python builtin types
@@ -19,13 +19,13 @@ repos:
- id: mixed-line-ending # replaces or checks mixed line ending
- id: trailing-whitespace # checks for trailing whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.7
rev: v0.14.7
hooks:
- id: ruff
args: [ --fix, --exit-non-zero-on-fix ]
- id: ruff-format
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.45.0
rev: v0.46.0
hooks:
- id: markdownlint
args: ["--fix"]

View File

@@ -5,10 +5,11 @@
[![GitHub Release](https://img.shields.io/github/v/release/dmunozv04/isponsorblocktv?logo=GitHub&style=flat)](https://github.com/dmunozv04/iSponsorBlockTV/releases/latest)
[![GitHub Repo stars](https://img.shields.io/github/stars/dmunozv04/isponsorblocktv?style=flat)](https://github.com/dmunozv04/isponsorblocktv)
Skip sponsor segments in YouTube videos playing on a YouTube TV device (see
below for compatibility details).
This project is written in asynchronous python and should be pretty quick.
iSponsorBlockTV is a self-hosted application that connects to your YouTube TV
app (see compatibility below) and automatically skips segments (like Sponsors
or intros) in YouTube videos using the [SponsorBlock](https://sponsor.ajay.app/)
API. It can also auto mute and press the "Skip Ad" button the moment it becomes
available on YouTube ads.
## Installation
@@ -22,7 +23,7 @@ Open an issue/pull request if you have tested a device that isn't listed here.
| Device | Status |
|:-------------------|:------:|
| Apple TV | ✅ |
| Apple TV | ✅* |
| Samsung TV (Tizen) | ✅ |
| LG TV (WebOS) | ✅ |
| Android TV | ✅ |
@@ -35,17 +36,22 @@ Open an issue/pull request if you have tested a device that isn't listed here.
| Xbox One/Series | ✅ |
| Playstation 4/5 | ✅ |
*Ad muting won't work when using AirPlay to send the audio to another speaker.
** Shorts aren't fully supported due to limitations on YouTube's side.
A single short can be seen by either selecting the "Disconnect" option in the
warning shown
or by long pressing the thumbnail to open the menu and clicking play from there
## Usage
Run iSponsorBlockTV on a computer that has network access.
Run iSponsorBlockTV on a computer that has network access. It doesn't need to
be on the same network as the device, only access to youtube.com is required.
Auto discovery will require the computer to be on the same network as the device
during setup.
The device can also be manually added to iSponsorBlockTV with a YouTube TV code.
This code can be found in the settings page of your YouTube application.
It connects to the device, watches its activity and skips any sponsor segment
using the [SponsorBlock](https://sponsor.ajay.app/) API.
It can also skip/mute YouTube ads.
This code can be found in the settings page of your YouTube TV application.
## Libraries used
@@ -71,11 +77,9 @@ It can also skip/mute YouTube ads.
## Contributors
- [dmunozv04](https://github.com/dmunozv04) - creator and maintainer
- [HaltCatchFire](https://github.com/HaltCatchFire) - updated dependencies and
improved skip logic
- [Oxixes](https://github.com/oxixes) - added support for channel whitelist and
minor improvements
[![Contributors](https://contrib.rocks/image?repo=dmunozv04/iSponsorBlockTV)](https://github.com/dmunozv04/iSponsorBlockTV/graphs/contributors)
Made with [contrib.rocks](https://contrib.rocks).
## License

View File

@@ -1,8 +1,7 @@
version: '3.3'
services:
iSponsorBlockTV:
image: ghcr.io/dmunozv04/isponsorblocktv
container_name: iSponsorBlockTV
restart: unless-stopped
volumes:
- /PATH_TO_YOUR_DATA_DIR:/app/data
iSponsorBlockTV:
image: ghcr.io/dmunozv04/isponsorblocktv
container_name: iSponsorBlockTV
restart: unless-stopped
volumes:
- /PATH_TO_YOUR_DATA_DIR:/app/data

View File

@@ -1,6 +1,6 @@
[project]
name = "iSponsorBlockTV"
version = "2.6.0"
version = "2.6.1"
authors = [
{"name" = "dmunozv04"}
]

View File

@@ -1,10 +1,10 @@
aiohttp==3.12.14
aiohttp==3.12.15
appdirs==1.4.4
async-cache==1.1.1
pyytlounge==2.3.0
rich==14.1.0
ssdp==1.3.0
ssdp==1.3.1
textual==5.3.0
textual-slider==0.2.0
xmltodict==0.14.2
xmltodict==0.15.1
rich_click==1.8.9