Set audio language.
authorRadek Czajka <rczajka@rczajka.pl>
Wed, 20 May 2020 12:11:17 +0000 (14:11 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Wed, 20 May 2020 12:11:17 +0000 (14:11 +0200)
src/youtube/models.py

index ea51905..576bf49 100644 (file)
@@ -56,7 +56,8 @@ class YouTube(models.Model):
                 title=self.get_title(audiobook),
                 description=self.get_description(audiobook),
                 categoryId=self.category,
-                defaultLanguage='pl'
+                defaultLanguage='pl',
+                defaultAudioLanguage='pl',
             ),
             status=dict(
                 privacyStatus=self.privacy_status,