mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-09 10:55:09 +00:00
Convert dialog
This commit is contained in:
parent
938c7ce025
commit
d78b289a2b
2 changed files with 4 additions and 5 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue