Another example: album sorting also uses 'info-year only.

My quick&dirty patch:

(defun emms-browser-year-number (track)
  "Return a string representation of a track's year.
This will be in the form '(1998) '."
  (let ((year (or (emms-track-get track 'info-year) (emms-track-get track 
'info-date))))
    (if (or (not (stringp year)) (string= year "0"))
        ""
      (concat
       "(" year ") "))))

-- 
Pierre Neidhardt

Life's too short to dance with ugly women.

_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to