From d78b289a2ba84d119e0f0494c8d28c26a95f7465 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 8 Sep 2018 15:30:03 -0500 Subject: [PATCH] Convert dialog --- resources/lib/helper/playutils.py | 5 ++--- resources/settings.xml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/resources/lib/helper/playutils.py b/resources/lib/helper/playutils.py index 364026d7..5564adaa 100644 --- a/resources/lib/helper/playutils.py +++ b/resources/lib/helper/playutils.py @@ -9,12 +9,11 @@ from uuid import uuid4 import xbmc import xbmcvfs -import xbmcgui import api import database import client -from . import _, settings, window +from . import _, settings, window, dialog from libraries import requests from downloader import TheVoid from emby import Emby @@ -111,7 +110,7 @@ class PlayUtils(object): for source in sources: selection.append(source.get('Name', "na")) - resp = xbmcgui.Dialog().select(_(33130), selection) + resp = dialog("select", _(33130), selection) if resp > -1: source = sources[resp] else: diff --git a/resources/settings.xml b/resources/settings.xml index aaa810ce..6d60086d 100644 --- a/resources/settings.xml +++ b/resources/settings.xml @@ -85,8 +85,8 @@ - - + +