mirror of
https://github.com/Dvorinka/SpotifyRecAlg.git
synced 2026-06-04 12:33:03 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import contextlib
|
||||
|
||||
from sqlalchemy.exc import IntegrityError
|
||||
|
||||
from swingmusic.db.userdata import PluginTable
|
||||
|
||||
|
||||
def register_plugins():
|
||||
with contextlib.suppress(IntegrityError):
|
||||
PluginTable.insert_one(
|
||||
{
|
||||
"name": "lyrics_finder",
|
||||
"active": True,
|
||||
"settings": {
|
||||
"auto_download": True,
|
||||
"overide_unsynced": True,
|
||||
"provider_order": ["lrclib", "musixmatch"],
|
||||
},
|
||||
"extra": {
|
||||
"description": "Find lyrics from the internet",
|
||||
},
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user