Small playback fixes

This commit is contained in:
tomkat83 2016-04-12 08:40:12 +02:00
parent 543cec93b4
commit f094ca4299
2 changed files with 4 additions and 2 deletions

View File

@ -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,

View File

@ -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://')