libquvi supports parsing a playlist properties (e.g. media URLs), these may be accessed using the Playlist property functions.
The available Playlist script collection determines which websites are supported by the library.
- Note
- Using any of the QUVI_PLAYLIST_MEDIA_PROPERTY_* values with quvi_playlist_get will cause the library to advance to the first media item in the list. This will make quvi_playlist_media_next function to continue from the second media stream, not the first one as one might expect.
For example:
abort_if_error();
{
char *p_id, *m_url;
}
Where as:
abort_if_error();
{
char *p_id, *m_url;
}
Alternatively, call quvi_playlist_media_reset after the quvi_playlist_get call.
Example
This example parses a playlist, then queries the media properties for each found media URL.
abort_if_error();
{
char *s;
{
abort_if_error();
{
abort_if_error();
qm = NULL;
}
}
}
qp = NULL;
- See Also
- Parsing media properties
-
QuviPlaylistProperty