[Problem] Incorrect media type detection with small UDF DVD #716

Open
opened 2026-01-29 16:21:09 +00:00 by claunia · 2 comments
Owner

Originally created by @mictlantecuhtle on GitHub (Jun 21, 2024).

Originally assigned to: @mnadareski on GitHub.

Version
What version are you using?

  • Stable release (Version 3.2.0-de1032a09991e1f82617ddbc38a6937fc23cf2e7)

Build
What runtime version are you using?

  • .NET 8.0 running on (Operating System)

Describe the issue
Attempt to detect media type for a very small UDF DVD-ROM (164MB) incorrectly detects the disc as a CD-ROM.

Scanning for drives..
Found 2 drives: E:\, F:\
Trying to detect system for drive F:\.. unable to detect.
Trying to detect media type for drive F:\ [UDF] using size and filesystem.. Detected CD-ROM.
Supported media speeds: 1, 2, 3, 4, 6, 8, 12, 16, 20, 24, 32, 40, 44, 48, 52, 56, 72
Setting drive speed to: 16
Local version: 3.2.0
Remote version: 3.2.0
You have the newest version!

An attempt to dump with redumper (without changing media type) will result in a successful dump but cause the process to fail at protection scan/info gathering. DIC will refuse to dump due to being passed the wrong media type.

To Reproduce
Steps to reproduce the behavior:

  1. Insert a sufficiently small DVD-ROM with a UDF filesystem
  2. Click "Scan for discs"
  3. Check to see which media type has been detected

Expected behavior

The disc to be detected as a DVD-ROM

Additional context
The disc in question is Side A of the first disc of Cartoon Network Power Pack, consisting of two double-sided discs, each with a DVD-Video and a DVD-ROM side (https://www.ebay.co.uk/itm/195943982458)

Originally created by @mictlantecuhtle on GitHub (Jun 21, 2024). Originally assigned to: @mnadareski on GitHub. **Version** What version are you using? - [X] Stable release (Version 3.2.0-de1032a09991e1f82617ddbc38a6937fc23cf2e7) **Build** What runtime version are you using? - [X] .NET 8.0 running on (Operating System) **Describe the issue** Attempt to detect media type for a very small UDF DVD-ROM (164MB) incorrectly detects the disc as a CD-ROM. ``` Scanning for drives.. Found 2 drives: E:\, F:\ Trying to detect system for drive F:\.. unable to detect. Trying to detect media type for drive F:\ [UDF] using size and filesystem.. Detected CD-ROM. Supported media speeds: 1, 2, 3, 4, 6, 8, 12, 16, 20, 24, 32, 40, 44, 48, 52, 56, 72 Setting drive speed to: 16 Local version: 3.2.0 Remote version: 3.2.0 You have the newest version! ``` An attempt to dump with redumper (without changing media type) will result in a successful dump but cause the process to fail at protection scan/info gathering. DIC will refuse to dump due to being passed the wrong media type. **To Reproduce** Steps to reproduce the behavior: 1. Insert a sufficiently small DVD-ROM with a UDF filesystem 2. Click "Scan for discs" 3. Check to see which media type has been detected **Expected behavior** The disc to be detected as a DVD-ROM **Additional context** The disc in question is Side A of the first disc of Cartoon Network Power Pack, consisting of two double-sided discs, each with a DVD-Video and a DVD-ROM side (https://www.ebay.co.uk/itm/195943982458)
claunia added the help wantedbug labels 2026-01-29 16:21:09 +00:00
Author
Owner

@Deterous commented on GitHub (Jun 21, 2024):

This is a known problem, but good to log it here on github. It comes down to there currently not being a good method for MPF to properly detect media type, and DIC requiring prior knowledge of it.
For now, the user has to correct it before dumping with DIC. At least its an error that's produced and not a bad dump. Perhaps a future version will be smart enough (without doing Windows-specific API calls, something sabre does not want in MPF).

@Deterous commented on GitHub (Jun 21, 2024): This is a known problem, but good to log it here on github. It comes down to there currently not being a good method for MPF to properly detect media type, and DIC requiring prior knowledge of it. For now, the user has to correct it before dumping with DIC. At least its an error that's produced and not a bad dump. Perhaps a future version will be smart enough (without doing Windows-specific API calls, something sabre does not want in MPF).
Author
Owner

@Deterous commented on GitHub (Oct 1, 2025):

A non-fix solution is that from MPF 3.4.2 onwards, media type is mostly irrelevant and the Media Type box is no longer present.
This is fine when dumping with Redumper or Aaru, however media type is still required for dumping with DIC.
So, this issue now only affects people dumping unusually small DVDs on MPF with DiscImageCreator

@Deterous commented on GitHub (Oct 1, 2025): A non-fix solution is that from MPF 3.4.2 onwards, media type is mostly irrelevant and the Media Type box is no longer present. This is fine when dumping with Redumper or Aaru, however media type is still required for dumping with DIC. So, this issue now only affects people dumping unusually small DVDs on MPF with DiscImageCreator
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#716