mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-23 13:36:35 +00:00
Use title from DB
We stored a stripped title string in the database, just use that instead of `.name` and calling `.strip()` again.
This commit is contained in:
parent
904c57f603
commit
99899aac9c
@ -1353,7 +1353,7 @@ class Media(models.Model):
|
||||
nfo.text = '\n '
|
||||
# title = media metadata title
|
||||
title = nfo.makeelement('title', {})
|
||||
title.text = clean_emoji(str(self.name).strip())
|
||||
title.text = clean_emoji(self.title)
|
||||
title.tail = '\n '
|
||||
nfo.append(title)
|
||||
# showtitle = source name
|
||||
|
Loading…
Reference in New Issue
Block a user