mmplaylist_validation_mode_t

Directives for validating playlist entries.

Synopsis:

#include <mm/mmplaylist.h>
typedef enum {
      MMPLAYLIST_ENTRY_RAW_ENC = 0,   
      MMPLAYLIST_ENTRY_UTF8_ENC,   
      MMPLAYLIST_ENTRY_VALIDATE,   
} mmplaylist_validation_mode_t;

Data:

MMPLAYLIST_ENTRY_RAW_ENC
Return raw playlist entries to the caller.
MMPLAYLIST_ENTRY_UTF8_ENC
Return playlist entries converted to UTF-8 to the caller.
MMPLAYLIST_ENTRY_VALIDATE
Use a helper function to validate the entry before returning it to the caller.

This validation mode implies attempted UTF-8 encoding of playlist entries. The library first tries to validate the converted entry and on failure, it then tries to validate the unconverted (raw) entry.

Library:

libmmplaylist

Description:

Types of validation that can be performed on playlist entries. This list might be extended at a future date.