st-m3u

st-m3u — functions for handling M3U playlists.

Synopsis




char*       st_m3u_mktemp                   (const char *prefix,
                                             GSList *uri_list,
                                             GError **err);

Description

Details

st_m3u_mktemp ()

char*       st_m3u_mktemp                   (const char *prefix,
                                             GSList *uri_list,
                                             GError **err);

Creates a temporary M3U playlist. uri_list must be a list of strings which will be written to the playlist.

prefix : the prefix to use for the temporary filename. Should be in the form "streamtuner.handler.XXXXXX", where handler is the name of the handler.
uri_list : a list of URIs to write.
err : a location to store errors, or NULL.
Returns : the full pathname of the temporary file, or NULL on failure (in such case, err will be set). The pathname should be freed when it is no longer needed.

See Also

st-pls