Commits

Luke Plant committed c60feb1

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

Comments (0)

Files changed (1)

                   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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.