diff --git a/src/extractors/baseFile.py b/src/extractors/baseFile.py index 4e9cb37..a8f5b1b 100644 --- a/src/extractors/baseFile.py +++ b/src/extractors/baseFile.py @@ -15,7 +15,10 @@ class song(object): self.download_url = "" def format_track(self): - return "{0}. {1}. {2}".format(self.title, self.duration, self.size) + if self.size != 0: + return "{0}. {1}. {2}".format(self.title, self.duration, self.size) + else: + return "{0} {1}".format(self.title, self.duration) def get_download_url(self): self.download_url = self.extractor.get_download_url(self.url) \ No newline at end of file