Album¶
-
class
rjdl.Album(url, quality='320')¶ This object represents a RadioJvan album.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
urlis equal.New in version 1.0.0.
- Parameters
url (
str) – Album url.quality (
str, optional) – Album quality (‘256’ or ‘320’).
-
artist¶ Album artist.
- Type
str
-
name¶ Album name.
- Type
str
-
url¶ Album url.
- Type
str
-
cover¶ Album cover url.
- Type
str
-
quality¶ Album quality.
- Type
str
-
date_added¶ Date that album was added on RadioJavan.
- Type
str
-
length¶ Album length.
- Type
int
- Raises
ValueError –
ConnectionError –
-
track(index)¶ - Parameters
index (
int) – Index of desired album track.- Returns
- Raises
IndexError –
ConnectionError –