changed to track_count

This commit is contained in:
Frank 2022-04-29 22:33:21 -04:00
parent 3c53d0992d
commit 3559c5d3af

View file

@ -51,6 +51,11 @@ class SoundcloudAlbumTrack(SoundcloudTrack):
"""Returns the entry's album name, fetched from its internal album""" """Returns the entry's album name, fetched from its internal album"""
return self._album return self._album
@property
def track_count(self) -> int:
"""Returns the entry's total tracks in album for singles this is 1"""
return self._playlist_metadata.playlist_count
@property @property
def album_year(self) -> int: def album_year(self) -> int:
"""Returns the entry's album year, fetched from its internal album""" """Returns the entry's album year, fetched from its internal album"""