diff --git a/docs/Channels.md b/docs/Channels.md index a0917603..e6f76541 100644 --- a/docs/Channels.md +++ b/docs/Channels.md @@ -29,4 +29,4 @@ Clicking on the *Configure* button will open a form with options to configure se - **Download Format**: Overwrite the download qualities for videos from this channel. - **Auto Delete**: Automatically delete watched videos from this channel after selected days. - **Index Playlists**: Automatically add all Playlists with at least a video downloaded to your index. Only do this for channels where you care about playlists as this will slow down indexing new videos for having to check which playlist this belongs to. -- **SponsorBlock**: Using [SponsorBlock](https://sponsor.ajay.app/) to get and skip sponsored content. Customize per channel: You can disable or enable SponsorBlock for certain channels only to overwrite the behavior set on the [Settings](settings) page. \ No newline at end of file +- **SponsorBlock**: Using [SponsorBlock](https://sponsor.ajay.app/) to get and skip sponsored content. Customize per channel: You can *disable* or *enable* SponsorBlock for certain channels only to overwrite the behavior set on the [Settings](settings) page. Selecting *unset* will remove the overwrite and your setting will fall back to the default on the settings page. diff --git a/tubearchivist/home/src/frontend/forms.py b/tubearchivist/home/src/frontend/forms.py index 8709ff11..1a25e6a2 100644 --- a/tubearchivist/home/src/frontend/forms.py +++ b/tubearchivist/home/src/frontend/forms.py @@ -202,6 +202,7 @@ class ChannelOverwriteForm(forms.Form): ("", "-- change sponsorblock integrations"), ("disable", "disable sponsorblock integration"), ("1", "enable sponsorblock integration"), + ("0", "unset sponsorblock integration"), ] download_format = forms.CharField(label=False, required=False) diff --git a/tubearchivist/home/templates/home/channel_id.html b/tubearchivist/home/templates/home/channel_id.html index a30b4f53..8240132d 100644 --- a/tubearchivist/home/templates/home/channel_id.html +++ b/tubearchivist/home/templates/home/channel_id.html @@ -93,6 +93,8 @@

Enable SponsorBlock: {% if channel_info.channel_overwrites.integrate_sponsorblock %} {{ channel_info.channel_overwrites.integrate_sponsorblock }} + {% elif channel_info.channel_overwrites.integrate_sponsorblock == False %} + Disabled {% else %} False {% endif %}