Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | Quoting klattenhoff: Quote: Wouldn't it be nice if dvd profiler would recognize by itself whether the inserted dvd is a doublelayer or not? Here is a reminder of the original question. I answered "yes", and that it is easy. The point of the question was to have an automated alternative to doing it manually or with other tools, right? | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: March 13, 2007 | Reputation: | Posts: 3,321 |
| Posted: | | | | Quoting mediadogg: Quote: Quoting klattenhoff:
Quote: Wouldn't it be nice if dvd profiler would recognize by itself whether the inserted dvd is a doublelayer or not? Here is a reminder of the original question. I answered "yes", and that it is easy. The point of the question was to have an automated alternative to doing it manually or with other tools, right? I tried it once several years back. While it was quite easy to automatically read if a disc was double layered or not, other people had problems running the same code. So I had to write several different tests to run if one failed. It wasn't too hard, but it wasn't as simple as it first appeared. Of course it's also entirely possible that there was a much easier solution that I completely missed (I'm a web guy, not a Windows guy). Why don't you give it a shot. | | | Get the CSVExport and Database Query plug-ins here. Create fake parent profiles to organize your collection. |
|
Registered: March 18, 2007 | Reputation: | Posts: 6,463 |
| Posted: | | | | Quoting Mark Harrison: Quote: Quoting mediadogg:
Quote: Quoting klattenhoff:
Quote: Wouldn't it be nice if dvd profiler would recognize by itself whether the inserted dvd is a doublelayer or not? Here is a reminder of the original question. I answered "yes", and that it is easy. The point of the question was to have an automated alternative to doing it manually or with other tools, right?
I tried it once several years back. While it was quite easy to automatically read if a disc was double layered or not, other people had problems running the same code. So I had to write several different tests to run if one failed. It wasn't too hard, but it wasn't as simple as it first appeared. Of course it's also entirely possible that there was a much easier solution that I completely missed (I'm a web guy, not a Windows guy).
Why don't you give it a shot. Well as you have noted before, I'm not a REAL progarmmer - I use .NET (sorry, I think it was Goodguy that was ribbing me on that ...). The DriveInfo class gives totalsize. I don't know how strict the cutoff is for SL vs DL, but if you did it simply on the basis of bytes, I think you'd be correct 99% of the time. But oh yes, I know - this community will demand that 1%!!!! Here is a Wikipedia article. I assume the info is valid. There are some slight variations between + and - formats. Based on that article, I would assign any DVD with less than or equal to 4,707,319,808 bytes as SL, and greater than that DL. That means I would misclassify any DVD+R that was greater than 4,700,372,992 bytes but less than 4,707,319,808. Edit: Ok, I couldn't resist. Cooked up a super simple little prog, here. I'd be curious to know if it works (or doesn't ). Of course it will not know if somebody used a DL format disk to put only a SL worth of data. Don't know whether anybody cares about that. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. | | | Last edited: by mediadogg |
|
Registered: March 16, 2007 | Posts: 68 |
| Posted: | | | | I've tried it out on a couple of dvd's and it does seem to work! :D i verified using skips trick too and it was correct with them. Neat little app. |
|
Registered: March 13, 2007 | Reputation: | Posts: 767 |
| Posted: | | | | Quoting bdixon: Quote: I've tried it out on a couple of dvd's and it does seem to work! :D i verified using skips trick too and it was correct with them. Neat little app. DVDinfopro / Nero Infotool also gives you info on the regions. Great program. I never leave home without it. |
|
Registered: March 13, 2007 | Posts: 21,610 |
| Posted: | | | | marcel, I dub thee the new Karl Malden. Skip | | | ASSUME NOTHING!!!!!! CBE, MBE, MoA and proud of it. Outta here
Billy Video |
|
Registered: March 13, 2007 | Reputation: | Posts: 767 |
| Posted: | | | | That reference went a little over my head, Skip. <googling> Ah!!! He did that line for the American Express commercials. Never saw them. Mind you, I was a bit too young in the 70s to be eligable for any credit card. |
|