Skip to content

Commit

Permalink
Use title from DB
Browse files Browse the repository at this point in the history
We stored a stripped title string in the database, just use that instead of `.name` and calling `.strip()` again.
  • Loading branch information
tcely authored Dec 24, 2024
1 parent 904c57f commit 99899aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tubesync/sync/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ def nfoxml(self):
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
Expand Down

0 comments on commit 99899aa

Please sign in to comment.