This commit is contained in:
Jonathan Corwin 2010-07-22 08:24:23 +01:00
commit 641803a1fa
2 changed files with 6 additions and 2 deletions

View File

@ -139,6 +139,10 @@ class OpenLPSongImport(object):
new_song.title = song.title new_song.title = song.title
if has_media_files: if has_media_files:
new_song.alternate_title = song.alternate_title new_song.alternate_title = song.alternate_title
else:
old_titles = song.search_title.split(u'@')
if len(old_titles) > 1:
new_song.alternate_title = old_titles[1]
else: else:
new_song.alternate_title = u'' new_song.alternate_title = u''
new_song.search_title = song.search_title new_song.search_title = song.search_title