QMedia Annotation commands |

### QM_GetMovieAnnTypes

QM_GetMovieAnnTypes(movieRef; annTypes):error
| movieRef | Longint | Movie reference
| annTypes | Array string | Annotation types
| error | Longint | Error result

Returns the annotation types of all annotations present in a movie.

Parameter movieRef is the reference to the movie instance. The movie reference must have been previously obtained with a call to QM_NewMovieFromFile or QM_NewMovieFromURL.

Parameter annTypes is an array of four character strings that receives the annotation types.

QMedia defines the following constants for identifying common annotation types:

qm_ArtistAnn | "©ART" | Artist name annotation
qm_AuthorAnn | "©aut" | Author name anotation
qm_CommentAnn | "©cmt" | Comment annotation
qm_CopyrightAnn | "©cpy" | Copyright annotation
qm_CreationDateAnn | "©day" | Creation date annotation
qm_DescriptionAnn | "©des" | Description annotation
qm_DirectorAnn | "©dir" | Director annotation
qm_DisclaimerAnn | "©dis" | Disclaimer annotation
qm_NameAnn | "©nam" | Name annotation
qm_HostAnn | "©hst" | Host annotation
qm_InformationAnn | "©inf" | Information annotation
qm_MakeAnn | "©mak" | Make annotation
qm_ModelAnn | "©mod" | Model annotation
qm_OriginalFormatAnn | "©fmt" | Original format annotation
qm_OriginalSourceAnn | "©src" | Original source annotation
qm_PerformersAnn | "©prf" | Performers annotation
qm_ProducerAnn | "©prd" | Producer annotation
qm_ProductAnn | "©PRD" | Product annotation
qm_SoftwareAnn | "©swr" | Software annotation
qm_RequirementsAnn | "©req" | Requirements annotation
qm_WarningAnn | "©wrn" | Warning annotation
qm_WriterAnn | "©wrt" | Writer annotation
qm_EditDate1Ann | "©ed1" | Edit date 1 annotation
qm_EditDate2Ann | "©ed2" | Edit date 2 annotation
qm_EditDate3Ann | "©ed3" | Edit date 3 annotation
qm_EditDate4Ann | "©ed4" | Edit date 4 annotation
qm_EditDate5Ann | "©ed5" | Edit date 5 annotation
qm_EditDate6Ann | "©ed6" | Edit date 6 annotation
qm_EditDate7Ann | "©ed7" | Edit date 7 annotation
qm_EditDate8Ann | "©ed8" | Edit date 8 annotation
qm_EditDate9Ann | "©ed9" | Edit date 9 annotation
qm_AlbumAnn | "©alb" | Album title annotation

Example

`ARRAY STRING(4;$annotationTypes;0)` `` `$err:=QM_GetMovieAnnTypes ($movie;$annotationTypes)` ``

Related commands

QM_SetMovieAnnotation | Changes a text annotation in a movie.
QM_GetMovieAnnotation | Returns a text annotation from a movie.
QM_DeleteMovieAnnotation | Removes a text annotation from a movie.

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:43:12