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)