diff --git a/mopidy/core/actor.py b/mopidy/core/actor.py index bd77b37e..fba11d82 100644 --- a/mopidy/core/actor.py +++ b/mopidy/core/actor.py @@ -198,7 +198,6 @@ class Core( - 'tracklist' fill the tracklist - 'mode' set tracklist properties (consume, random, repeat, single) - 'play-last' restore play state ('tracklist' also required) - - 'play-always' start playing ('tracklist' also required) - 'mixer' set mixer volume and mute state - 'history' restore history diff --git a/mopidy/core/playback.py b/mopidy/core/playback.py index 0dd73714..aa5c8e01 100644 --- a/mopidy/core/playback.py +++ b/mopidy/core/playback.py @@ -608,8 +608,6 @@ class PlaybackController(object): def _load_state(self, state, coverage): if state: new_state = None - if 'play-always' in coverage: - new_state = PlaybackState.PLAYING if 'play-last' in coverage: new_state = state.state if state.tlid is not None: diff --git a/tests/core/test_playback.py b/tests/core/test_playback.py index 3f4c8fdc..e23c168e 100644 --- a/tests/core/test_playback.py +++ b/tests/core/test_playback.py @@ -1155,7 +1155,7 @@ class TesetCorePlaybackExportRestore(BaseTest): state = PlaybackState( time_position=0, state='playing', tlid=tl_tracks[2].tlid) - coverage = ['play-always'] + coverage = ['play-last'] self.core.playback._load_state(state, coverage) self.replay_events()