a source
a playlist
the #GList of #GrlKeyIDs to request
options wanted for that operation
A filter function, or %NULL
the user defined callback
Browse into a playlist. The playlist entries are returned via the bs->callback function as GrlMedia objects. This function is more suitable to be called from plugins, which by design get the GrlSourceBrowseSpec already filled in.
The bs->playlist provided could be of any GrlMedia class, as long as its URI points to a valid playlist file.
This function is asynchronous.
See #grl_pls_browse() and #grl_source_browse() function for additional information and sample code.
a source
A filter function, or %NULL
a GrlSourceBrowseSpec structure with details of the browsing operation
Browse into a playlist. The playlist entries are
returned via the callback
function as GrlMedia objects.
This function imitates the API and way of working of
#grl_source_browse_sync.
The filter function filter_func
will be used for plugins
or applications to be able to refuse particular entries from
being listed.
If a %NULL filter function is passed, the media will be added with only the metadata coming from the playlist included.
This function is synchronous.
See #grl_source_browse_sync() function for additional information and sample code.
a source
a playlist
the #GList of #GrlKeyIDs to request
options wanted for that operation
A filter function, or %NULL
This function will update (if content
is non-%NULL) or create a
GrlMedia and populate it with information from info
.
If info
is %NULL, a call to g_file_query_info() will be made.
This function is useful for plugins that browse the local filesystem and want to easily create GrlMedia from filesystem information.
an existing #GrlMedia for the file, or %NULL
a #GFile pointing to the file or directory in question
an existing #GFileInfo, or %NULL
Whether playlists should be handled as containers
a #GrlOperationOptions representing the options to apply to this operation.
Returns the list of attributes to pass to g_file_query_info() to make it possible to populate a GrlMedia using grl_pls_file_to_media().
Do not free the result of this function.
Browse into a playlist. The playlist entries are returned via the
callback
function as GrlMedia objects. This function imitates the API and way of working of #grl_source_browse.The
playlist
provided could be of any GrlMedia class, as long as its URI points to a valid playlist file.This function is asynchronous.
See #grl_source_browse() function for additional information and sample code.