Playlist session errors
Synopsis:
#include <mm/mmplaylist.h>
typedef enum {
mmplaylist_ok = 0,
mmplaylist_err,
mmplaylist_no_memory,
mmplaylist_char_conv_failure,
mmplaylist_entry_conf_failure,
mmplaylist_entry_validation_failure,
mmplaylist_config_error,
mmplaylist_entry_too_large,
mmplaylist_read_error,
mmplaylist_end_of_playlist,
mmplaylist_position_too_short,
mmplaylist_position_too_long,
mmplaylist_file_system_error,
mmplaylist_invalid_input,
mmplaylist_session_invalid
} mmplaylist_error_type_t;
Data:
- mmplaylist_ok
- The operation was successful.
- mmplaylist_err
- An unexpected error occurred (e.g., initialization failed or a plugin couldn't
complete the requested operation).
- mmplaylist_no_memory
- The library couldn't allocate enough memory to store the requested information.
- mmplaylist_char_conv_failure
- The character conversion failed.
- mmplaylist_entry_conf_failure
- An error occurred while converting a playlist entry to the requested encoding.
- mmplaylist_entry_validation_failure
- An error occurred while validating a playlist entry.
- mmplaylist_config_error
- The library couldn't read the configuration file or a plugin failed to load.
- mmplaylist_entry_too_large
- The entry was too large for the library to process, so the caller should skip this
entry and get the next one.
- mmplaylist_read_error
- A plugin encountered an error while parsing the next entry.
- mmplaylist_end_of_playlist
- The end of the playlist was reached.
- mmplaylist_position_too_short
- The requested new position is before the beginning of the playlist.
- mmplaylist_position_too_long
- The requested new position is after the end of the playlist.
- mmplaylist_file_system_error
- An error occurred while parsing the playlist file.
- mmplaylist_invalid_input
- An invalid argument was given.
- mmplaylist_session_invalid
- The playlist session is invalid.
Library:
libmmplaylist
Description:
The mmplaylist_error_type_t enumerated type defines codes for playlist session errors.
These values are stored in the mmplaylist_error_info_t
structure.