added superclass for download sources

This commit is contained in:
Lars Noack 2022-11-16 11:22:24 +01:00
parent 2c3e1f8664
commit 5240f3eb34

View 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 "", ""