diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 74593364d..640a892f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,6 +61,7 @@ jobs: - name: Publish uses: softprops/action-gh-release@v1 with: + prerelease: true files: | ErsatzTV*.zip ErsatzTV*.tar.gz diff --git a/ErsatzTV.Core/Metadata/LocalStatisticsProvider.cs b/ErsatzTV.Core/Metadata/LocalStatisticsProvider.cs index d41cedd4d..bb06a9f72 100644 --- a/ErsatzTV.Core/Metadata/LocalStatisticsProvider.cs +++ b/ErsatzTV.Core/Metadata/LocalStatisticsProvider.cs @@ -82,7 +82,7 @@ namespace ErsatzTV.Core.Metadata private MediaMetadata ProjectToMediaMetadata(FFprobe probeOutput) => Optional(probeOutput) - .Filter(json => json != null) + .Filter(json => json?.format != null && json.streams != null) .ToValidation("Unable to parse ffprobe output") .ToEither() .Match(