From 122ae70e24a3c3114a4c9d308c8f201941a5c7e8 Mon Sep 17 00:00:00 2001 From: Romain Goffe Date: Mon, 18 Jun 2012 22:54:52 +0200 Subject: [PATCH] sort songs by artist/album/title --- songbook.py | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/songbook.py b/songbook.py index 0392deb6..1645d454 100755 --- a/songbook.py +++ b/songbook.py @@ -8,8 +8,21 @@ import glob import re import json import locale -import sortindex import shutil +import locale + +reTitle = re.compile('(?<=beginsong\\{)(.(? 0: out.write(formatDefinition('songslist', songslist(songs))) out.write('\\makeatother\n')