changed to track_count
This commit is contained in:
parent
3c53d0992d
commit
3559c5d3af
1 changed files with 5 additions and 0 deletions
|
|
@ -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"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue