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:
angelblue05 2016-04-14 17:38:08 -05:00
parent 308ac1a9d6
commit aed9eee6a5

View file

@ -188,6 +188,10 @@ 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":
# Filter ISO since Emby does not probe anymore
if self.item.get('VideoType') == "Iso":
self.logMsg("Skipping audio/subs prompt, ISO detected.", 1)
else:
playurl = playutils.audioSubsPref(playurl, listitem) playurl = playutils.audioSubsPref(playurl, listitem)
window('emby_%s.playmethod' % playurl, value="Transcode") window('emby_%s.playmethod' % playurl, value="Transcode")