Added command_line.py to control the player via command line.

This commit is contained in:
The Wobbler 2024-12-28 18:12:59 +01:00
parent 94269fdae4
commit 10c36b37a1
5 changed files with 32 additions and 16 deletions

View file

@ -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():