Fix for merge - part of 1.1.15

Still finding things that didn't follow in the merge... :(
This commit is contained in:
angelblue05 2015-07-20 01:48:43 -05:00
parent 9bb587bc66
commit 7f9f357e37

View file

@ -137,6 +137,9 @@ class WriteKodiVideoDB():
# Get the real filename for direct path or media flags for plugin path # Get the real filename for direct path or media flags for plugin path
playurl = PlayUtils().directPlay(MBitem) playurl = PlayUtils().directPlay(MBitem)
try: try:
if "plugin://" in playurl:
fileext = ""
else:
fileext = basename(playurl) fileext = basename(playurl)
except: return # playurl returned False except: return # playurl returned False
else: # Set filename and path else: # Set filename and path
@ -568,6 +571,9 @@ class WriteKodiVideoDB():
# Get the real filename # Get the real filename
playurl = PlayUtils().directPlay(MBitem) playurl = PlayUtils().directPlay(MBitem)
try: try:
if "plugin://" in playurl:
fileext = ""
else:
fileext = basename(playurl) fileext = basename(playurl)
except: return # playurl returned False except: return # playurl returned False
else: # Set filename and path else: # Set filename and path