Browse Source

Add mikudb link and ; separators for lists

master
NaiJi 2 months ago
parent
commit
9d27b3a7c0
  1. 10
      post.py

10
post.py

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

Loading…
Cancel
Save