fnp
/
audio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
33c35ca
)
Use youtube volume name on thumbnails.
author
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 11:56:23 +0000
(13:56 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Fri, 5 Jun 2020 11:56:23 +0000
(13:56 +0200)
src/youtube/models.py
patch
|
blob
|
history
diff --git
a/src/youtube/models.py
b/src/youtube/models.py
index
777b77a
..
b1abda9
100644
(file)
--- 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,
},
lambda name: Font.objects.get(name=name).truetype.path
)