Added command_line.py to control the player via command line.
This commit is contained in:
parent
94269fdae4
commit
10c36b37a1
5 changed files with 32 additions and 16 deletions
|
@ -43,6 +43,7 @@ class TrackControl:
|
|||
def stop(self):
|
||||
if self.app.player.current_playlist.has_tracks():
|
||||
self.app.player.stop()
|
||||
self.track_control.toggle_play_button.setIcon(self.play_icon)
|
||||
|
||||
def next_track(self):
|
||||
if self.app.player.current_playlist.has_tracks():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue