From cd2bbaba074bd8a1213d0bde979edc7e7b38e836 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Fri, 30 Mar 2018 10:44:08 +0200 Subject: [PATCH] docs: Add PR#1611 to changelog --- docs/changelog.rst | 2 ++ mopidy/file/library.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog.rst b/docs/changelog.rst index 33c4434a..af4f9b04 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -14,6 +14,8 @@ Feature release. change, this shouldn't affect any supported systems as even Debian stable includes Tornado >= 4.4. +- File: Fix extraneous encoding of path. (PR: :issue:`1611`) + - MPD: Added ``idle`` to the list of available commands. (Fixes: :issue:`1593`, PR: :issue:`1597`) diff --git a/mopidy/file/library.py b/mopidy/file/library.py index eebe0e48..fa17f473 100644 --- a/mopidy/file/library.py +++ b/mopidy/file/library.py @@ -142,6 +142,5 @@ class FileLibraryProvider(backend.LibraryProvider): def _is_in_basedir(self, local_path): return any( - path.is_path_inside_base_dir( - local_path, media_dir['path']) + path.is_path_inside_base_dir(local_path, media_dir['path']) for media_dir in self._media_dirs)