mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-27 03:06:10 +00:00
Fix ISO transcode
I don't know that iso transcode is possible, but at least it won't crash due to emby not probing iso files anymore (no more media info detected)
This commit is contained in:
parent
308ac1a9d6
commit
aed9eee6a5
1 changed files with 6 additions and 2 deletions
|
@ -188,8 +188,12 @@ class PlaybackUtils():
|
||||||
|
|
||||||
# For transcoding only, ask for audio/subs pref
|
# For transcoding only, ask for audio/subs pref
|
||||||
if window('emby_%s.playmethod' % playurl) == "Transcode":
|
if window('emby_%s.playmethod' % playurl) == "Transcode":
|
||||||
playurl = playutils.audioSubsPref(playurl, listitem)
|
# Filter ISO since Emby does not probe anymore
|
||||||
window('emby_%s.playmethod' % playurl, value="Transcode")
|
if self.item.get('VideoType') == "Iso":
|
||||||
|
self.logMsg("Skipping audio/subs prompt, ISO detected.", 1)
|
||||||
|
else:
|
||||||
|
playurl = playutils.audioSubsPref(playurl, listitem)
|
||||||
|
window('emby_%s.playmethod' % playurl, value="Transcode")
|
||||||
|
|
||||||
listitem.setPath(playurl)
|
listitem.setPath(playurl)
|
||||||
self.setProperties(playurl, listitem)
|
self.setProperties(playurl, listitem)
|
||||||
|
|
Loading…
Reference in a new issue