Proyecto LCX Dispatcharr multicuenta
Base Image Build / prepare (push) Has been cancelled
Build and Push Multi-Arch Docker Image / build-and-push (push) Has been cancelled
Frontend Tests / test (push) Has been cancelled
Base Image Build / docker (amd64, ubuntu-24.04) (push) Has been cancelled
Base Image Build / docker (arm64, ubuntu-24.04-arm) (push) Has been cancelled
Base Image Build / create-manifest (push) Has been cancelled

This commit is contained in:
root
2026-05-09 21:24:50 +02:00
commit f56b088643
721 changed files with 177870 additions and 0 deletions
@@ -0,0 +1,31 @@
# Generated by Django 5.1.6 on 2025-03-01 14:01
from django.db import migrations
def preload_stream_profiles(apps, schema_editor):
StreamProfile = apps.get_model("core", "StreamProfile")
StreamProfile.objects.create(
profile_name="ffmpeg",
command="ffmpeg",
parameters="-i {streamUrl} -c:v copy -c:a copy -f mpegts pipe:1",
is_active=True,
user_agent="1",
)
StreamProfile.objects.create(
profile_name="streamlink",
command="streamlink",
parameters="{streamUrl} best --stdout",
is_active=True,
user_agent="1",
)
class Migration(migrations.Migration):
dependencies = [
('core', '0002_preload_user_agents'),
]
operations = [
migrations.RunPython(preload_stream_profiles),
]