emms-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patch] Add: warning when no tag writer exists


From: Yoni Rabkin
Subject: Re: [Patch] Add: warning when no tag writer exists
Date: Mon, 03 May 2021 12:19:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Grant Shoshin Shangreaux <grant@churls.world> writes:

> +(defun emms-tag-editor--track-editable-p (track)
> +  "Return t if TRACK is not a file, or has a tagfile function defined."
> +  (or (not (emms-track-file-p track))
> +      (emms-tag-editor--tagfile-function track)))

Why check if it is a file? Not all files are editable (e.g. .pls, .m3u).

-- 
   "Cut your own wood and it will warm you twice"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]