[videos] Add youtube scrobbling

This commit is contained in:
2024-11-05 23:32:03 -05:00
parent b65ebbe397
commit 1b95706f70
6 changed files with 108 additions and 1 deletions

View File

@ -0,0 +1,33 @@
# Generated by Django 4.2.16 on 2024-11-06 03:07
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("videos", "0017_alter_video_video_type"),
]
operations = [
migrations.AddField(
model_name="video",
name="youtube_url",
field=models.CharField(blank=True, max_length=255, null=True),
),
migrations.AlterField(
model_name="video",
name="video_type",
field=models.CharField(
choices=[
("U", "Unknown"),
("E", "TV Episode"),
("M", "Movie"),
("S", "Skate Video"),
("Y", "YouTube Video"),
],
default="U",
max_length=1,
),
),
]