From aed9eee6a554d5909152750475d691d48aac845d Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Thu, 14 Apr 2016 17:38:08 -0500 Subject: [PATCH] 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) --- resources/lib/playbackutils.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index e77777a3..4fbbc636 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -188,8 +188,12 @@ class PlaybackUtils(): # For transcoding only, ask for audio/subs pref if window('emby_%s.playmethod' % playurl) == "Transcode": - playurl = playutils.audioSubsPref(playurl, listitem) - window('emby_%s.playmethod' % playurl, value="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) + window('emby_%s.playmethod' % playurl, value="Transcode") listitem.setPath(playurl) self.setProperties(playurl, listitem)