mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-24 05:56:37 +00:00
Remove SponsorBlock_Category
from fields.py
This commit is contained in:
parent
deefe060ed
commit
ab9a6e6c76
@ -5,24 +5,6 @@ from django.db import connection, models
|
|||||||
from django.utils.translation import gettext_lazy as _
|
from django.utils.translation import gettext_lazy as _
|
||||||
|
|
||||||
|
|
||||||
# as stolen from:
|
|
||||||
# - https://wiki.sponsor.ajay.app/w/Types
|
|
||||||
# - https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/postprocessor/sponsorblock.py
|
|
||||||
#
|
|
||||||
# The spacing is a little odd, it is for easy copy/paste selection.
|
|
||||||
# Please don't change it.
|
|
||||||
# Every possible category fits in a string < 128 characters
|
|
||||||
class SponsorBlock_Category(models.TextChoices):
|
|
||||||
SPONSOR = 'sponsor', _( 'Sponsor' )
|
|
||||||
INTRO = 'intro', _( 'Intermission/Intro Animation' )
|
|
||||||
OUTRO = 'outro', _( 'Endcards/Credits' )
|
|
||||||
SELFPROMO = 'selfpromo', _( 'Unpaid/Self Promotion' )
|
|
||||||
PREVIEW = 'preview', _( 'Preview/Recap' )
|
|
||||||
FILLER = 'filler', _( 'Filler Tangent' )
|
|
||||||
INTERACTION = 'interaction', _( 'Interaction Reminder' )
|
|
||||||
MUSIC_OFFTOPIC = 'music_offtopic', _( 'Non-Music Section' )
|
|
||||||
|
|
||||||
|
|
||||||
CommaSepChoice = namedtuple(
|
CommaSepChoice = namedtuple(
|
||||||
'CommaSepChoice', [
|
'CommaSepChoice', [
|
||||||
'allow_all',
|
'allow_all',
|
||||||
|
Loading…
Reference in New Issue
Block a user