This commit is contained in:
IlyaShurupov 2024-07-11 10:26:27 +03:00
parent 59a3be1108
commit 3744bd1c56
3 changed files with 57 additions and 9 deletions

View file

@ -4,6 +4,13 @@ import os
data_dir = 'prefetched'
class SongTags:
def __init__(self, title='', artist='', album=''):
self.artist = artist
self.title = title
self.album = album
def get_data(name):
file_path = os.path.join(data_dir, f"{name}.json")
try: