From b4dfeca4d7be4984bc128a14541355e0302dd3d0 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 5 Jan 2011 20:34:56 +0100 Subject: [PATCH] --- openlp/plugins/songs/lib/xml.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openlp/plugins/songs/lib/xml.py b/openlp/plugins/songs/lib/xml.py index 957c377ec..8a9cc6930 100644 --- a/openlp/plugins/songs/lib/xml.py +++ b/openlp/plugins/songs/lib/xml.py @@ -545,6 +545,11 @@ class OpenLyricsParser(object): song.lyrics = unicode(sxml.extract_xml(), u'utf-8') #TODO: make sure "c" becomes "c1" +# name = self._get(verse, u'name') +# type = name[0] +# number = re.compile(u'[a-zA-Z]*').sub(u'', name) +# part = re.compile(u'[0-9]*').sub(u'', name[1:]) + def _process_songbooks(self, properties, song): """ Finds an existing book or creates a new book and adds it to the song