razzeee / xbmc-test

0 stars 0 forks source link

ISO9600m1/2, Hybrid, UDF, xISO auto-detection #35

Closed razzeee closed 7 years ago

razzeee commented 7 years ago

Reported by Gamester17 on 3 Oct 2003 14:24 UTC

ISO9600m1/2, Hybrid, UDF, xISO auto-detection

Code to auto-detect the format a CD/DVD is written in and switch to that mode when select DVD-ROM (D:). This way the user would not have to manualy select DVD-ROM, ISO9600, etc. but only get DVD-ROM.

Scanning order should be ISO9660, UDF and last XDFS.

Modes and hybrid formats I can think of are: ISO9660-mode1 ISO9660-mode2 UDF (Universal Disk Format revision 1.02/1.5/2.0/2.01) UDF/ISO Hybrid XDFS (Xbox DVD-ROM File System, aka CDX, aka xISO) XDFS/ISO (like with Yursoft xISO image/burning tool) ...then you have CDDA, DVD-move and VCD to detect.

Think best if would be something like this:

DVD-ROM (Auto-detect) dvdrom:
  <share>
    <name>DVD-ROM (XDFS)</name>
    <url>d:</url>
  </share>
  <share>
    <name>DVD-ROM (ISO9660-Mode1/2)</name>
    <url>iso9660:</url>
  </share>
  <share>
    <name>DVD-ROM (UDF)</name>
    <url>udf:</url>
  </share>

Reason for the different shares for each mode (inc a separate for auto-detect) is so that the users will have the option (while most users will only need the auto- detect DVD-ROM many advanced users will want to have the option) to configure the config.xml to only view UDF CD/DVD's for example, or only ISO9660or only Auto- Detect. Plus, the Auto-detect option might take a while (I don't know ..maybe 5-30 secs???) to detect which format/mode the CD/DVD is written in, and many (advanced users) do not have the patience to wait and would rather select the format/mode they have right away for faster access to the media. And thirdly the Auto-detect might not be perfect and have problems with CD's written in hybrid formats, so best leave the option at the beginning at least

Patch for this is in XBMP 2.4 & CVS but is has isses:

Migrated-From: http://trac.kodi.tv/ticket/35