Merge branch v1.1.x into feature/stream-without-file-protocol
Conflicts: docs/changelog.rst
This commit is contained in:
commit
73675f8d5d
@ -16,6 +16,11 @@ Bug fix release.
|
|||||||
to remove "file" from the :confval:`stream/protocols` config, and then
|
to remove "file" from the :confval:`stream/protocols` config, and then
|
||||||
proceed startup. (Fixes: :issue:`1248`, PR: :issue:`1254`)
|
proceed startup. (Fixes: :issue:`1248`, PR: :issue:`1254`)
|
||||||
|
|
||||||
|
- File: Adjust log levels when failing to expand ``$XDG_MUSIC_DIR`` into a real
|
||||||
|
path. This usually happens when running Mopidy as a system service, and thus
|
||||||
|
with a limited set of environment variables. (Fixes: :issue:`1249`, PR:
|
||||||
|
:issue:`1255`)
|
||||||
|
|
||||||
|
|
||||||
v1.1.0 (2015-08-09)
|
v1.1.0 (2015-08-09)
|
||||||
===================
|
===================
|
||||||
|
|||||||
@ -108,12 +108,15 @@ class FileLibraryProvider(backend.LibraryProvider):
|
|||||||
media_dir_split[0].encode(FS_ENCODING))
|
media_dir_split[0].encode(FS_ENCODING))
|
||||||
|
|
||||||
if not local_path:
|
if not local_path:
|
||||||
logger.warning('Failed expanding path (%s) from '
|
logger.debug(
|
||||||
'file/media_dirs config value.',
|
'Failed expanding path (%s) from file/media_dirs config '
|
||||||
media_dir_split[0])
|
'value.',
|
||||||
|
media_dir_split[0])
|
||||||
continue
|
continue
|
||||||
elif not os.path.isdir(local_path):
|
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
|
continue
|
||||||
|
|
||||||
media_dir['path'] = local_path
|
media_dir['path'] = local_path
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user