From 47bb7991b8a4dbca9f747631df7dbb7c42d4879e Mon Sep 17 00:00:00 2001 From: tux Date: Tue, 26 Nov 2024 18:04:13 +0100 Subject: [PATCH] use yml files as default --- snippet_include.ly | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippet_include.ly b/snippet_include.ly index f0be485..2ab3abc 100644 --- a/snippet_include.ly +++ b/snippet_include.ly @@ -4,5 +4,5 @@ \include #(if noDefaultOutput "void.ly" "all_base_includes.ly") -#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (call-with-input-file "../data/authors.json" json->scm))) -#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (call-with-input-file "../data/songs.json" json->scm))) \ No newline at end of file +#(define AUTHOR_DATA (if (defined? 'AUTHOR_DATA) AUTHOR_DATA (parse-yml-file "../data/authors.yml"))) +#(define SONG_DATA (if (defined? 'SONG_DATA) SONG_DATA (parse-yml-file "../data/songs.yml")))