Create 0034_source_target_schedule_and_more.py
This commit is contained in:
1 parent
e736347111
commit
a536a12acb
1 file changed
+38
@@ -0,0 +1,38 @@
|
||||
# Generated by Django 5.2.1 on 2025-05-26 04:43
|
||||
|
||||
import sync.fields
|
||||
from django.db import migrations, models
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('sync', '0033_alter_mediaserver_options_alter_source_source_acodec_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='source',
|
||||
name='target_schedule',
|
||||
field=models.DateTimeField(
|
||||
auto_now_add=True, db_index=True, default=None,
|
||||
help_text='Date and time when the task to index the source should begin',
|
||||
verbose_name='target schedule',
|
||||
),
|
||||
preserve_default=False,
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='source',
|
||||
name='sponsorblock_categories',
|
||||
field=sync.fields.CommaSepChoiceField(
|
||||
all_choice='all', all_label='(All Categories)', allow_all=True, default='all',
|
||||
help_text='Select the SponsorBlock categories that you wish to be removed from downloaded videos.',
|
||||
max_length=128, possible_choices=[
|
||||
('sponsor', 'Sponsor'), ('intro', 'Intermission/Intro Animation'), ('outro', 'Endcards/Credits'),
|
||||
('selfpromo', 'Unpaid/Self Promotion'), ('preview', 'Preview/Recap'), ('filler', 'Filler Tangent'),
|
||||
('interaction', 'Interaction Reminder'), ('music_offtopic', 'Non-Music Section'),
|
||||
],
|
||||
verbose_name='removed categories',
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user