Peter Surda wrote: > Hi, > > I have a minor comment about media type. Now that I have access to a DVD > burner, I burn some files on DVDs instead of CDs. When I insert such a DVD > into the drive, freevo says it's a CD (it isn't a movie-dvd). > > I remember I tried to write DVD/CD detection routine about 2 years ago, and > unfortunately found out that there is no such ioctl that can tell you whether > the disc is a CD or a DVD (well, some ioctl can tell you if it's an Audio CD, > but for normal data, DVDs and CDs are handled the same way). It was kernel 2.4 > already, but perhaps it changed in between. > > I don't think it's really a big problem calling a disc CD instead of DVD, but > solving this would be nice if possible.
I still don't know a way to detect this. We could add the size of all files and if this is greater than 1 GB it must be a DVD. But this is a bad hack. Dischi -- Symbol's function definition is void: signature ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel
