X-Git-Url: https://git.mdrn.pl/audio.git/blobdiff_plain/ff4fa4a4ae20cfb529d495f335cce477ada7f6a1..69fe4abd2389432ba3f9b017b55d4b8d500c92a0:/src/youtube/models.py diff --git a/src/youtube/models.py b/src/youtube/models.py index 777b77a..5fe3c2b 100644 --- a/src/youtube/models.py +++ b/src/youtube/models.py @@ -191,7 +191,7 @@ class YouTube(models.Model): { "author": ', '.join((a['name'] for a in audiobook.book['authors'])), "title": audiobook.book['title'], - "part": audiobook.part_name, + "part": (audiobook.youtube_volume or audiobook.part_name).strip(), }, lambda name: Font.objects.get(name=name).truetype.path )