FR: a wishlist of improvements :)

Hi Sven,

unfortunately, this has nothing to do with XML skills - the template is a simple HTML file. But the problem is what data fields Cantabile is providing to these template files. Currently, all I am seeing in the documentation are “Title” and “Name” - unless @brad provides additional data fields like “tempo”, there’s nothing that can be done at the template level.

The only way currently to retrieve this information is to process the raw song files; this is where tempo information is stored:

grafik

So you’d need to create a program that will

  • read the set list file
  • extract the location of the individual song files
  • read the song files one by one
  • extract the name and tempo information
  • format everything nice and tidy into an HTML file

Not something to be done with a bit of XML fiddling.

@Neil_Durant has created something similar with his setlist analysis script - a pretty nifty Python script that spits out dependencies in a set list. You’d need to build something similar to do what you want outside Cantabile.

Personally, I’d prefer to wait until @brad provides some more data fields for his printable setlist - after all, he’s already written all the code to traverse the set list, and he has access to all the internal data structures in Cantabile, which will make this so much easier.

Cheers,

Torsten

1 Like