trying to get bundled deps to load
This commit is contained in:
parent
ecca301ceb
commit
70734c7c59
2 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,8 @@
|
|||
Background service which launches the http service.
|
||||
"""
|
||||
|
||||
import sys, os
|
||||
|
||||
import time
|
||||
from typing import Dict
|
||||
|
||||
|
@ -26,6 +28,8 @@ from librespot.core import Session
|
|||
|
||||
SAVE_TO_RECENTLY_PLAYED_FILE = True
|
||||
|
||||
sys.path.insert(1, os.path.join(os.path.dirname(__file__), "deps"))
|
||||
|
||||
SPOTIFY_ADDON = xbmcaddon.Addon(id=ADDON_ID)
|
||||
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
plugin.audio.spotify
|
||||
plugin.audio.librespot
|
||||
Spotify player for Kodi
|
||||
Main service entry point
|
||||
"""
|
||||
|
@ -10,8 +10,11 @@
|
|||
if __name__ == "__main__":
|
||||
import platform
|
||||
import sys
|
||||
import os
|
||||
from resources.lib.utils import log_msg
|
||||
|
||||
sys.path.insert(1, os.path.join(os.path.dirname(__file__), "resources", "lib", "deps"))
|
||||
|
||||
log_msg(f"Python version: {sys.version}.")
|
||||
log_msg(f"Python exe: {sys.executable}.")
|
||||
log_msg(f"Platform: {platform.platform()}.")
|
||||
|
|
Loading…
Reference in a new issue