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")))