don't override artist in tags unless necessary

This commit is contained in:
Tomáš Mládek 2019-05-15 11:50:48 +02:00
parent ddd1ee3616
commit f86c5cbc4d

View file

@ -130,7 +130,7 @@ class DelojzaBot:
title = info['title'] title = info['title']
source = "full title fallback" source = "full title fallback"
if 'soundcloud' in info.get("extractor", ""): if 'soundcloud' in info.get("extractor", "") and artist is None:
artist = info['uploader'] artist = info['uploader']
source = "soundcloud \"fallback\"" source = "soundcloud \"fallback\""