#1 Burning Software

It is currently Tue Mar 11, 2025 5:43 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: JStarBurn setNextSessionAllowed(boolean value)
PostPosted: Fri Apr 06, 2007 1:49 pm 
Offline

Joined: Tue Mar 13, 2007 9:40 am
Posts: 16


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 07, 2007 3:18 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 11, 2007 8:38 am 
Offline

Joined: Tue Mar 13, 2007 9:40 am
Posts: 16
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:
RED

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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 11, 2007 12:01 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 6:47 am 
Offline

Joined: Tue Mar 13, 2007 9:40 am
Posts: 16


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 12, 2007 7:15 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 24 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group