From dfedf545bad5b886eb74aa5eb51d22daf99c25f5 Mon Sep 17 00:00:00 2001 From: im85288 Date: Mon, 12 Oct 2015 16:29:05 +0100 Subject: [PATCH] allow option to select direct paths at startup --- resources/lib/ConnectionManager.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/lib/ConnectionManager.py b/resources/lib/ConnectionManager.py index c197a17a..2823365c 100644 --- a/resources/lib/ConnectionManager.py +++ b/resources/lib/ConnectionManager.py @@ -115,6 +115,11 @@ class ConnectionManager(): self.logMsg("User option to direct stream music library.", 1) utils.settings('directstreammusic', "true") + directPaths = xbmcgui.Dialog().yesno("Direct Paths", "Use direct paths?") + if directPaths: + self.logMsg("User opted to use direct paths.", 1) + utils.settings('useDirectPaths', "true") + return def getServerDetails(self):