id3lib 3.8.3
Functions
misc_support.h File Reference
#include <id3/tag.h>

Go to the source code of this file.

Functions

ID3_C_EXPORT char * ID3_GetString (const ID3_Frame *, ID3_FieldID)
 
ID3_C_EXPORT char * ID3_GetString (const ID3_Frame *, ID3_FieldID, size_t nItems)
 
ID3_C_EXPORT void ID3_FreeString (char *str)
 
ID3_C_EXPORT char * ID3_GetArtist (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddArtist (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveArtists (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetAlbum (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddAlbum (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveAlbums (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetTitle (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddTitle (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveTitles (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetYear (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddYear (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveYears (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetComment (const ID3_Tag *, const char *desc=NULL)
 
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddComment (ID3_Tag *, const char *, const char *, const char *, bool=false)
 
ID3_C_EXPORT size_t ID3_RemoveComments (ID3_Tag *, const char *=NULL)
 
ID3_C_EXPORT char * ID3_GetTrack (const ID3_Tag *)
 
ID3_C_EXPORT size_t ID3_GetTrackNum (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddTrack (ID3_Tag *, uchar ucTrack, uchar ucTotal=0, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveTracks (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetGenre (const ID3_Tag *)
 
ID3_C_EXPORT size_t ID3_GetGenreNum (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddGenre (ID3_Tag *, size_t ucGenre, bool replace=false)
 
ID3_C_EXPORT ID3_FrameID3_AddGenre (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveGenres (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetLyrics (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddLyrics (ID3_Tag *, const char *, const char *, const char *, bool=false)
 
ID3_C_EXPORT size_t ID3_RemoveLyrics (ID3_Tag *)
 
ID3_C_EXPORT char * ID3_GetLyricist (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddLyricist (ID3_Tag *, const char *, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemoveLyricist (ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_AddSyncLyrics (ID3_Tag *, const uchar *, size_t, ID3_TimeStampFormat, const char *, const char *, ID3_ContentType, bool=false)
 
ID3_C_EXPORT ID3_FrameID3_GetSyncLyricsInfo (const ID3_Tag *tag, const char *lang, const char *desc, char &stampformat, char &type, size_t &size)
 
ID3_C_EXPORT ID3_FrameID3_GetSyncLyrics (const ID3_Tag *tag, const char *lang, const char *desc, const uchar *&pData, size_t &size)
 
ID3_C_EXPORT int ID3_GetPictureData (const ID3_Tag *, const char *TempPicPath)
 
ID3_C_EXPORT char * ID3_GetPictureMimeType (const ID3_Tag *)
 
ID3_C_EXPORT bool ID3_HasPicture (const ID3_Tag *)
 
ID3_C_EXPORT ID3_FrameID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, bool replace=false)
 
ID3_C_EXPORT ID3_FrameID3_AddPicture (ID3_Tag *, const char *TempPicPath, const char *MimeType, ID3_PictureType pictype, const char *Description, bool replace=false)
 
ID3_C_EXPORT size_t ID3_RemovePictures (ID3_Tag *)
 
ID3_C_EXPORT size_t ID3_GetPictureDataOfPicType (ID3_Tag *, const char *TempPicPath, ID3_PictureType pictype)
 
ID3_C_EXPORT char * ID3_GetMimeTypeOfPicType (ID3_Tag *, ID3_PictureType pictype)
 
ID3_C_EXPORT char * ID3_GetDescriptionOfPicType (ID3_Tag *, ID3_PictureType pictype)
 
ID3_C_EXPORT size_t ID3_RemovePictureType (ID3_Tag *, ID3_PictureType pictype)
 

Function Documentation

◆ ID3_AddAlbum()

ID3_C_EXPORT ID3_Frame * ID3_AddAlbum ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 172 of file misc_support.cpp.

◆ ID3_AddArtist()

ID3_C_EXPORT ID3_Frame * ID3_AddArtist ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 92 of file misc_support.cpp.

◆ ID3_AddComment() [1/3]

ID3_C_EXPORT ID3_Frame * ID3_AddComment ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 358 of file misc_support.cpp.

◆ ID3_AddComment() [2/3]

ID3_C_EXPORT ID3_Frame * ID3_AddComment ( ID3_Tag * tag,
const char * text,
const char * desc,
bool replace = false )

Definition at line 363 of file misc_support.cpp.

◆ ID3_AddComment() [3/3]

ID3_C_EXPORT ID3_Frame * ID3_AddComment ( ID3_Tag * tag,
const char * text,
const char * desc,
const char * lang,
bool replace = false )

Definition at line 369 of file misc_support.cpp.

◆ ID3_AddGenre() [1/2]

ID3_C_EXPORT ID3_Frame * ID3_AddGenre ( ID3_Tag * tag,
const char * genre,
bool replace = false )

Definition at line 839 of file misc_support.cpp.

◆ ID3_AddGenre() [2/2]

ID3_C_EXPORT ID3_Frame * ID3_AddGenre ( ID3_Tag * tag,
size_t ucGenre,
bool replace = false )

Definition at line 862 of file misc_support.cpp.

◆ ID3_AddLyricist()

ID3_C_EXPORT ID3_Frame * ID3_AddLyricist ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 985 of file misc_support.cpp.

◆ ID3_AddLyrics() [1/3]

ID3_C_EXPORT ID3_Frame * ID3_AddLyrics ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 912 of file misc_support.cpp.

◆ ID3_AddLyrics() [2/3]

ID3_C_EXPORT ID3_Frame * ID3_AddLyrics ( ID3_Tag * tag,
const char * text,
const char * desc,
bool replace = false )

Definition at line 917 of file misc_support.cpp.

◆ ID3_AddLyrics() [3/3]

ID3_C_EXPORT ID3_Frame * ID3_AddLyrics ( ID3_Tag * tag,
const char * text,
const char * desc,
const char * lang,
bool replace = false )

Definition at line 923 of file misc_support.cpp.

◆ ID3_AddPicture() [1/2]

ID3_C_EXPORT ID3_Frame * ID3_AddPicture ( ID3_Tag * tag,
const char * TempPicPath,
const char * MimeType,
bool replace = false )

Definition at line 590 of file misc_support.cpp.

◆ ID3_AddPicture() [2/2]

ID3_C_EXPORT ID3_Frame * ID3_AddPicture ( ID3_Tag * tag,
const char * TempPicPath,
const char * MimeType,
ID3_PictureType pictype,
const char * Description,
bool replace = false )

Definition at line 660 of file misc_support.cpp.

◆ ID3_AddSyncLyrics() [1/4]

ID3_C_EXPORT ID3_Frame * ID3_AddSyncLyrics ( ID3_Tag * tag,
const uchar * data,
size_t datasize,
ID3_TimeStampFormat format,
bool replace = false )

Definition at line 1028 of file misc_support.cpp.

◆ ID3_AddSyncLyrics() [2/4]

ID3_C_EXPORT ID3_Frame * ID3_AddSyncLyrics ( ID3_Tag * tag,
const uchar * data,
size_t datasize,
ID3_TimeStampFormat format,
const char * desc,
bool replace = false )

Definition at line 1034 of file misc_support.cpp.

◆ ID3_AddSyncLyrics() [3/4]

ID3_C_EXPORT ID3_Frame * ID3_AddSyncLyrics ( ID3_Tag * tag,
const uchar * data,
size_t datasize,
ID3_TimeStampFormat format,
const char * desc,
const char * lang,
bool replace = false )

Definition at line 1041 of file misc_support.cpp.

◆ ID3_AddSyncLyrics() [4/4]

ID3_C_EXPORT ID3_Frame * ID3_AddSyncLyrics ( ID3_Tag * tag,
const uchar * data,
size_t datasize,
ID3_TimeStampFormat format,
const char * desc,
const char * lang,
ID3_ContentType type,
bool replace = false )

Definition at line 1049 of file misc_support.cpp.

◆ ID3_AddTitle()

ID3_C_EXPORT ID3_Frame * ID3_AddTitle ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 231 of file misc_support.cpp.

◆ ID3_AddTrack()

ID3_C_EXPORT ID3_Frame * ID3_AddTrack ( ID3_Tag * tag,
uchar ucTrack,
uchar ucTotal = 0,
bool replace = false )

Definition at line 493 of file misc_support.cpp.

◆ ID3_AddYear()

ID3_C_EXPORT ID3_Frame * ID3_AddYear ( ID3_Tag * tag,
const char * text,
bool replace = false )

Definition at line 290 of file misc_support.cpp.

◆ ID3_FreeString()

ID3_C_EXPORT void ID3_FreeString ( char * str)

Definition at line 67 of file misc_support.cpp.

◆ ID3_GetAlbum()

ID3_C_EXPORT char * ID3_GetAlbum ( const ID3_Tag * tag)

Definition at line 156 of file misc_support.cpp.

◆ ID3_GetArtist()

ID3_C_EXPORT char * ID3_GetArtist ( const ID3_Tag * tag)

Definition at line 73 of file misc_support.cpp.

◆ ID3_GetComment()

ID3_C_EXPORT char * ID3_GetComment ( const ID3_Tag * tag,
const char * desc = NULL )

Definition at line 333 of file misc_support.cpp.

◆ ID3_GetDescriptionOfPicType()

ID3_C_EXPORT char * ID3_GetDescriptionOfPicType ( ID3_Tag * tag,
ID3_PictureType pictype )

Definition at line 745 of file misc_support.cpp.

◆ ID3_GetGenre()

ID3_C_EXPORT char * ID3_GetGenre ( const ID3_Tag * tag)

Definition at line 792 of file misc_support.cpp.

◆ ID3_GetGenreNum()

ID3_C_EXPORT size_t ID3_GetGenreNum ( const ID3_Tag * tag)

Definition at line 809 of file misc_support.cpp.

◆ ID3_GetLyricist()

ID3_C_EXPORT char * ID3_GetLyricist ( const ID3_Tag * tag)

Definition at line 969 of file misc_support.cpp.

◆ ID3_GetLyrics()

ID3_C_EXPORT char * ID3_GetLyrics ( const ID3_Tag * tag)

Definition at line 896 of file misc_support.cpp.

◆ ID3_GetMimeTypeOfPicType()

ID3_C_EXPORT char * ID3_GetMimeTypeOfPicType ( ID3_Tag * tag,
ID3_PictureType pictype )

Definition at line 718 of file misc_support.cpp.

◆ ID3_GetPictureData()

ID3_C_EXPORT int ID3_GetPictureData ( const ID3_Tag * tag,
const char * TempPicPath )

Definition at line 531 of file misc_support.cpp.

◆ ID3_GetPictureDataOfPicType()

ID3_C_EXPORT size_t ID3_GetPictureDataOfPicType ( ID3_Tag * tag,
const char * TempPicPath,
ID3_PictureType pictype )

Definition at line 684 of file misc_support.cpp.

◆ ID3_GetPictureMimeType()

ID3_C_EXPORT char * ID3_GetPictureMimeType ( const ID3_Tag * tag)

Definition at line 554 of file misc_support.cpp.

◆ ID3_GetString() [1/2]

ID3_C_EXPORT char * ID3_GetString ( const ID3_Frame * frame,
ID3_FieldID fldName )

Definition at line 37 of file misc_support.cpp.

◆ ID3_GetString() [2/2]

ID3_C_EXPORT char * ID3_GetString ( const ID3_Frame * frame,
ID3_FieldID fldName,
size_t nItems )

Definition at line 55 of file misc_support.cpp.

◆ ID3_GetSyncLyrics()

ID3_C_EXPORT ID3_Frame * ID3_GetSyncLyrics ( const ID3_Tag * tag,
const char * lang,
const char * desc,
const uchar *& pData,
size_t & size )

Definition at line 1137 of file misc_support.cpp.

◆ ID3_GetSyncLyricsInfo()

ID3_C_EXPORT ID3_Frame * ID3_GetSyncLyricsInfo ( const ID3_Tag * tag,
const char * lang,
const char * desc,
char & stampformat,
char & type,
size_t & size )

◆ ID3_GetTitle()

ID3_C_EXPORT char * ID3_GetTitle ( const ID3_Tag * tag)

Definition at line 215 of file misc_support.cpp.

◆ ID3_GetTrack()

ID3_C_EXPORT char * ID3_GetTrack ( const ID3_Tag * tag)

Definition at line 465 of file misc_support.cpp.

◆ ID3_GetTrackNum()

ID3_C_EXPORT size_t ID3_GetTrackNum ( const ID3_Tag * tag)

Definition at line 481 of file misc_support.cpp.

◆ ID3_GetYear()

ID3_C_EXPORT char * ID3_GetYear ( const ID3_Tag * tag)

Definition at line 274 of file misc_support.cpp.

◆ ID3_HasPicture()

ID3_C_EXPORT bool ID3_HasPicture ( const ID3_Tag * tag)

Definition at line 570 of file misc_support.cpp.

◆ ID3_RemoveAlbums()

ID3_C_EXPORT size_t ID3_RemoveAlbums ( ID3_Tag * tag)

Definition at line 195 of file misc_support.cpp.

◆ ID3_RemoveArtists()

ID3_C_EXPORT size_t ID3_RemoveArtists ( ID3_Tag * tag)

Definition at line 118 of file misc_support.cpp.

◆ ID3_RemoveComments()

ID3_C_EXPORT size_t ID3_RemoveComments ( ID3_Tag * tag,
const char * desc = NULL )

Definition at line 423 of file misc_support.cpp.

◆ ID3_RemoveGenres()

ID3_C_EXPORT size_t ID3_RemoveGenres ( ID3_Tag * tag)

Definition at line 876 of file misc_support.cpp.

◆ ID3_RemoveLyricist()

ID3_C_EXPORT size_t ID3_RemoveLyricist ( ID3_Tag * tag)

Definition at line 1008 of file misc_support.cpp.

◆ ID3_RemoveLyrics()

ID3_C_EXPORT size_t ID3_RemoveLyrics ( ID3_Tag * tag)

Definition at line 949 of file misc_support.cpp.

◆ ID3_RemovePictures()

ID3_C_EXPORT size_t ID3_RemovePictures ( ID3_Tag * tag)

Definition at line 612 of file misc_support.cpp.

◆ ID3_RemovePictureType()

ID3_C_EXPORT size_t ID3_RemovePictureType ( ID3_Tag * tag,
ID3_PictureType pictype )

Definition at line 630 of file misc_support.cpp.

◆ ID3_RemoveTitles()

ID3_C_EXPORT size_t ID3_RemoveTitles ( ID3_Tag * tag)

Definition at line 254 of file misc_support.cpp.

◆ ID3_RemoveTracks()

ID3_C_EXPORT size_t ID3_RemoveTracks ( ID3_Tag * tag)

Definition at line 772 of file misc_support.cpp.

◆ ID3_RemoveYears()

ID3_C_EXPORT size_t ID3_RemoveYears ( ID3_Tag * tag)

Definition at line 313 of file misc_support.cpp.


Generated for id3lib by doxygen 1.10.0