diff options
author | Yuchen Pei <hi@ypei.me> | 2021-11-26 11:21:02 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2021-11-26 11:21:02 +1100 |
commit | 73abffcfe566a7ec41e3fb7dbfc5d313fb0bc913 (patch) | |
tree | 42426547d72f13ffc6a619554ca4a980c13491bb | |
parent | 65a598f45728c3d457a08cc2c9359b6a08b1d049 (diff) |
Fall back to description property when showing description
-rw-r--r-- | emms.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -722,8 +722,10 @@ return the type and the name with a colon in between. Hex-encoded characters in URLs are replaced by the decoded character." (let ((type (emms-track-type track))) - (cond ((eq 'file type) - (emms-track-name track)) + (cond ((emms-track-get track 'description) + (emms-track-get track 'description)) + ((eq 'file type) + (emms-track-name track)) ((eq 'url type) (emms-format-url-track-name (emms-track-name track))) (t (concat (symbol-name type) |