tmp
This commit is contained in:
parent
59a3be1108
commit
3744bd1c56
3 changed files with 57 additions and 9 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue