mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Quick fix for new playback
This commit is contained in:
parent
b8334e89f2
commit
11e4b3edf9
2 changed files with 3 additions and 1 deletions
|
@ -115,6 +115,8 @@ class PlayUtils():
|
|||
|
||||
def directPlay(self, result):
|
||||
|
||||
addon = self.addon
|
||||
|
||||
try:
|
||||
# Item can be played directly
|
||||
playurl = result[u'MediaSources'][0][u'Path']
|
||||
|
|
|
@ -58,7 +58,7 @@ class PlaybackUtils():
|
|||
|
||||
playurl = PlayUtils().getPlayUrl(server, id, result)
|
||||
if playurl == False:
|
||||
xbmcgui.Dialog().ok('Warning', 'Failed to launch playback.')
|
||||
#xbmcgui.Dialog().ok('Warning', 'Failed to launch playback.')
|
||||
xbmc.log("Failed to retrieve the playback path/url.")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue