Reputation: 4894
Is it somehow possible to fetch Blu-Ray Disc id and title programmatically on Windows7+ platform?
Upvotes: 7
Views: 4746
Reputation: 1243
For .NET, the BDInfo library will parse the relevant disc structure.
Upvotes: 0
Reputation: 179
If you can programmatically open the following files you'll probably get what you need:
/AACS/mcmf.xml - This file is the Managed Copy manifest file and will contain a 'contentID' attribute (in the mcmfManifest tag) that can be used to identify the disc. Typically it is a 32 hexadecimal digit string.
There is sometimes, also an /CERTIFICATE/id.bdmv file which contains a 4 byte disc organization id (at byte offset 40) followed by a 16 byte disc id.
Sometimes, there is metadata information in the /BDMV/META/DL directory in the XML file bdmt_eng.xml (replace eng for other 3 letter language codes for other languages). For example on the supplemetary disc of The Dark Knight I see this file contains:
<di:title><di:name>The Dark Knight Bonus Disc</di:name></di:title>
Upvotes: 3