Extractor

abstract class Extractor

Must be implemented to extract info for tracks

Constructors

Link copied to clipboard
fun Extractor()

Types

Link copied to clipboard
enum URL_TYPE : Enum<Extractor.URL_TYPE>

Enum for input from getTrack

Functions

Link copied to clipboard
open suspend fun getAlbumTracks(url: String, loadId: String): List<Track>

Gets Tracks from an album

Link copied to clipboard
open suspend fun getArtistTracks(url: String, loadId: String): List<Track>

Gets Tracks from an artist

Link copied to clipboard
open suspend fun getPlaylistTracks(url: String, loadId: String): List<Track>

Gets Tracks from a playlist

Link copied to clipboard
abstract suspend fun getStream(url: String, track: Track): String?

Get a URL to stream audio from

Link copied to clipboard
abstract suspend fun getTrack(url: String, loadId: String): Track?

create a Track from a URL to a resource

Link copied to clipboard
open suspend fun getUrlType(url: String): Extractor.URL_TYPE

Sort an input URL in different to extract differently

Link copied to clipboard
abstract suspend fun search(query: String, loadId: String): Track?

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard