mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
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,7 +137,10 @@ 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:
|
||||||
fileext = basename(playurl)
|
if "plugin://" in playurl:
|
||||||
|
fileext = ""
|
||||||
|
else:
|
||||||
|
fileext = basename(playurl)
|
||||||
except: return # playurl returned False
|
except: return # playurl returned False
|
||||||
else: # Set filename and path
|
else: # Set filename and path
|
||||||
|
|
||||||
|
@ -568,7 +571,10 @@ class WriteKodiVideoDB():
|
||||||
# Get the real filename
|
# Get the real filename
|
||||||
playurl = PlayUtils().directPlay(MBitem)
|
playurl = PlayUtils().directPlay(MBitem)
|
||||||
try:
|
try:
|
||||||
fileext = basename(playurl)
|
if "plugin://" in playurl:
|
||||||
|
fileext = ""
|
||||||
|
else:
|
||||||
|
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