RdioTrackSource

class rdiosock.objects.source.RdioTrackSource[source]

RdioTrack (Inherited)

track_num

int

artist

str

artist_key

str

artist_url

str

album

str

album_artist

str

album_artist_key

str

album_key

str

album_url

str

radio_key

str

can_download

bool

can_download_album_only

bool

RdioSource (Inherited)

parse_source(value)

Parse the source into RdioTrackSource or RdioAlbumSource

Parameters:value (dict) – Data to parse
Return type:rdiosock.objects.source.RdioSource

RdioMediaItem (Inherited)

can_sample

bool

can_stream

bool

can_tether

bool

is_clean

bool

is_explicit

bool

duration

int

price

float

embed_url

str

iframe_url

str

RdioNamedItem (Inherited)

name

str

length

int

short_url

str

RdioIconItem (Inherited)

base_icon

str

icon

str

RdioDataItem (Inherited)

key

str

type

str

url

str

RdioBaseItem (Inherited)

classmethod parse(data)[source]

Parse data into object

Parameters:data (str or dict) – Data to parse
Return type:rdiosock.objects.source.RdioTrackSource

RdioAlbumSource

class rdiosock.objects.source.RdioAlbumSource[source]
album_key

str

album_url

str

current_position

int

raw_artist_key

str

user_key

str

user_name

str

RdioAlbum (Inherited)

artist

str

artist_key

str

artist_url

str

big_icon

str

big_icon_1200

str

copyright

str

display_date

unknown

icon_400

str

labels

unknown

network_consumers

list of rdiosock.objects.person.RdioPerson

playlist_count

int

play_count

int

release_date

unknown

review

str

tracks

list of rdiosock.objects.track.RdioTrack

track_keys

list of str

parse_tracks(key, value)

Parse tracks list

Parameters:value (dict) – tracks list dictionary

RdioSource (Inherited)

parse_source(value)

Parse the source into RdioTrackSource or RdioAlbumSource

Parameters:value (dict) – Data to parse
Return type:rdiosock.objects.source.RdioSource

RdioMediaItem (Inherited)

can_sample

bool

can_stream

bool

can_tether

bool

is_clean

bool

is_explicit

bool

duration

int

price

float

embed_url

str

iframe_url

str

RdioNamedItem (Inherited)

name

str

length

int

short_url

str

RdioIconItem (Inherited)

base_icon

str

icon

str

RdioDataItem (Inherited)

key

str

type

str

url

str

RdioBaseItem (Inherited)

classmethod parse(data)[source]

Parse data into object

Parameters:data (str or dict) – Data to parse
Return type:rdiosock.objects.source.RdioAlbumSource

RdioSource

class rdiosock.objects.source.RdioSource[source]
static parse_source(value)[source]

Parse the source into RdioTrackSource or RdioAlbumSource

Parameters:value (dict) – Data to parse
Return type:rdiosock.objects.source.RdioSource

RdioMediaItem (Inherited)

can_sample

bool

can_stream

bool

can_tether

bool

is_clean

bool

is_explicit

bool

duration

int

price

float

embed_url

str

iframe_url

str

RdioNamedItem (Inherited)

name

str

length

int

short_url

str

RdioIconItem (Inherited)

base_icon

str

icon

str

RdioDataItem (Inherited)

key

str

type

str

url

str

RdioBaseItem (Inherited)

classmethod parse(data)[source]

Parse data into object

Parameters:data (str or dict) – Data to parse
Return type:rdiosock.objects.source.RdioSource