typos
authormarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Thu, 3 Oct 2019 10:43:29 +0000 (12:43 +0200)
committermarcelveldt <marcelvanderveldt@MacBook-Silvia.local>
Thu, 3 Oct 2019 10:43:29 +0000 (12:43 +0200)
music_assistant/modules/musicproviders/qobuz.py
music_assistant/modules/musicproviders/spotify.py

index e262c964a82a64df48d00fb980bd969ce18aa610..a8e21c361cd2a5c45a0c1557c249e916d91f3c52 100644 (file)
@@ -547,7 +547,7 @@ class QobuzProvider(MusicProvider):
     async def __post_data(self, endpoint, params={}, data={}):
         ''' post data to api'''
         url = "http://www.qobuz.com/api.json/0.2/%s" % endpoint
-        params["app_id"] = QOBUZ_APP_ID
+        params["app_id"] = get_app_var(0)
         params["user_auth_token"] = await self.__auth_token()
         async with self.http_session.post(url, params=params, json=data) as response:
             result = await response.json()
index 37ab99e14ac951d43163a943e80c18064343ce9e..d2bcef79a132360d8061552f2cf906c2d1e87944 100644 (file)
@@ -7,7 +7,7 @@ from typing import List
 import sys
 import time
 from utils import run_periodic, LOGGER, parse_track_title
-from app_var import get_app_var
+from app_vars import get_app_var
 from models import MusicProvider, MediaType, TrackQuality, AlbumType, Artist, Album, Track, Playlist
 from constants import CONF_USERNAME, CONF_PASSWORD, CONF_ENABLED
 from asyncio_throttle import Throttler