moving some modules around
This commit is contained in:
parent
70734c7c59
commit
75bfe0dae2
57 changed files with 7 additions and 3 deletions
|
@ -1,10 +1,11 @@
|
||||||
|
import os, sys
|
||||||
|
sys.path.insert(1, os.path.join(os.path.dirname(__file__), "deps"))
|
||||||
|
|
||||||
from wsgiref.simple_server import make_server
|
from wsgiref.simple_server import make_server
|
||||||
|
|
||||||
from bottle import app, request, HTTPResponse, Bottle
|
from bottle import app, request, HTTPResponse, Bottle
|
||||||
import xbmc
|
import xbmc
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
from librespot.core import Session
|
from librespot.core import Session
|
||||||
from librespot.audio.decoders import AudioQuality, VorbisOnlyAudioQuality
|
from librespot.audio.decoders import AudioQuality, VorbisOnlyAudioQuality
|
||||||
from librespot.metadata import TrackId
|
from librespot.metadata import TrackId
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
import os, sys
|
||||||
|
sys.path.insert(1, os.path.join(os.path.dirname(__file__), "deps"))
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import sys, os
|
import sys, os
|
||||||
|
sys.path.insert(1, os.path.join(os.path.dirname(__file__), "deps"))
|
||||||
|
|
||||||
import time
|
import time
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
@ -28,7 +29,6 @@ from librespot.core import Session
|
||||||
|
|
||||||
SAVE_TO_RECENTLY_PLAYED_FILE = True
|
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)
|
SPOTIFY_ADDON = xbmcaddon.Addon(id=ADDON_ID)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue