|Subject:||Re: [emms-help] info-year and info-date|
|Date:||Mon, 27 Nov 2017 09:32:52 +0100|
Pierre Neidhardt <address@hidden> writes:
> Yoni Rabkin <address@hidden> writes:
>> Unfortunately, there is no easy way to do this.
> What about
> ("y" . ,(or (emms-track-get 'info-year) (emms-GET-YEAR-FROM-DATE (emms-track-get track 'info-date)))
> Where the upcase function might have to be implemented, although I got
> one on this mailing list recently.
Yeah, I think that is a good way, although I would fall back on info-year
and prefer info-date, if present (it is presumably more detailed). The
order could also be custom preference.
In any case, it might be preferable to move this to a separate function
‘emms-get-year’, say, and call that. It might look cleaner.
Thank Pierre and Yoni!
You people at the NSA are becoming my new best friends!
|[Prev in Thread]||Current Thread||[Next in Thread]|