aspiers/ly2video

midi file extension not honored / misleading error message

Open

#99 创建于 2021年5月12日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)Python (26 fork)github user discovery
bugeasyhelp wanted

仓库指标

Star
 (187 star)
PR 合并指标
 (PR 指标待抓取)

描述

I tried out ly2video with a lilypond file where I set the midi file extension to the standard .mid
#(ly:set-option 'midi-extension "mid")

ly2video is looking for .midi hardcoded so cli.py:1565 gave me the error "Failed to generate MIDI file".

Maybe ly2video could parse for that Scheme command, or at least rewrite the error message to inform the user of exactly which file it is looking for, and not assume that the midi file was not generated. For example instead of showing sanitisedLyFileName, show midiPath so one can check themselves.

贡献者指南