From 9f24c331a4ea2237579dce9b6f06390ad2b10411 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Sat, 15 Aug 2015 23:08:32 +0200 Subject: [PATCH] file: Adjust file/media_dirs failure logging Fixes #1249 --- mopidy/file/library.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mopidy/file/library.py b/mopidy/file/library.py index 691020b4..d477d109 100644 --- a/mopidy/file/library.py +++ b/mopidy/file/library.py @@ -108,12 +108,15 @@ class FileLibraryProvider(backend.LibraryProvider): media_dir_split[0].encode(FS_ENCODING)) if not local_path: - logger.warning('Failed expanding path (%s) from ' - 'file/media_dirs config value.', - media_dir_split[0]) + logger.debug( + 'Failed expanding path (%s) from file/media_dirs config ' + 'value.', + media_dir_split[0]) continue elif not os.path.isdir(local_path): - logger.warning('%s is not a directory', local_path) + logger.warning( + '%s is not a directory. Please create the directory or ' + 'update the file/media_dirs config value.', local_path) continue media_dir['path'] = local_path