Explorar o código

tracklist: Remove on_error_step from play() call

The `on_error_step` argument was made internal in Mopidy 1.0.
Stein Magnus Jodal %!s(int64=10) %!d(string=hai) anos
pai
achega
cd05fe418c
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      mopidy_touchscreen/screens/tracklist.py

+ 1 - 2
mopidy_touchscreen/screens/tracklist.py

@@ -36,8 +36,7 @@ class Tracklist(BaseScreen):
     def touch_event(self, touch_event):
     def touch_event(self, touch_event):
         pos = self.list_view.touch_event(touch_event)
         pos = self.list_view.touch_event(touch_event)
         if pos is not None:
         if pos is not None:
-            self.manager.core.playback.play(self.tracks[pos],
-                                                    on_error_step=1)
+            self.manager.core.playback.play(self.tracks[pos])
 
 
     def track_started(self, track):
     def track_started(self, track):
         self.list_view.set_active(
         self.list_view.set_active(