openlilylib / scholarly

ScholarLY, a library for annotating LilyPond scores
GNU General Public License v3.0
24 stars 6 forks source link

getting the context name #45

Open jefferyshivers opened 8 years ago

jefferyshivers commented 8 years ago

When not explicitly set in the annotation properties, context (or context-id) defaults to the name of the directory containing the project file.

I haven't looked into the mechanics of this functionality yet, but think it would be good to update it to:

Not speculating any problems with how it currently is programmed, just thinking this change would be better.

uliska commented 8 years ago

I'll look into that after my holidays. But IIRC it doesn't directly default to the directory name (which I agree will make sense only in specific set-ups) but first tries to get other meaningful data auch as Voice/Staff names.

However, I'm aware that this could be made somewhat more failsafe.

Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.