• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Disc Recording problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Disc Recording problem


  • Subject: RE: Disc Recording problem
  • From: "Josh Ferguson" <email@hidden>
  • Date: Wed, 12 Feb 2003 09:30:24 -0600
  • Priority: normal
  • Thread-topic: Disc Recording problem

Greg,

I have no idea why you'd be having this problem, but I recommend posting this question on the discrecording list-serv. The Burning Issues team is really good about promptly replying to questions posed on the list.

Josh

-----Original Message-----
From: Greg Hulands [mailto:email@hidden]
Sent: Tuesday, February 11, 2003 9:49 PM
To: Cocoa Development List
Subject: Disc Recording problem


Hi,
I am trying to get disc recording to work in my app. I have set the
delegate of the setup panel, but only the method

- (BOOL)setupPanel:(DRSetupPanel *)aPanel deviceCouldBeTarget:(DRDevice
*)device

gets called. Disc recording never calls

- (BOOL)setupPanel:(DRSetupPanel *)aPanel mediaIsSuitable:(NSDictionary
*)status promptString:(NSString **)prompt

in my delegate when I insert a blank cd-r. It does however call it in
the data burn example. I have the code very similar to what was in the
example.

- (void)makeMP3AudioCD
{
DRTrack *track = [self makeMP3Track];

if (track)
{
DRBurnSetupPanel *bsp = [DRBurnSetupPanel setupPanel];
[bsp setDelegate:self];

if ([bsp runSetupPanel] == NSOKButton)
{
DRBurnProgressPanel *bpp = [DRBurnProgressPanel
progressPanel];
[bpp setDelegate:self];
[bpp beginProgressPanelForBurn:[bsp burnObject]
layout:track];
}
else
{
//Clean up files
NSFileManager *fm = [NSFileManager defaultManager];

if (_burningDelegate)
[_burningDelegate playlist:self
hasUpdatedMessage:@"Burning Cancelled, Cleaning Up Temporary Files"];
[fm removeFileAtPath:temp handler:nil];
[temp autorelease];
temp = nil;

if (_burningDelegate)
[_burningDelegate playlistCancelledBuringProcess:self];
}
}
}

Does anyone know under what conditions the delegate would not call the
mediaIsSuitable method on the delegate. Or is there an obvious omission
I have made in the code.

Regards,
Greg
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: OmniWeb and AppleEvents
  • Next by Date: Re: unused variable warnings
  • Previous by thread: Disc Recording problem
  • Next by thread: Displaying a particular path in an NSBrowser?
  • Index(es):
    • Date
    • Thread