fix interlaced check again (#2623)

* fix interlaced check again

* add interlaced ratio to media item info
This commit is contained in:
Jason Dove
2025-11-10 09:14:40 -06:00
committed by GitHub
parent bc400de94c
commit d93c404607
8 changed files with 13633 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#! /usr/bin/env bash
if [[ $# -eq 0 ]] ; then
echo 'Please specify a unique migration name'
exit 1
fi
ROOT="$(git rev-parse --show-toplevel)"
cd "$ROOT/ErsatzTV.Infrastructure" || exit
dotnet ef migrations add $1 \
--context TvContext \
--startup-project "$ROOT/ErsatzTV" \
--project "$ROOT/ErsatzTV.Infrastructure.Sqlite" \
-- --provider Sqlite && \
dotnet ef migrations add $1 \
--context TvContext \
--startup-project "$ROOT/ErsatzTV" \
--project "$ROOT/ErsatzTV.Infrastructure.MySql" \
-- --provider MySql