core: Remove playback.track_at_eot

This commit is contained in:
Stein Magnus Jodal 2012-11-20 09:41:46 +01:00
parent 70d4dba7aa
commit 4c19321500
2 changed files with 3 additions and 11 deletions

View File

@ -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.

View File

@ -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