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

@ -122,6 +122,9 @@ class RadioItem(BaseItem):
def format_current_playing(self, user):
return constants.strings("now_playing", item=self.format_song_string(user))
def format_short_string(self):
return self.title if self.title else self.url
def display_type(self):
return constants.strings("radio")