#include <MediaInfoList.h>
Public Member Functions | |
MediaInfoList (int MaxCount=1000) | |
Constructor. | |
int | Open (const std::string &File, const fileoptions_t Options=FileOption_Nothing) |
Open one or more files. | |
int | Save (int FilePos) |
Save file. | |
int | Save_All () |
Save all files. | |
void | Close (int FilePos) |
Close file (without saving). | |
void | Close_All () |
Close all files. | |
std::string | Inform (int FilePos, informoptions_t Options=InformOption_Nothing) |
Get all details about a file in one string. | |
std::string | Inform_All (informoptions_t Options=InformOption_Nothing, const std::string &Separator=std::string("\r\n\r\n---\r\n\r\n")) |
Get all details about all files in one string. | |
std::string | Get (int FilePos, stream_t StreamKind, int StreamNumber, int Parameter, info_t KindOfInfo=Info_Text) |
Get information about a file (parameter is an integer). | |
std::string | Get (int FilePos, stream_t StreamKind, int StreamNumber, const std::string &Parameter, info_t KindOfInfo=Info_Text, info_t KindOfSearch=Info_Name) |
Get information about a file (parameter is a string). | |
int | Set (const std::string &ToSet, int FilePos, stream_t StreamKind, int StreamNumber, int Parameter, info_t KindOfInfo=Info_Text) |
Set information about a file (parameter is an int). | |
int | Set (const std::string &ToSet, int FilePos, stream_t StreamKind, int StreamNumber, const std::string &Parameter, info_t KindOfInfo=Info_Text, info_t KindOfSearch=Info_Name) |
Get information about a file (parameter is a string). | |
int | Count_Get () |
Get the number of opened files. | |
int | Count_Get (int FilePos, stream_t StreamKind, int StreamNumber=-1) |
Count of streams of a certain kind, or count of info in this stream (if StreamNumber). | |
int | Language_Set (const std::string &NewLanguage) |
Configure custom text. | |
Static Public Member Functions | |
int | Complete_Get () |
For debug, show all info (doesn't care of InfoOption_NoShow tag). | |
int | Complete_Set (bool Complete) |
For debug, show all info (doesn't care of InfoOption_NoShow tag). | |
int | Language_Set_Static (const std::string &NewLanguage) |
Configure custom text (static). | |
int | Inform_Set (const std::string &NewView) |
Configure custom text. | |
std::string | Info_Parameters (bool CSV=false) |
Information about what are known unique names for parameters. | |
std::string | Info_Capacities () |
Information about which parameters per format are supported. | |
std::string | Info_Codecs () |
Information about which codec is known. | |
std::string | Info_Version () |
Get the version of MediaInfoLib. |
Definition at line 83 of file MediaInfoList.h.
|
Constructor.
|
|
Close file (without saving).
|
|
Close all files. Close all files (without saving)
|
|
For debug, show all info (doesn't care of InfoOption_NoShow tag).
|
|
For debug, show all info (doesn't care of InfoOption_NoShow tag).
|
|
Count of streams of a certain kind, or count of info in this stream (if StreamNumber).
|
|
Get the number of opened files. Options
|
|
Get information about a file (parameter is a string).
|
|
Get information about a file (parameter is an integer).
|
|
Information about which parameters per format are supported.
|
|
Information about which codec is known.
|
|
Information about what are known unique names for parameters.
|
|
Get the version of MediaInfoLib.
|
|
Get all details about a file in one string. Inform about a file in text mode
|
|
Get all details about all files in one string.
|
|
Configure custom text.
|
|
Configure custom text.
|
|
Configure custom text (static).
|
|
Open one or more files.
|
|
Save file. Save file
|
|
Save all files. Save all files |
|
Get information about a file (parameter is a string).
|
|
Set information about a file (parameter is an int).
|