fix: add svg files, continue
This commit is contained in:
parent
6524212140
commit
4debb567b8
@ -314,7 +314,8 @@ class MusicDatabase:
|
|||||||
del music_dict['title']
|
del music_dict['title']
|
||||||
del music_dict['type']
|
del music_dict['type']
|
||||||
del music_dict['tags']
|
del music_dict['tags']
|
||||||
del music_dict['path']
|
if 'path' in music_dict:
|
||||||
|
del music_dict['path']
|
||||||
del music_dict['keywords']
|
del music_dict['keywords']
|
||||||
|
|
||||||
cursor.execute("INSERT OR REPLACE INTO music (id, type, title, metadata, tags, path, keywords) VALUES (?, ?, ?, ?, ?, ?, ?)",
|
cursor.execute("INSERT OR REPLACE INTO music (id, type, title, metadata, tags, path, keywords) VALUES (?, ?, ?, ?, ?, ?, ?)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user