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