Source code for timeside.plugins.provider.deezer_complete

from timeside.core import implements, interfacedoc
from timeside.core.provider import Provider
from timeside.core.api import IProvider
from timeside.core.tools.utils import slugify

import os
from requests import get


[docs]class DeezerComplete(Provider): """Deezer Plugin representing complete tracks on Deezer's infrastructure""" implements(IProvider)
[docs] @staticmethod @interfacedoc def id(): return 'deezer_complete'
[docs] @staticmethod @interfacedoc def name(): return "Deezer Complete"
[docs] @staticmethod @interfacedoc def description(): return "Deezer complete provider"
[docs] @staticmethod @interfacedoc def domain(): return "www.deezer.com"
[docs] @staticmethod @interfacedoc def access(): return False
[docs] @interfacedoc def exists(self): return True
[docs] @interfacedoc def get_title(self): return
[docs] @interfacedoc def get_file(self): return
[docs] @interfacedoc def set_id_from_url(self): return self.url.split("/")[-1:][0]
[docs] @interfacedoc def set_url_from_id(self): return