fix: handle empty description for mutagen, #1124
This commit is contained in:
parent
2b316d1160
commit
7cb5c771ae
|
|
@ -469,8 +469,10 @@ class YoutubeVideo(YouTubeItem, YoutubeSubtitle):
|
||||||
video = MP4(file_path)
|
video = MP4(file_path)
|
||||||
video["\xa9nam"] = [title] # title
|
video["\xa9nam"] = [title] # title
|
||||||
video["\xa9ART"] = [artist] # artist
|
video["\xa9ART"] = [artist] # artist
|
||||||
video["desc"] = [description] # description
|
if description:
|
||||||
video["ldes"] = [description] # synopsis
|
video["desc"] = [description] # description
|
||||||
|
video["ldes"] = [description] # synopsis
|
||||||
|
|
||||||
video["----:com.tubearchivist:ta"] = [to_embed.encode("utf-8")]
|
video["----:com.tubearchivist:ta"] = [to_embed.encode("utf-8")]
|
||||||
video.save()
|
video.save()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue