|
@@ -237,11 +237,11 @@ def read_settings():
|
|
if not PORTAL_URL or not len(PORTAL_URL):
|
|
if not PORTAL_URL or not len(PORTAL_URL):
|
|
PORTAL_URL = "vnext.to"
|
|
PORTAL_URL = "vnext.to"
|
|
|
|
|
|
- API_URL = "http://api.%s" % PORTAL_URL
|
|
|
|
-
|
|
|
|
if not ("://" in PORTAL_URL):
|
|
if not ("://" in PORTAL_URL):
|
|
PORTAL_URL = "http://%s" % PORTAL_URL
|
|
PORTAL_URL = "http://%s" % PORTAL_URL
|
|
|
|
|
|
|
|
+ API_URL = "http://api.%s" % PORTAL_URL
|
|
|
|
+
|
|
DEVICE_IDENTIFER = PLUGIN.get_setting("deviceidentifier")
|
|
DEVICE_IDENTIFER = PLUGIN.get_setting("deviceidentifier")
|
|
|
|
|
|
WATCHLIST_ID = PLUGIN.get_setting("watchlistid")
|
|
WATCHLIST_ID = PLUGIN.get_setting("watchlistid")
|