libquicktime
Metadata support

Metadata support. More...

Functions

void quicktime_set_copyright (quicktime_t *file, char *string)
 Set the copyright info for the file.
 
void quicktime_set_name (quicktime_t *file, char *string)
 Set the name for the file.
 
void quicktime_set_info (quicktime_t *file, char *string)
 Set info for the file.
 
char * quicktime_get_copyright (quicktime_t *file)
 Get the copyright info from the file.
 
char * quicktime_get_name (quicktime_t *file)
 Get the name from the file.
 
char * quicktime_get_info (quicktime_t *file)
 Get the info string from the file.
 
void lqt_set_album (quicktime_t *file, char *string)
 Set the album for the file.
 
void lqt_set_artist (quicktime_t *file, char *string)
 Set the artist for the file.
 
void lqt_set_genre (quicktime_t *file, char *string)
 Set the genre for the file.
 
void lqt_set_track (quicktime_t *file, char *string)
 Set the track number for the file.
 
void lqt_set_comment (quicktime_t *file, char *string)
 Set the comment for the file.
 
void lqt_set_author (quicktime_t *file, char *string)
 Set the author for the file.
 
void lqt_set_creation_time (quicktime_t *file, unsigned long time)
 Set the creation time for the file.
 
char * lqt_get_album (quicktime_t *file)
 Get the album from the file.
 
char * lqt_get_artist (quicktime_t *file)
 Get the artist from the file.
 
char * lqt_get_genre (quicktime_t *file)
 Get the genre from the file.
 
char * lqt_get_track (quicktime_t *file)
 Get the track number from the file.
 
char * lqt_get_comment (quicktime_t *file)
 Get the comment from the file.
 
char * lqt_get_author (quicktime_t *file)
 Get the author from the file.
 
unsigned long lqt_get_creation_time (quicktime_t *file)
 Get the creation time from the file.
 

Detailed Description

Metadata support.

These functions allow you to read/write the metadata of the file. Currently, only the metadata in the udta atom are supported.

Function Documentation

◆ quicktime_set_copyright()

void quicktime_set_copyright ( quicktime_t * file,
char * string )

Set the copyright info for the file.

Parameters
fileA quicktime handle
stringThe copyright info

◆ quicktime_set_name()

void quicktime_set_name ( quicktime_t * file,
char * string )

Set the name for the file.

Parameters
fileA quicktime handle
stringThe name

◆ quicktime_set_info()

void quicktime_set_info ( quicktime_t * file,
char * string )

Set info for the file.

Parameters
fileA quicktime handle
stringAn info string

◆ quicktime_get_copyright()

char * quicktime_get_copyright ( quicktime_t * file)

Get the copyright info from the file.

Parameters
fileA quicktime handle
Returns
The copyright info or NULL

◆ quicktime_get_name()

char * quicktime_get_name ( quicktime_t * file)

Get the name from the file.

Parameters
fileA quicktime handle
Returns
The name or NULL

◆ quicktime_get_info()

char * quicktime_get_info ( quicktime_t * file)

Get the info string from the file.

Parameters
fileA quicktime handle
Returns
The info string or NULL

◆ lqt_set_album()

void lqt_set_album ( quicktime_t * file,
char * string )

Set the album for the file.

Parameters
fileA quicktime handle
stringThe album

◆ lqt_set_artist()

void lqt_set_artist ( quicktime_t * file,
char * string )

Set the artist for the file.

Parameters
fileA quicktime handle
stringThe artist

◆ lqt_set_genre()

void lqt_set_genre ( quicktime_t * file,
char * string )

Set the genre for the file.

Parameters
fileA quicktime handle
stringThe genre

◆ lqt_set_track()

void lqt_set_track ( quicktime_t * file,
char * string )

Set the track number for the file.

Parameters
fileA quicktime handle
stringThe track number (as string)

◆ lqt_set_comment()

void lqt_set_comment ( quicktime_t * file,
char * string )

Set the comment for the file.

Parameters
fileA quicktime handle
stringThe comment

◆ lqt_set_author()

void lqt_set_author ( quicktime_t * file,
char * string )

Set the author for the file.

Parameters
fileA quicktime handle
stringThe author

◆ lqt_set_creation_time()

void lqt_set_creation_time ( quicktime_t * file,
unsigned long time )

Set the creation time for the file.

Parameters
fileA quicktime handle
timeThe creation time

◆ lqt_get_album()

char * lqt_get_album ( quicktime_t * file)

Get the album from the file.

Parameters
fileA quicktime handle
Returns
The album or NULL

◆ lqt_get_artist()

char * lqt_get_artist ( quicktime_t * file)

Get the artist from the file.

Parameters
fileA quicktime handle
Returns
The artist or NULL

◆ lqt_get_genre()

char * lqt_get_genre ( quicktime_t * file)

Get the genre from the file.

Parameters
fileA quicktime handle
Returns
The genre or NULL

◆ lqt_get_track()

char * lqt_get_track ( quicktime_t * file)

Get the track number from the file.

Parameters
fileA quicktime handle
Returns
The track number (as string) or NULL

◆ lqt_get_comment()

char * lqt_get_comment ( quicktime_t * file)

Get the comment from the file.

Parameters
fileA quicktime handle
Returns
The comment or NULL

◆ lqt_get_author()

char * lqt_get_author ( quicktime_t * file)

Get the author from the file.

Parameters
fileA quicktime handle
Returns
The author or NULL

◆ lqt_get_creation_time()

unsigned long lqt_get_creation_time ( quicktime_t * file)

Get the creation time from the file.

Parameters
fileA quicktime handle
Returns
The creation time