Merge pull request #1666 from mattLLVW/feature/remove-max-track-length
config: remove 10000 tracks limitation in playlists
This commit is contained in:
commit
eed47a8ecf
@ -35,6 +35,8 @@ Feature release.
|
||||
- Set GLib program and application name, so that we show up as "Mopidy" in
|
||||
PulseAudio instead of "python ...". (PR: :issue:`1626`)
|
||||
|
||||
- Remove limitation of 10000 tracks in playlists. (PR: :issue:`1600`)
|
||||
|
||||
|
||||
v2.1.0 (2017-01-02)
|
||||
===================
|
||||
|
||||
@ -23,7 +23,7 @@ _core_schema['cache_dir'] = Path()
|
||||
_core_schema['config_dir'] = Path()
|
||||
_core_schema['data_dir'] = Path()
|
||||
# MPD supports at most 10k tracks, some clients segfault when this is exceeded.
|
||||
_core_schema['max_tracklist_length'] = Integer(minimum=1, maximum=10000)
|
||||
_core_schema['max_tracklist_length'] = Integer(minimum=1)
|
||||
_core_schema['restore_state'] = Boolean(optional=True)
|
||||
|
||||
_logging_schema = ConfigSchema('logging')
|
||||
|
||||
@ -23,4 +23,3 @@ def test_core_schema_has_max_tracklist_length():
|
||||
max_tracklist_length_schema = config._core_schema['max_tracklist_length']
|
||||
assert isinstance(max_tracklist_length_schema, config.Integer)
|
||||
assert max_tracklist_length_schema._minimum == 1
|
||||
assert max_tracklist_length_schema._maximum == 10000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user