[EMMS] Remove common prefix from tracks with not metadata
This commit is contained in:
parent
00829a79d1
commit
2cd264d7ef
|
@ -138,8 +138,10 @@ This function can be used as a value for `emms-track-description-function’."
|
||||||
performer)))
|
performer)))
|
||||||
((not (seq-empty-p artist))
|
((not (seq-empty-p artist))
|
||||||
(format "“%s” by %s" title artist))
|
(format "“%s” by %s" title artist))
|
||||||
(t title))
|
(t
|
||||||
(emms-track-simple-description track)))
|
title))
|
||||||
|
(string-remove-prefix (expand-file-name emms-source-file-default-directory)
|
||||||
|
(emms-track-simple-description track))))
|
||||||
(note (if (seq-empty-p note)
|
(note (if (seq-empty-p note)
|
||||||
""
|
""
|
||||||
(concat " [" note "]"))))
|
(concat " [" note "]"))))
|
||||||
|
|
Loading…
Reference in New Issue