eangjeli wrote:
You were right, i wasn't doing the session import. What method do i have to use in order to do the session import?
I try to do it in the following way, where m_activeBurner is a JStarBurnBurnerGrabber object:
DiscInfo discInfo = m_activeBurner.getDiscInformation();
List list = discInfo.readToc();
for(int i=0; i<list.size(); i++) {
TOCEntry tocEntry = (TOCEntry)list.get(i);
m_activeBurner.importTrack(tocEntry.getTrackNumber());
}
is it right??
If so, then i have another question. When i execute that code and in my drive I have inserted a blank dvd then it throws the following exception:
CStarBurn_ScsiTransportSPTI::ExecuteCDB(): Command failed
I expected that it would have thrown an exception explaining that in the dvd there was no track to import, but not a generic exception like this one.
I would like to have some more information about the exception, is there any way to do this?
Thanks
Eliodor
Point is that: BLANK CD-R(CD-RW) have not Table of Contents (TOC), but DVD always have one blank track (last track) and so always have TOC even on blank disc.
In the near future will be exported CDB_FAUILURE_INFORMATION, which give additional description of such error.