Browse Source

Implement libmpdel-stored-playlists-delete

so it could be used from mdel-playlist library to remove stored playlists using navigel too :)
tangrammer 11 months ago
parent
commit
4c1627a882
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      libmpdel.el

+ 9
- 0
libmpdel.el View File

@ -1049,6 +1049,15 @@ ENTITY can also be a list of entities to add.")
song-position))
song-positions))))))
(defun libmpdel-stored-playlists-delete (stored-playlists)
"Remove STORED-PLAYLISTS."
(libmpdel-send-commands
(mapcar
(lambda (s)
(format "rm %S" (libmpdel-entity-name s)))
stored-playlists)))
(defun libmpdel-playlist-move-up (songs)
"Move up SONGS in current playlist."
;; We should move up from first in playlist to last


Loading…
Cancel
Save