Skip to content

Commit

Permalink
Print Mopidy-Tidal, tidalapi version to log
Browse files Browse the repository at this point in the history
  • Loading branch information
tehkillerbee committed Mar 2, 2024
1 parent 8f0a33c commit 427dd5a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mopidy_tidal/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
from mopidy import backend
from pykka import ThreadingActor
from tidalapi import Config, Quality, Session
from tidalapi import __version__ as tidalapi_ver

from mopidy_tidal import Extension, context, library, playback, playlists
from mopidy_tidal.web_auth_server import WebAuthServer
from mopidy_tidal import __version__ as mopidy_tidal_ver

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -72,6 +74,8 @@ def session_valid(self):
return self._active_session.check_login()

def on_start(self):
logger.info("Mopidy-Tidal version: v%s", mopidy_tidal_ver)
logger.info("Python-Tidal version: v%s", tidalapi_ver)
quality = self._tidal_config["quality"]
client_id = self._tidal_config["client_id"]
client_secret = self._tidal_config["client_secret"]
Expand Down

0 comments on commit 427dd5a

Please sign in to comment.