mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4901] [CLOSED] Enable nullable for DvdLib project #10326
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4901
Author: @martinek-stepan
Created: 12/31/2020
Status: ❌ Closed
Base:
master← Head:nullable-dvdlib📝 Commits (3)
2a1e79cEnable nullable for DvdLib project & simplify Cell parsing (instead of parsing twice and skipping parsed position bytes, parse in order once.9c559f5Create ProgramChainBuilder to safely allow late-initialization of several ProgramChain properties.84ea148Make EntryProgramChain optional (nullable) as it is only assigned if dvd enables it.📊 Changes
6 files changed (+47 additions, -29 deletions)
View changed files
📝
DvdLib/DvdLib.csproj(+1 -0)📝
DvdLib/Ifo/Cell.cs(+5 -9)📝
DvdLib/Ifo/CellPlaybackInfo.cs(+0 -1)📝
DvdLib/Ifo/ProgramChain.cs(+15 -16)➕
DvdLib/Ifo/ProgramChainBuilder.cs(+24 -0)📝
DvdLib/Ifo/Title.cs(+2 -3)📄 Description
Changes
Enable nullable on the project level and reflect changes in code.
Created ProgramChainBuilder to allow make sure non-nullable late initialized properties are valid.
Issues
Part of issue #2768
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.