Detect LilyPond with shutil.which; hide the feature when absent.
Feasibility confirmed on LilyPond 2.26: a 4-voice ChoirStaff with lyrics renders via lilypond -dcrop=#t -dbackend=cairo --png -dresolution=600 to a tight-cropped 4317×1617 grayscale PNG with consistent 41.5px staff-line spacing.
Done: the tool runs identically on a machine without LilyPond, with no error and no dead UI.
Detect LilyPond with `shutil.which`; hide the feature when absent.
Feasibility confirmed on LilyPond 2.26: a 4-voice `ChoirStaff` with lyrics renders via `lilypond -dcrop=#t -dbackend=cairo --png -dresolution=600` to a tight-cropped 4317×1617 grayscale PNG with consistent 41.5px staff-line spacing.
**Done:** the tool runs identically on a machine without LilyPond, with no error and no dead UI.
Kessinen
added this to the M7 — Slice replacement with LilyPond milestone 2026-07-28 19:29:24 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Detect LilyPond with
shutil.which; hide the feature when absent.Feasibility confirmed on LilyPond 2.26: a 4-voice
ChoirStaffwith lyrics renders vialilypond -dcrop=#t -dbackend=cairo --png -dresolution=600to a tight-cropped 4317×1617 grayscale PNG with consistent 41.5px staff-line spacing.Done: the tool runs identically on a machine without LilyPond, with no error and no dead UI.