parse


Description:

[ NoWrapper ]
public abstract bool parse (Uri uri, Bytes bytes, ListStore playlist, Cancellable cancellable) throws Error

Parse bytes and fill playlist with [class@Clapper.

MediaItem] objects.

If implementation returns false, whole playlist content will be discarded.

Parameters:

this

a Playlistable

uri

a source Uri

bytes

a Bytes

playlist

a ListStore for media items

cancellable

a Cancellable object

Returns:

whether parsing was successful.