From e2ca6227c2d5b1bf769f64ddc57f1b82bf0452c5 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Mon, 22 Feb 2016 17:56:08 -0600 Subject: [PATCH] Fix root label for mixed content --- resources/lib/videonodes.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/resources/lib/videonodes.py b/resources/lib/videonodes.py index 19aa1d6f..40691767 100644 --- a/resources/lib/videonodes.py +++ b/resources/lib/videonodes.py @@ -103,7 +103,10 @@ class VideoNodes(object): # Root 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: utils.indent(root) except: pass