#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_Frame * | ID3_AddArtist (ID3_Tag *tag, const char *text, bool replace) |
size_t | ID3_RemoveArtists (ID3_Tag *tag) |
char * | ID3_GetAlbum (const ID3_Tag *tag) |
ID3_Frame * | ID3_AddAlbum (ID3_Tag *tag, const char *text, bool replace) |
size_t | ID3_RemoveAlbums (ID3_Tag *tag) |
char * | ID3_GetTitle (const ID3_Tag *tag) |
ID3_Frame * | ID3_AddTitle (ID3_Tag *tag, const char *text, bool replace) |
size_t | ID3_RemoveTitles (ID3_Tag *tag) |
char * | ID3_GetYear (const ID3_Tag *tag) |
ID3_Frame * | ID3_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_Frame * | ID3_AddComment (ID3_Tag *tag, const char *text, bool replace) |
ID3_Frame * | ID3_AddComment (ID3_Tag *tag, const char *text, const char *desc, bool replace) |
ID3_Frame * | ID3_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_Frame * | ID3_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_Frame * | ID3_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_Frame * | ID3_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_Frame * | ID3_AddGenre (ID3_Tag *tag, const char *genre, bool replace) |
ID3_Frame * | ID3_AddGenre (ID3_Tag *tag, size_t genreNum, bool replace) |
size_t | ID3_RemoveGenres (ID3_Tag *tag) |
char * | ID3_GetLyrics (const ID3_Tag *tag) |
ID3_Frame * | ID3_AddLyrics (ID3_Tag *tag, const char *text, bool replace) |
ID3_Frame * | ID3_AddLyrics (ID3_Tag *tag, const char *text, const char *desc, bool replace) |
ID3_Frame * | ID3_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_Frame * | ID3_AddLyricist (ID3_Tag *tag, const char *text, bool replace) |
size_t | ID3_RemoveLyricist (ID3_Tag *tag) |
ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, bool replace) |
ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, const char *desc, bool replace) |
ID3_Frame * | ID3_AddSyncLyrics (ID3_Tag *tag, const uchar *data, size_t datasize, ID3_TimeStampFormat format, const char *desc, const char *lang, bool replace) |
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) |
ID3_Frame * | ID3_GetSyncLyricsInfo (const ID3_Tag *tag, const char *desc, const char *lang, ID3_TimeStampFormat &format, ID3_ContentType &type, size_t &size) |
ID3_Frame * | ID3_GetSyncLyrics (const ID3_Tag *tag, const char *lang, const char *desc, const uchar *&pData, size_t &size) |
|
Definition at line 172 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveAlbums(), ID3FID_ALBUM, ID3FN_TEXT, NULL, and ID3_Field::Set(). |
|
Definition at line 92 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveArtists(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, ID3FN_TEXT, NULL, and ID3_Field::Set(). |
|
Definition at line 369 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::CreateIterator(), ID3_Frame::GetField(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3_RemoveComments(), ID3FID_COMMENT, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TEXT, NULL, and ID3_Field::Set(). Referenced by ID3_AddComment(). |
|
Definition at line 363 of file misc_support.cpp. |
|
Definition at line 358 of file misc_support.cpp. |
|
Definition at line 862 of file misc_support.cpp. |
|
Definition at line 839 of file misc_support.cpp. |
|
Definition at line 985 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveLyricist(), ID3FID_LYRICIST, ID3FN_TEXT, NULL, and ID3_Field::Set(). |
|
Definition at line 923 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveLyrics(), ID3FID_UNSYNCEDLYRICS, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TEXT, NULL, and ID3_Field::Set(). Referenced by ID3_AddLyrics(). |
|
Definition at line 917 of file misc_support.cpp. |
|
Definition at line 912 of file misc_support.cpp. |
|
Definition at line 660 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Field::FromFile(), ID3_Frame::GetField(), ID3_RemovePictureType(), ID3FID_PICTURE, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_MIMETYPE, ID3FN_PICTURETYPE, NULL, and ID3_Field::Set(). |
|
Definition at line 590 of file misc_support.cpp. |
|
Definition at line 1049 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3FID_SYNCEDLYRICS, ID3FN_CONTENTTYPE, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TIMESTAMPFORMAT, NULL, ID3_Tag::RemoveFrame(), ID3_Field::Set(), and uchar. Referenced by ID3_AddSyncLyrics(). |
|
Definition at line 1041 of file misc_support.cpp. |
|
Definition at line 1034 of file misc_support.cpp. |
|
Definition at line 1028 of file misc_support.cpp. |
|
Definition at line 231 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveTitles(), ID3FID_TITLE, ID3FN_TEXT, NULL, and ID3_Field::Set(). |
|
Definition at line 493 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveTracks(), ID3FID_TRACKNUM, ID3FN_TEXT, luint, NULL, ID3_Field::Set(), and uchar. |
|
Definition at line 290 of file misc_support.cpp. References ID3_Tag::AttachFrame(), ID3_Tag::Find(), ID3_Frame::GetField(), ID3_RemoveYears(), ID3FID_YEAR, ID3FN_TEXT, NULL, and ID3_Field::Set(). |
|
Definition at line 67 of file misc_support.cpp. References NULL. |
|
Definition at line 156 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_ALBUM, ID3FN_TEXT, and NULL. |
|
Definition at line 73 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, ID3FN_TEXT, and NULL. |
|
Definition at line 333 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, ID3FN_TEXT, NULL, and STR_V1_COMMENT_DESC. |
|
Definition at line 745 of file misc_support.cpp. References ID3_Tag::CreateIterator(), ID3_Field::Get(), ID3_Frame::GetField(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3FID_PICTURE, ID3FN_DESCRIPTION, ID3FN_PICTURETYPE, and NULL. |
|
Definition at line 792 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_CONTENTTYPE, ID3FN_TEXT, and NULL. Referenced by ID3_GetGenreNum(). |
|
Definition at line 809 of file misc_support.cpp. References ID3_GetGenre(), and NULL. |
|
Definition at line 969 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_LYRICIST, ID3FN_TEXT, and NULL. |
|
Definition at line 896 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_UNSYNCEDLYRICS, ID3FN_TEXT, and NULL. |
|
Definition at line 718 of file misc_support.cpp. References ID3_Tag::CreateIterator(), ID3_Field::Get(), ID3_Frame::GetField(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3FID_PICTURE, ID3FN_MIMETYPE, ID3FN_PICTURETYPE, and NULL. |
|
Definition at line 531 of file misc_support.cpp. References ID3_Tag::Find(), ID3_Frame::GetField(), ID3FID_PICTURE, ID3FN_DATA, NULL, ID3_Field::Size(), and ID3_Field::ToFile(). |
|
Definition at line 684 of file misc_support.cpp. References ID3_Tag::CreateIterator(), ID3_Field::Get(), ID3_Frame::GetField(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3FID_PICTURE, ID3FN_DATA, ID3FN_PICTURETYPE, NULL, ID3_Field::Size(), and ID3_Field::ToFile(). |
|
Definition at line 554 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_PICTURE, ID3FN_MIMETYPE, and NULL. |
|
Definition at line 55 of file misc_support.cpp. References ID3_Field::Get(), ID3_Frame::GetField(), NULL, and ID3_Field::Size(). Referenced by ID3_AddComment(), ID3_GetAlbum(), ID3_GetArtist(), ID3_GetComment(), ID3_GetDescriptionOfPicType(), ID3_GetGenre(), ID3_GetLyricist(), ID3_GetLyrics(), ID3_GetMimeTypeOfPicType(), ID3_GetPictureMimeType(), ID3_GetTitle(), ID3_GetTrack(), ID3_GetYear(), and ID3_RemoveComments(). |
|
Definition at line 37 of file misc_support.cpp. |
|
Definition at line 1137 of file misc_support.cpp. References ID3_Tag::Find(), ID3_Frame::GetField(), ID3_Field::GetRawBinary(), ID3FID_SYNCEDLYRICS, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, NULL, ID3_Field::Size(), and uchar. |
|
Definition at line 1096 of file misc_support.cpp. References ID3_Tag::Find(), ID3_Field::Get(), ID3_Frame::GetField(), ID3FID_SYNCEDLYRICS, ID3FN_CONTENTTYPE, ID3FN_DATA, ID3FN_DESCRIPTION, ID3FN_LANGUAGE, ID3FN_TIMESTAMPFORMAT, NULL, and ID3_Field::Size(). |
|
Definition at line 215 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_TITLE, ID3FN_TEXT, and NULL. |
|
Definition at line 465 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_TRACKNUM, ID3FN_TEXT, and NULL. Referenced by ID3_GetTrackNum(). |
|
Definition at line 481 of file misc_support.cpp. References ID3_GetTrack(), and NULL. |
|
Definition at line 274 of file misc_support.cpp. References ID3_Tag::Find(), ID3_GetString(), ID3FID_YEAR, ID3FN_TEXT, and NULL. |
|
Definition at line 570 of file misc_support.cpp. References ID3_Tag::Find(), ID3_Frame::GetField(), ID3FID_PICTURE, ID3FN_DATA, and NULL. |
|
Definition at line 195 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_ALBUM, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddAlbum(). |
|
Definition at line 118 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_BAND, ID3FID_COMPOSER, ID3FID_CONDUCTOR, ID3FID_LEADARTIST, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddArtist(). |
|
Definition at line 423 of file misc_support.cpp. References ID3_Tag::CreateIterator(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3_GetString(), ID3FID_COMMENT, ID3FN_DESCRIPTION, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddComment(). |
|
Definition at line 876 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_CONTENTTYPE, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddGenre(). |
|
Definition at line 1008 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_LYRICIST, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddLyricist(). |
|
Definition at line 949 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_UNSYNCEDLYRICS, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddLyrics(). |
|
Definition at line 612 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_PICTURE, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddPicture(). |
|
Definition at line 630 of file misc_support.cpp. References ID3_Tag::CreateIterator(), ID3_Field::Get(), ID3_Frame::GetField(), ID3_Frame::GetID(), ID3_Tag::Iterator::GetNext(), ID3FID_PICTURE, ID3FN_PICTURETYPE, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddPicture(). |
|
Definition at line 254 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_TITLE, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddTitle(). |
|
Definition at line 772 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_TRACKNUM, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddTrack(). |
|
Definition at line 313 of file misc_support.cpp. References ID3_Tag::Find(), ID3FID_YEAR, NULL, and ID3_Tag::RemoveFrame(). Referenced by ID3_AddYear(). |