chore: format files using isort (pre-commit)
This commit is contained in:
parent
20ed5f0d52
commit
cff619679b
226 changed files with 483 additions and 735 deletions
|
|
@ -1,7 +1,8 @@
|
|||
from config import plugins
|
||||
import funkwhale_api
|
||||
from .funkwhale_startup import PLUGIN
|
||||
from config import plugins
|
||||
|
||||
from .client import ListenBrainzClient, Track
|
||||
from .funkwhale_startup import PLUGIN
|
||||
|
||||
|
||||
@plugins.register_hook(plugins.LISTENING_CREATED, PLUGIN)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
from config import plugins
|
||||
|
||||
|
||||
PLUGIN = plugins.get_plugin_config(
|
||||
name="listenbrainz",
|
||||
label="ListenBrainz",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
import json
|
||||
|
||||
from config import plugins
|
||||
|
||||
from .funkwhale_startup import PLUGIN
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
import hashlib
|
||||
|
||||
from config import plugins
|
||||
from .funkwhale_startup import PLUGIN
|
||||
|
||||
from . import scrobbler
|
||||
from .funkwhale_startup import PLUGIN
|
||||
|
||||
# https://listenbrainz.org/lastfm-proxy
|
||||
DEFAULT_SCROBBLER_URL = "http://post.audioscrobbler.com"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import hashlib
|
||||
import time
|
||||
|
||||
|
||||
# https://github.com/jlieth/legacy-scrobbler
|
||||
from .funkwhale_startup import PLUGIN
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue