forked from Wobbl/Wobuzz
Removed some mechanic that is going to be reimplemented.
This commit is contained in:
parent
67d353dcef
commit
bedca22ca6
9 changed files with 24 additions and 28 deletions
|
@ -80,12 +80,12 @@ class TrackControl(QToolBar):
|
|||
elif self.app.player.playing: # playing
|
||||
self.app.player.pause()
|
||||
|
||||
elif self.app.player.current_playlist.has_tracks(): # stopped but tracks in the current playlist
|
||||
# stopped but tracks in the current playlist
|
||||
elif self.app.player.current_playlist is not None and self.app.player.current_playlist.has_tracks():
|
||||
self.app.player.start_playing()
|
||||
|
||||
elif self.app.player.current_playlist.title == "None":
|
||||
if self.app.gui.clicked_playlist.has_tracks():
|
||||
self.app.player.start_playlist(self.app.gui.clicked_playlist)
|
||||
elif self.app.player.current_playlist is None:
|
||||
pass #self.app.player.start_playlist(self.app.gui.clicked_playlist)
|
||||
|
||||
def on_playstate_update(self):
|
||||
if self.app.player.playing:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue