Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Latest commit

 

History

History
55 lines (43 loc) · 1.65 KB

mobileclient.rst

File metadata and controls

55 lines (43 loc) · 1.65 KB

Mobileclient Interface

Mobileclient

Setup and login

Mobileclient.__init__

Mobileclient.login

Mobileclient.logout

Songs

Songs are uniquely referred to within a library with a 'song id' or 'track id' uuid.

Mobileclient.get_all_songs

Mobileclient.get_stream_url

Mobileclient.delete_songs

Playlists

Like songs, playlists have unique ids within a library. However, their names do not need to be unique.

The tracks making up a playlist are referred to as 'playlist entries', and have unique entry ids within the entire library (not just their containing playlist).

Mobileclient.get_all_playlists

Mobileclient.get_all_playlist_contents

Mobileclient.create_playlist

Mobileclient.delete_playlist

Mobileclient.add_songs_to_playlist

Mobileclient.remove_entries_from_playlist

All Access features

All Access/store tracks also have track ids, but they are in a different form from normal track ids. store_id.beginswith('T') always holds for these ids (and will not for library track ids).

Adding a store track to a library will yield a normal song id.

All Access track ids can be used in most places that normal song ids can (e.g. when for playlist addition or streaming).

Mobileclient.search_all_access

Mobileclient.add_aa_track

Mobileclient.get_all_stations

Mobileclient.get_artist_info