MPV_END_FILE_REASON_REDIRECT constant

int const MPV_END_FILE_REASON_REDIRECT

The file was a playlist or similar. When the playlist is read, its entries will be appended to the playlist after the entry of the current file, the entry of the current file is removed, and a MPV_EVENT_END_FILE event is sent with reason set to MPV_END_FILE_REASON_REDIRECT. Then playback continues with the playlist contents. Since API version 1.18.

Implementation

static const int MPV_END_FILE_REASON_REDIRECT = 5;