cplay-ng

simple curses audio player
git clone https://git.ce9e.org/cplay-ng.git

commit
33c839800028faa8d404042021ea1e5bfddbd3af
parent
c1d2831c69fc4bf1983025eb440631dfd67ca679
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-06-17 18:40
also stop player on error

Diffstat

M cplay.py 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/cplay.py b/cplay.py

@@ -712,7 +712,6 @@ class Application:
  712   712         elif key == 'h':
  713   713             self.help = True
  714   714         elif key in ['q', 'Q']:
  715    -1             player.stop()
  716   715             sys.exit(0)
  717   716         elif key == '\t':
  718   717             app.toggle_tabs()
@@ -771,6 +770,7 @@ def main():
  771   770         with enable_ctrl_keys():
  772   771             app.run()
  773   772     finally:
   -1   773         player.stop()
  774   774         curses.endwin()
  775   775 
  776   776