aboutsummaryrefslogtreecommitdiff
path: root/emms-playlist-limit.el
diff options
context:
space:
mode:
authorNix <Nix>2007-08-18 13:34:00 +0000
committerNix <nix@esperi.org.uk>2007-08-18 13:34:00 +0000
commitd4e5e5f2f58f45b79296b907ccac28272703a7fb (patch)
treeb19874b35a117855578b5a25eb9d9795579a96fe /emms-playlist-limit.el
parent44f24c3b68c3155099fdc484804d00ddd909170d (diff)
Add support for composer and performer tags.
The browser keybindings are somewhat discontiguous to avoid breaking people's finger macros: browsing by composer and performer are `b 5' and `b 6' respectively, where artist is `b 1'. In the tag editor, I changed the note format character to %;, making room for composer as %c. I've not added support to last.fm for composer or performer, as it doesn't seem to support either. (I suspect that in most cases the composer should be reported as the artist if it is present, but that is not impolemented here.) darcs-hash:20070818133412-984cd-07ed55c9bf357ee6119f6d70fc2f267e9e8ecef9.gz
Diffstat (limited to 'emms-playlist-limit.el')
-rw-r--r--emms-playlist-limit.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emms-playlist-limit.el b/emms-playlist-limit.el
index f532ca2..6b67986 100644
--- a/emms-playlist-limit.el
+++ b/emms-playlist-limit.el
@@ -85,6 +85,8 @@
(emms-playlist-limit-do (quote ,attribute) regexp)))
(define-emms-playlist-limit info-artist)
+(define-emms-playlist-limit info-composer)
+(define-emms-playlist-limit info-performer)
(define-emms-playlist-limit info-title)
(define-emms-playlist-limit info-album)
(define-emms-playlist-limit info-year)
@@ -98,6 +100,8 @@
(define-key emms-playlist-mode-map (kbd "/ n") 'emms-playlist-limit-to-name)
(define-key emms-playlist-mode-map (kbd "/ a") 'emms-playlist-limit-to-info-artist)
+(define-key emms-playlist-mode-map (kbd "/ c") 'emms-playlist-limit-to-info-composer)
+(define-key emms-playlist-mode-map (kbd "/ p") 'emms-playlist-limit-to-info-performer)
(define-key emms-playlist-mode-map (kbd "/ t") 'emms-playlist-limit-to-info-title)
(define-key emms-playlist-mode-map (kbd "/ b") 'emms-playlist-limit-to-info-album)
(define-key emms-playlist-mode-map (kbd "/ y") 'emms-playlist-limit-to-info-year)