Gst.TagList.prototype.peek_string_index

function peek_string_index(tag:String, index:Number):Boolean {
    // Gjs wrapper for gst_tag_list_peek_string_index()
}

Peeks at the value that is at the given index for the given tag in the given list.

The resulting string in value will be in UTF-8 encoding and doesn't need to be freed by the caller. The returned string is also guaranteed to be non-NULL and non-empty.

tag

tag to read out

index

number of entry to read out

Returns

TRUE, if a value was set, FALSE if the tag didn't exist in the given list.