server
fun server(id: String, quality: Int, title: String? = null, extras: Map<String, String> = mapOf()): Streamable
Creates a Streamable with the given id, quality, title, and extras for a server media.
Return
A Streamable with the given id, quality, title, and extras for a server media
Parameters
id
The id of the streamable item
quality
The quality of the streamable item, this is used to sort the streamable items
title
The title of the streamable item
extras
Any extra data you want to associate with the streamable item