Provider

Core module

class timeside.core.provider.MetaProvider[source]

Metaclass of the Provider class, used mainly for ensuring that provider id’s are wellformed and unique

class timeside.core.provider.Provider[source]

Base component class of all providers

timeside.core.provider.get_provider(provider_id)[source]

Return a provider by its pid

timeside.core.provider.providers(interface=<class 'timeside.core.api.IProvider'>, recurse=True)[source]

Returns the providers implementing a given interface and, if recurse, any of the descendants of this interface.

Providers

YouTube

class timeside.plugins.provider.youtube.YouTube(url=None, id=None, download=False, path='')[source]

YouTube audio Provider based on Youtube DL

static access()[source]

Boolean informing if the audio is whether or not freely available from the provider

static description()[source]

Return a string describing what this provider is meant for.

static domain()[source]

Return a string equal to the domain of the provider.

exists(self)[source]

Boolean informing if the resource is available from the provider instance

get_file(self)[source]

Return the absolute file path of the resource from the provider instance

get_title(self)[source]

Return the title of the resource from the provider instance

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this provider, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Name of the provider

set_id_from_url(self)[source]

Set provider’s instance url from id

set_url_from_id(self)[source]

Set provider’s instance id from url

DeezerPreview

class timeside.plugins.provider.deezer_preview.DeezerPreview(url=None, id=None, download=False, path='')[source]

Deezer Plugin to retrieve deezer’s 30 seconds tracks preview

static access()[source]

Boolean informing if the audio is whether or not freely available from the provider

static description()[source]

Return a string describing what this provider is meant for.

static domain()[source]

Return a string equal to the domain of the provider.

exists(self)[source]

Boolean informing if the resource is available from the provider instance

get_file(self)[source]

Return the absolute file path of the resource from the provider instance

get_title(self)[source]

Return the title of the resource from the provider instance

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this provider, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Name of the provider

set_id_from_url(self)[source]

Set provider’s instance url from id

set_url_from_id(self)[source]

Set provider’s instance id from url

DeezerComplete

class timeside.plugins.provider.deezer_complete.DeezerComplete[source]

Deezer Plugin representing complete tracks on Deezer’s infrastructure

static access()[source]

Boolean informing if the audio is whether or not freely available from the provider

static description()[source]

Return a string describing what this provider is meant for.

static domain()[source]

Return a string equal to the domain of the provider.

exists(self)[source]

Boolean informing if the resource is available from the provider instance

get_file(self)[source]

Return the absolute file path of the resource from the provider instance

get_title(self)[source]

Return the title of the resource from the provider instance

static id()[source]

Short alphanumeric, lower-case string which uniquely identify this provider, suitable for use as an HTTP/GET argument value, in filenames, etc…

static name()[source]

Name of the provider

set_id_from_url(self)[source]

Set provider’s instance url from id

set_url_from_id(self)[source]

Set provider’s instance id from url