• 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
QTMovie setAttribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTMovie setAttribute


  • Subject: QTMovie setAttribute
  • From: David Alter <email@hidden>
  • Date: Tue, 28 Nov 2006 12:16:41 -0800

I have a .m4a file that I getting the metadata from by using the QTMovie. I'm the owner of the file and have read write access to it. The attribute I'm concerned with is the QTMovieDisplayNameAttribute. I can get it and set it just fine but if I try to save the changes it fails. I was using the call updateMovieFile to save. Here is the code.

QTMovie * qtmovie = [QTMovie movieWithFile: path error: &error];
if(error) {
[[NSApplication sharedApplication] presentError:error] ;
}
[qtmovie setAttribute:aNewDisplayName forKey:QTMovieDisplayNameAttribute];
if ( [qtmovie updateMovieFile] == NO ) {
NSLog(@"ERROR: updateing file");
}


Anyone have any ideas one why this would not work?

Thanks for the help
-dave


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: QTMovie setAttribute
      • From: Derrick Bass <email@hidden>
  • Prev by Date: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • Next by Date: Re: Re: Problem drawing directly to bitmap rep using NSGraphicsContext
  • Previous by thread: Re: Core Data, NSManagedObject & XML
  • Next by thread: Re: QTMovie setAttribute
  • Index(es):
    • Date
    • Thread