mmr_list_change()

Set a new playlist without interrupting playback

Synopsis:

#include <renderer.h>

int mmr_list_change( mmr_context_t *ctxt,
                     const char *url,
                     int delta );

Arguments:

ctxt
A context handle.
url
The URL of a new playlist.
delta
The difference between the position of the current track on the two lists.

Library:

mmrndclient

Description:

The function mmr_list_change() sets a playlist without interrupting playback of the current input media, which must also be a playlist. The current track must be in the new playlist, and its position in the new playlist also must be the same as or higher than its position in the current playlist (it can't be in a lower position in the new playlist).

Returns:

0
Success.
-1
An error occurred. Use the function mmr_error_info() to retrieve information about the error.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes