mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +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
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue