REFACTOR: DIFFERENT PLAYLIST #91

This commit is contained in:
Terry Geng
2020-03-06 01:39:08 +08:00
parent ce25fcabee
commit b6bb449874
8 changed files with 203 additions and 124 deletions

View File

@ -78,7 +78,7 @@ class URLItem(FileItem):
# Check the length, useful in case of playlist, it wasn't checked before)
log.info(
"url: " + self.url + " has a duration of " + str(self.duration) + " min -- too long")
self.send_client_message(constants.strings('too_long'))
self.send_client_message(constants.strings('too_long', song=self.title))
return False
else:
self.ready = "validated"