Functions

src/misc_support.cpp File Reference

#include <stdio.h>
#include "misc_support.h"
#include "id3/utils.h"

Go to the source code of this file.

Functions

char * ID3_GetString (const ID3_Frame *frame, ID3_FieldID fldName)
char * ID3_GetString (const ID3_Frame *frame, ID3_FieldID fldName, size_t nIndex)
void ID3_FreeString (char *str)
char * ID3_GetArtist (const ID3_Tag *tag)
ID3_FrameID3_AddArtist (ID3_Tag *tag, const char *text, bool replace)
size_t ID3_RemoveArtists (ID3_Tag *tag)
char * ID3_GetAlbum (const ID3_Tag *tag)
ID3_FrameID3_AddAlbum (ID3_Tag *tag, const char *text, bool replace)
size_t ID3_RemoveAlbums (ID3_Tag *tag)
char * ID3_GetTitle (const ID3_Tag *tag)
ID3_FrameID3_AddTitle (ID3_Tag *tag, const char *text, bool replace)
size_t ID3_RemoveTitles (ID3_Tag *tag)
char * ID3_GetYear (const ID3_Tag *tag)
ID3_FrameID3_AddYear (ID3_Tag *tag, const char *text, bool replace)
size_t ID3_RemoveYears (ID3_Tag *tag)
char * ID3_GetComment (const ID3_Tag *tag, const char *desc)
ID3_FrameID3_AddComment (ID3_Tag *tag, const char *text, bool replace)
ID3_FrameID3_AddComment (ID3_Tag *tag, const char *text, const char *desc, bool replace)
ID3_FrameID3_AddComment (ID3_Tag *tag, const char *text, const char *desc, const char *lang, bool replace)
size_t ID3_RemoveComments (ID3_Tag *tag, const char *desc)
char * ID3_GetTrack (const ID3_Tag *tag)
size_t ID3_GetTrackNum (const ID3_Tag *tag)
ID3_FrameID3_AddTrack (ID3_Tag *tag, uchar trk, uchar ttl, bool replace)
int ID3_GetPictureData (const ID3_Tag *tag, const char *TempPicPath)
char * ID3_GetPictureMimeType (const ID3_Tag *tag)
bool ID3_HasPicture (const ID3_Tag *tag)
ID3_FrameID3_AddPicture (ID3_Tag *tag, const char *TempPicPath, const char *MimeType, bool replace)
size_t ID3_RemovePictures (ID3_Tag *tag)
size_t ID3_RemovePictureType (ID3_Tag *tag, ID3_PictureType pictype)
ID3_FrameID3_AddPicture (ID3_Tag *tag, const char *TempPicPath, const char *MimeType, ID3_PictureType pictype, const char *Description, bool replace)
size_t ID3_GetPictureDataOfPicType (ID3_Tag *tag, const char *TempPicPath, ID3_PictureType pictype)
char * ID3_GetMimeTypeOfPicType (ID3_Tag *tag, ID3_PictureType pictype)
char * ID3_GetDescriptionOfPicType (ID3_Tag *tag, ID3_PictureType pictype)
size_t ID3_RemoveTracks (ID3_Tag *tag)
char * ID3_GetGenre (const ID3_Tag *tag)
size_t ID3_GetGenreNum (const ID3_Tag *tag)
ID3_FrameID3_AddGenre (ID3_Tag *tag, const char *genre, bool replace)
ID3_FrameID3_AddGenre (ID3_Tag *tag, size_t genreNum, bool replace)
size_t ID3_RemoveGenres (ID3_Tag *tag)
char * ID3_GetLyrics (const ID3_Tag *tag)
ID3_FrameID3_AddLyrics (ID3_Tag *tag, const char *text, bool replace)
ID3_FrameID3_AddLyrics (ID3_Tag *tag, const char *text, const char *desc, bool replace)
ID3_FrameID3_AddLyrics (ID3_Tag *tag, const char *text, const char *desc, const char *lang, bool replace)
size_t ID3_RemoveLyrics (ID3_Tag *tag)
char * ID3_GetLyricist (const ID3_Tag *tag)
ID3_FrameID3_AddLyricist (ID3_Tag *tag, const char *text, bool replace)
size_t ID3_RemoveLyricist (ID3_Tag *tag)
ID3_FrameID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, bool replace)
ID3_FrameID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, const char *desc, bool replace)
ID3_FrameID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, const char *desc, const char *lang, bool replace)
ID3_FrameID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, const char *desc, const char *lang, ID3_ContentType type, bool replace)
ID3_FrameID3_GetSyncLyricsInfo (const ID3_Tag *tag, const char *desc, const char *lang, ID3_TimeStampFormat &format, ID3_ContentType &type, size_t &size)
ID3_FrameID3_GetSyncLyrics (const ID3_Tag *tag, const char *lang, const char *desc, const uchar *&pData, size_t &size)

Function Documentation

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

Definition at line 172 of file misc_support.cpp.

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

Definition at line 92 of file misc_support.cpp.

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

Definition at line 358 of file misc_support.cpp.

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

Definition at line 363 of file misc_support.cpp.

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

Definition at line 369 of file misc_support.cpp.

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

Definition at line 839 of file misc_support.cpp.

ID3_Frame* ID3_AddGenre ( ID3_Tag tag,
size_t  genreNum,
bool  replace 
)

Definition at line 862 of file misc_support.cpp.

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

Definition at line 985 of file misc_support.cpp.

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

Definition at line 917 of file misc_support.cpp.

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

Definition at line 923 of file misc_support.cpp.

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

Definition at line 912 of file misc_support.cpp.

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

Definition at line 590 of file misc_support.cpp.

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

Definition at line 660 of file misc_support.cpp.

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 
)

Definition at line 1049 of file misc_support.cpp.

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

Definition at line 1028 of file misc_support.cpp.

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

Definition at line 1034 of file misc_support.cpp.

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

Definition at line 1041 of file misc_support.cpp.

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

Definition at line 231 of file misc_support.cpp.

ID3_Frame* ID3_AddTrack ( ID3_Tag tag,
uchar  trk,
uchar  ttl,
bool  replace 
)

Definition at line 493 of file misc_support.cpp.

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

Definition at line 290 of file misc_support.cpp.

void ID3_FreeString ( char *  str )

Definition at line 67 of file misc_support.cpp.

char* ID3_GetAlbum ( const ID3_Tag tag )

Definition at line 156 of file misc_support.cpp.

char* ID3_GetArtist ( const ID3_Tag tag )

Definition at line 73 of file misc_support.cpp.

char* ID3_GetComment ( const ID3_Tag tag,
const char *  desc 
)

Definition at line 333 of file misc_support.cpp.

char* ID3_GetDescriptionOfPicType ( ID3_Tag tag,
ID3_PictureType  pictype 
)

Definition at line 745 of file misc_support.cpp.

char* ID3_GetGenre ( const ID3_Tag tag )

Definition at line 792 of file misc_support.cpp.

size_t ID3_GetGenreNum ( const ID3_Tag tag )

Definition at line 809 of file misc_support.cpp.

char* ID3_GetLyricist ( const ID3_Tag tag )

Definition at line 969 of file misc_support.cpp.

char* ID3_GetLyrics ( const ID3_Tag tag )

Definition at line 896 of file misc_support.cpp.

char* ID3_GetMimeTypeOfPicType ( ID3_Tag tag,
ID3_PictureType  pictype 
)

Definition at line 718 of file misc_support.cpp.

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

Definition at line 531 of file misc_support.cpp.

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

Definition at line 684 of file misc_support.cpp.

char* ID3_GetPictureMimeType ( const ID3_Tag tag )

Definition at line 554 of file misc_support.cpp.

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

Definition at line 55 of file misc_support.cpp.

char* ID3_GetString ( const ID3_Frame frame,
ID3_FieldID  fldName 
)

Definition at line 37 of file misc_support.cpp.

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_Frame* ID3_GetSyncLyricsInfo ( const ID3_Tag tag,
const char *  desc,
const char *  lang,
ID3_TimeStampFormat format,
ID3_ContentType type,
size_t &  size 
)

Definition at line 1096 of file misc_support.cpp.

char* ID3_GetTitle ( const ID3_Tag tag )

Definition at line 215 of file misc_support.cpp.

char* ID3_GetTrack ( const ID3_Tag tag )

Definition at line 465 of file misc_support.cpp.

size_t ID3_GetTrackNum ( const ID3_Tag tag )

Definition at line 481 of file misc_support.cpp.

char* ID3_GetYear ( const ID3_Tag tag )

Definition at line 274 of file misc_support.cpp.

bool ID3_HasPicture ( const ID3_Tag tag )

Definition at line 570 of file misc_support.cpp.

size_t ID3_RemoveAlbums ( ID3_Tag tag )

Definition at line 195 of file misc_support.cpp.

size_t ID3_RemoveArtists ( ID3_Tag tag )

Definition at line 118 of file misc_support.cpp.

size_t ID3_RemoveComments ( ID3_Tag tag,
const char *  desc 
)

Definition at line 423 of file misc_support.cpp.

size_t ID3_RemoveGenres ( ID3_Tag tag )

Definition at line 876 of file misc_support.cpp.

size_t ID3_RemoveLyricist ( ID3_Tag tag )

Definition at line 1008 of file misc_support.cpp.

size_t ID3_RemoveLyrics ( ID3_Tag tag )

Definition at line 949 of file misc_support.cpp.

size_t ID3_RemovePictures ( ID3_Tag tag )

Definition at line 612 of file misc_support.cpp.

size_t ID3_RemovePictureType ( ID3_Tag tag,
ID3_PictureType  pictype 
)

Definition at line 630 of file misc_support.cpp.

size_t ID3_RemoveTitles ( ID3_Tag tag )

Definition at line 254 of file misc_support.cpp.

size_t ID3_RemoveTracks ( ID3_Tag tag )

Definition at line 772 of file misc_support.cpp.

size_t ID3_RemoveYears ( ID3_Tag tag )

Definition at line 313 of file misc_support.cpp.