Utility functions
[Parsing video links]

Functions

QUVIcode quvi_next_videolink (quvi_video_t video)
 Move to the next video link (if any).

Function Documentation

QUVIcode quvi_next_videolink ( quvi_video_t  video  ) 

Move to the next video link (if any).

Used to iterate video links for the parsed video page. While most of the supported websites typically do not split videos into segments, some, like cctv are known to do so.

Parameters:
video Handle to a video session
Returns:
Non-zero if end of list was reached (QUVI_LAST) or an error occurred
See also:
quvi_getprop

Example:

 char *url;
 do {
   quvi_getprop(video, QUVIPROP_VIDEOURL, &url);
   puts(url);
 } while (quvi_next_videolink(video) == QUVI_OK);
Examples:
quvi.c.
 All Files Functions Typedefs Enumerations Enumerator Defines

Generated on 5 Sep 2010 by  doxygen 1.6.1