From 4c19321500bebb67eba3dec9639482345b90c732 Mon Sep 17 00:00:00 2001 From: Stein Magnus Jodal Date: Tue, 20 Nov 2012 09:41:46 +0100 Subject: [PATCH] core: Remove playback.track_at_eot --- docs/changes.rst | 3 +++ mopidy/core/playback.py | 11 ----------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/docs/changes.rst b/docs/changes.rst index 4bdacd78..a3891424 100644 --- a/docs/changes.rst +++ b/docs/changes.rst @@ -152,6 +152,9 @@ backends: - Remove :attr:`mopidy.core.PlaybackController.track_at_next`. Use :attr:`mopidy.core.PlaybackController.tl_track_at_next` instead. +- Remove :attr:`mopidy.core.PlaybackController.track_at_eot`. Use + :attr:`mopidy.core.PlaybackController.tl_track_at_eot` instead. + - Added support for connecting to the Spotify service through an HTTP or SOCKS proxy, which is supported by pyspotify >= 1.9. diff --git a/mopidy/core/playback.py b/mopidy/core/playback.py index 613f21ba..cab2c392 100644 --- a/mopidy/core/playback.py +++ b/mopidy/core/playback.py @@ -115,17 +115,6 @@ class PlaybackController(object): Read-only. """ - def get_track_at_eot(self): - return self.tl_track_at_eot and self.tl_track_at_eot.track - - track_at_eot = property(get_track_at_eot) - """ - The track that will be played at the end of the current track. - - Read-only. A :class:`mopidy.models.Track` extracted from - :attr:`tl_track_at_eot` for convenience. - """ - def get_tl_track_at_eot(self): # pylint: disable = R0911 # Too many return statements