#1 Burning Software

It is currently Wed Dec 18, 2024 11:09 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Grabber progress event is not useful
PostPosted: Mon Mar 01, 2010 3:46 pm 
Offline

Joined: Sun Jun 14, 2009 6:00 pm
Posts: 542
Hi,

the progress event of the Grabber class in StarBurnX has "progress" and "remaining time", but if you grab a whole disc, it is per track and does not refer to the whole process. Same problem as the AudioBurner class already has, and it is really not useful at all, because no one will ever be interested in watching a progressbar continuously go from 0 to 100 and even programmatically, there is no easy way to work around this limitation.
Please fix that problem soon.

Best regards,
Flo


Top
 Profile  
 
 Post subject: Re: Grabber progress event is not useful
PostPosted: Mon Mar 01, 2010 7:07 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You know the whole disc content size so I don't see any problem in implementing custom progress right now w/o waiting for anybody to add this feature (there's nothing to fix as nothing is broken, it's done by design initially).


Top
 Profile  
 
 Post subject: Re: Grabber progress event is not useful
PostPosted: Mon Mar 01, 2010 8:25 pm 
Offline

Joined: Sun Jun 14, 2009 6:00 pm
Posts: 542
So I know the source disc's size. What else? In order to currectly calculate the "total progress", I a) have to check how many tracks exist, b) somehow keep track of which track (#) is currently being grabbed and then c) use the progress and the current track's size in relation to calculate the total progress. Not impossible, but horribly complicated, if you consider that probably every user of your SDK has to duct-tape this code together.
And then there's still the "remaining time" left. How would I emulate this one? Wait for the first remaining time value, put it in relation to the first track's length and then caluculate the total remaning time based on the length of the remaining tracks? What if the burning speed changes during the burning progress? It really gets complicated here. I end up doing all the kind of stuff you probably coded somewhere already, just that my attempt will be buggier for sure.

(Actually, if it's so simple, why don't you just post the wrapper code for everyone's use? I'd certainly appreciate it.)


Top
 Profile  
 
 Post subject: Re: Grabber progress event is not useful
PostPosted: Mon Mar 01, 2010 9:32 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Probably you're right. We'll update our StarBurnX and also we'll think about releasing StarBurnX wrapper as open source.


Top
 Profile  
 
 Post subject: Re: Grabber progress event is not useful
PostPosted: Tue Mar 02, 2010 4:54 am 
Offline

Joined: Sun Jun 14, 2009 6:00 pm
Posts: 542
Oh, that'd be great. Thanks :)


Top
 Profile  
 
 Post subject: Re: Grabber progress event is not useful
PostPosted: Tue Mar 02, 2010 10:05 am 
Offline
Site Admin

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


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] and 42 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group