diff --git a/resources/lib/playbackutils.py b/resources/lib/playbackutils.py index 9131a849..72583c16 100644 --- a/resources/lib/playbackutils.py +++ b/resources/lib/playbackutils.py @@ -117,8 +117,7 @@ class PlaybackUtils(): ############### -- CHECK FOR INTROS ################ - if (settings('enableCinema') == "true" and not seektime and - not window('emby_customPlaylist') == "true"): + if (settings('enableCinema') == "true" and not seektime): # if we have any play them when the movie/show is not being resumed xml = PF.GetPlexPlaylist( itemid, diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 90ec5dd2..fed6f684 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -101,6 +101,9 @@ class PlayUtils(): return False path = self.API.getFilePath() + if path is None: + self.logMsg('PMS item does not have a filepath', 2) + return False # Assign network protocol if path.startswith('\\\\'): path = path.replace('\\\\', 'smb://')