Small playback fixes
This commit is contained in:
parent
543cec93b4
commit
f094ca4299
2 changed files with 4 additions and 2 deletions
|
@ -117,8 +117,7 @@ class PlaybackUtils():
|
||||||
|
|
||||||
############### -- CHECK FOR INTROS ################
|
############### -- CHECK FOR INTROS ################
|
||||||
|
|
||||||
if (settings('enableCinema') == "true" and not seektime and
|
if (settings('enableCinema') == "true" and not seektime):
|
||||||
not window('emby_customPlaylist') == "true"):
|
|
||||||
# if we have any play them when the movie/show is not being resumed
|
# if we have any play them when the movie/show is not being resumed
|
||||||
xml = PF.GetPlexPlaylist(
|
xml = PF.GetPlexPlaylist(
|
||||||
itemid,
|
itemid,
|
||||||
|
|
|
@ -101,6 +101,9 @@ class PlayUtils():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
path = self.API.getFilePath()
|
path = self.API.getFilePath()
|
||||||
|
if path is None:
|
||||||
|
self.logMsg('PMS item does not have a filepath', 2)
|
||||||
|
return False
|
||||||
# Assign network protocol
|
# Assign network protocol
|
||||||
if path.startswith('\\\\'):
|
if path.startswith('\\\\'):
|
||||||
path = path.replace('\\\\', 'smb://')
|
path = path.replace('\\\\', 'smb://')
|
||||||
|
|
Loading…
Add table
Reference in a new issue