mirror of
https://github.com/SabreTools/MPF.git
synced 2026-02-11 21:29:24 +00:00
[PR #585] [MERGED] Set UDF CD threshold at 800MB #1051
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/SabreTools/MPF/pull/585
Author: @Deterous
Created: 10/20/2023
Status: ✅ Merged
Merged: 10/20/2023
Merged by: @mnadareski
Base:
master← Head:udf-cd-size📝 Commits (2)
daccebdSet UDF CD threshold at 800MB1561b23Condense DriveFormat checks📊 Changes
1 file changed (+2 additions, -6 deletions)
View changed files
📝
MPF.Core/Data/Drive.cs(+2 -6)📄 Description
Currently, optical media type detection for UDF filesystems is set to DVDs if the size is at least 400MB.
Based on the PC CDs and DVDs in redump, the false positive rate for DVD detection when using a threshold of 800 MB is less than 3%, with an optimal threshold for CD and DVD false detection rate at approx 830MB. However, I think it is best that MPF keep the threshold at 800 MB as CDs greater than 800 MB in size are technically not following the CD-ROM standard.
I have also changed it slightly to set discs with exactly 800 MB as CDs.
Cumulative distributions for PC DVDs (in red) and PC CDs (in blue) with regards to size, where the crossover represents the point with the "lowest false detection rate":


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.