mpd title list bug,auto detect retroarch-local.cfg as RETRO_CONFIG

This commit is contained in:
cuu
2018-07-31 10:54:21 +08:00
parent fa5e474d3b
commit 5cd64c1b83
2 changed files with 12 additions and 4 deletions

View File

@@ -97,7 +97,11 @@ class PlayListPage(Page):
li._Fonts["normal"] = self._ListFont
if "title" in v:
li.Init( v["title"])
if isinstance(v["title"], (list,)):
li.Init(" | ".join(v["title"]))
else:
li.Init( v["title"])
if "file" in v:
li._Path = v["file"]