added superclass for download sources
This commit is contained in:
parent
2c3e1f8664
commit
5240f3eb34
15
src/music_kraken/audio_source/sources/source.py
Normal file
15
src/music_kraken/audio_source/sources/source.py
Normal file
@ -0,0 +1,15 @@
|
||||
from typing import Tuple
|
||||
|
||||
"""
|
||||
The class "Source" is the superclass every class for specific audio
|
||||
sources inherits from. This gives the advantage of a consistent
|
||||
calling of the functions do search for a song and to download it.
|
||||
"""
|
||||
|
||||
|
||||
class Source:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def get_source(self, row) -> Tuple[str, str]:
|
||||
return "", ""
|
Loading…
Reference in New Issue
Block a user