Merge remote-tracking branch 'MediaBrowser/master'
This commit is contained in:
commit
8214a858bc
1 changed files with 2 additions and 3 deletions
|
@ -60,8 +60,7 @@ class VideoNodes(object):
|
||||||
# Treat homevideos as movies
|
# Treat homevideos as movies
|
||||||
mediatype = "movies"
|
mediatype = "movies"
|
||||||
|
|
||||||
tagname = tagname.encode('utf-8')
|
cleantagname = utils.normalize_nodes(tagname.encode('utf-8'))
|
||||||
cleantagname = utils.normalize_nodes(tagname)
|
|
||||||
if viewtype == "mixed":
|
if viewtype == "mixed":
|
||||||
dirname = "%s - %s" % (cleantagname, mediatype)
|
dirname = "%s - %s" % (cleantagname, mediatype)
|
||||||
else:
|
else:
|
||||||
|
@ -102,7 +101,7 @@ class VideoNodes(object):
|
||||||
|
|
||||||
utils.window('Emby.nodes.%s.index' % indexnumber, value=path)
|
utils.window('Emby.nodes.%s.index' % indexnumber, value=path)
|
||||||
# Root
|
# Root
|
||||||
root = self.commonRoot(order=0, label=dirname, tagname=tagname, roottype=0)
|
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