Fix for merge - part of 1.1.15
Still finding things that didn't follow in the merge... :(
This commit is contained in:
parent
9bb587bc66
commit
7f9f357e37
1 changed files with 8 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue