From b77d7f0a428b2a97fed61fc61d6929bb786fa2fe Mon Sep 17 00:00:00 2001 From: tcely Date: Fri, 20 Feb 2026 12:21:20 -0500 Subject: [PATCH] Create 0037_alter_source_fallback.py --- .../migrations/0037_alter_source_fallback.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tubesync/sync/migrations/0037_alter_source_fallback.py diff --git a/tubesync/sync/migrations/0037_alter_source_fallback.py b/tubesync/sync/migrations/0037_alter_source_fallback.py new file mode 100644 index 00000000..68cc2b1d --- /dev/null +++ b/tubesync/sync/migrations/0037_alter_source_fallback.py @@ -0,0 +1,28 @@ +# Generated by Django 5.2.11 on 2026-02-20 07:53 +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ('sync', '0036_alter_source_sponsorblock_categories'), + ] + + operations = [ + migrations.AlterField( + model_name='source', + name='fallback', + field=models.CharField( + choices=[ + ('f', 'Fail, do not download any media'), + ('c', 'Get next best resolution, only the preferred codec'), + ('h', 'Get next best resolution, any codec, but at least HD'), + ('n', 'Get next best resolution, any codec'), + ], + db_index=True, + default='h', + help_text='What do do when media in your source resolution and codecs is not available', + max_length=1, + verbose_name='fallback', + ), + ), + ]