Fix root label for mixed content

This commit is contained in:
angelblue05 2016-02-22 17:56:08 -06:00
parent 3207f5a2c1
commit e2ca6227c2

View file

@ -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