Add mikudb link and ; separators for lists

This commit is contained in:
NaiJi ✨ 2021-08-18 18:41:28 +02:00
parent 6aa29fd017
commit 9d27b3a7c0
1 changed files with 6 additions and 4 deletions

10
post.py
View File

@ -231,22 +231,22 @@ def main():
if len(type_names) > 0: if len(type_names) > 0:
text += '\n\nTYPE:\n' text += '\n\nTYPE:\n'
for type_name in type_names: for type_name in type_names:
text += (type_name + ' ') text += (type_name + '; ')
if len(vocal_names) > 0: if len(vocal_names) > 0:
text += '\n\nVOCAL:\n' text += '\n\nVOCAL:\n'
for vocal_name in vocal_names: for vocal_name in vocal_names:
text += (vocal_name + ' ') text += (vocal_name + '; ')
if len(producers_names) > 0: if len(producers_names) > 0:
text += '\n\nPRODUCING:\n' text += '\n\nPRODUCING:\n'
for producer_name in producers_names: for producer_name in producers_names:
text += (producer_name + ' ') text += (producer_name + '; ')
if len(genres_names) > 0: if len(genres_names) > 0:
text += '\n\nGENRE:\n' text += '\n\nGENRE:\n'
for genre_name in genres_names: for genre_name in genres_names:
text += (genre_name + ' ') text += (genre_name + '; ')
if len(release_year) > 0: if len(release_year) > 0:
text += str('\n\nRELEASED:\n' + release_year) text += str('\n\nRELEASED:\n' + release_year)
@ -254,6 +254,8 @@ def main():
if len(youtube_url) > 0: if len(youtube_url) > 0:
text += str('\n\nVIDEO: \n' + youtube_url) text += str('\n\nVIDEO: \n' + youtube_url)
text += str('\n\nMIKUDB: \n' + album_url)
if len(external_links) == 0: if len(external_links) == 0:
external_links = links external_links = links