8000 conditionals · cmus/cmus Wiki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
David Kågedal edited this page Apr 16, 2016 · 2 revisions

It is difficult to come up with a readable and powerful enough format. See mailing list threads:

Example for proposed format:

format_trackwin= %if(%or(%a,%l,%t),%3n. %t%if(%{compilation}, \(%a\),)%= %y,%f%=) %d 
format_playlist= %if(%or(%a,%l,%t),%-25%if(%{compilation},%A,%a) %3n. %t%if(%{compilation}, \(%a\),)%= %y,%f%=) %d 

###Survey

  1. Is the proposed format acceptable?
  2. Should we use flex/bison to parse the language? (less error-prone and smaller code-base)

I'm rather fond of how Quod Libet handles tags: https://quodlibet.readthedocs.org/en/latest/guide/tags/patterns.html --- David

Clone this wiki locally
0