cplay-ng

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

commit
aafaf818ee99fddfd08785ef41fb4452d6a0708e
parent
84ac7c77ca56ff183be27ba8c2ac44ada8ee9960
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2020-09-05 07:09
allow top open playlist from filelist

Diffstat

M cplay.py 5 +++++

1 files changed, 5 insertions, 0 deletions


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

@@ -427,6 +427,11 @@ class Filelist(List):
  427   427             elif ext in AUDIO_EXTENSIONS:
  428   428                 playlist.active = -1
  429   429                 player.play(item)
   -1   430             elif ext == 'm3u':
   -1   431                 playlist.clear()
   -1   432                 playlist.add_playlist(item)
   -1   433                 playlist.path = item
   -1   434                 app.toggle_tabs()
  430   435         elif key == curses.KEY_BACKSPACE:
  431   436             if self.rsearch_str:
  432   437                 self.set_path(self.path)