QTMovie setAttribute
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