mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 02:06:09 +00:00
Fix root label for mixed content
This commit is contained in:
parent
3207f5a2c1
commit
e2ca6227c2
1 changed files with 4 additions and 1 deletions
|
@ -103,7 +103,10 @@ class VideoNodes(object):
|
||||||
|
|
||||||
# Root
|
# Root
|
||||||
if not mediatype == "photos":
|
if not mediatype == "photos":
|
||||||
root = self.commonRoot(order=0, label=tagname, tagname=tagname, roottype=0)
|
if viewtype == "mixed":
|
||||||
|
root = self.commonRoot(order=0, label=dirname, tagname=tagname, roottype=0)
|
||||||
|
else:
|
||||||
|
root = self.commonRoot(order=0, label=tagname, tagname=tagname, roottype=0)
|
||||||
try:
|
try:
|
||||||
utils.indent(root)
|
utils.indent(root)
|
||||||
except: pass
|
except: pass
|
||||||
|
|
Loading…
Reference in a new issue