Commits

Luke Plant  committed c60feb1

Removed setting of all 'COMM' tags apart from the default comment type when writing sermon ID3 tags.

  • Participants
  • Parent commits 93aacc6

Comments (0)

Files changed (1)

File sermons/tags.py

                   sermon.date_delivered.strftime('%Y-%m-%d') + ' ' +
                   sermon.time_delivered.strftime('%H:%M')))
     tags.add(TPE1(encoding=UTF8, text=sermon.speaker.name))
-    if sermon.bible_book != '':
-        tags.add(COMM(encoding=UTF8, lang='eng', desc='Sermon.bible_book', text=sermon.bible_book))
-    if sermon.passage != '':
-        tags.add(COMM(encoding=UTF8, lang='eng', desc='Sermon.passage', text=sermon.passage))
-    if sermon.series is not None:
-        tags.add(COMM(encoding=UTF8, lang='eng', desc='Sermon.series', text=sermon.series.name))
     topics = sermon.topics.all()
-    if len(topics) > 0:
-        tags.add(COMM(encoding=UTF8, lang='eng', desc='Sermon.topics', text=u','.join(
-                    t.name for t in topics)))
     comment = ("""
 Sermon:
  Speaker: %(speaker)s