format: Correcting flake8 messages
This commit is contained in:
parent
782a6a7d1f
commit
fac2c8af7d
@ -1,7 +1,6 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import logging
|
||||
import random
|
||||
import urlparse
|
||||
|
||||
from mopidy.audio import PlaybackState
|
||||
@ -234,7 +233,8 @@ class PlaybackController(object):
|
||||
"""
|
||||
self._trigger_track_playback_ended()
|
||||
tl_track = self.current_tl_track
|
||||
self.change_track(self.core.tracklist.previous_track(tl_track), on_error_step=-1)
|
||||
self.change_track(self.core.tracklist.previous_track(tl_track),
|
||||
on_error_step=-1)
|
||||
|
||||
def resume(self):
|
||||
"""If paused, resume playing the current track."""
|
||||
|
||||
@ -144,7 +144,6 @@ class TracklistController(object):
|
||||
except ValueError:
|
||||
return None
|
||||
|
||||
|
||||
def eot_track(self, tl_track):
|
||||
"""
|
||||
The track that will be played after the given track.
|
||||
@ -187,7 +186,7 @@ class TracklistController(object):
|
||||
|
||||
def next_track(self, tl_track):
|
||||
"""
|
||||
The track that will be played if calling
|
||||
The track that will be played if calling
|
||||
:meth:`mopidy.core.PlaybackController.next()`.
|
||||
|
||||
For normal playback this is the next track in the playlist. If repeat
|
||||
@ -247,7 +246,6 @@ class TracklistController(object):
|
||||
|
||||
return self.tl_tracks[position - 1]
|
||||
|
||||
|
||||
def add(self, tracks=None, at_position=None, uri=None):
|
||||
"""
|
||||
Add the track or list of tracks to the tracklist.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user