This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
3,427 additions
and
2,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
.. _mobileclient: | ||
.. currentmodule:: gmusicapi.clients | ||
|
||
Mobileclient Interface | ||
====================== | ||
|
||
.. autoclass:: Mobileclient | ||
|
||
Setup and login | ||
--------------- | ||
.. automethod:: Mobileclient.__init__ | ||
.. automethod:: Mobileclient.login | ||
.. automethod:: Mobileclient.logout | ||
|
||
Songs | ||
----- | ||
Songs are uniquely referred to within a library | ||
with a 'song id' or 'track id' uuid. | ||
|
||
.. automethod:: Mobileclient.get_all_songs | ||
.. automethod:: Mobileclient.get_stream_url | ||
.. automethod:: 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). | ||
|
||
.. automethod:: Mobileclient.get_all_playlists | ||
.. automethod:: Mobileclient.get_all_playlist_contents | ||
.. automethod:: Mobileclient.create_playlist | ||
.. automethod:: Mobileclient.delete_playlist | ||
.. automethod:: Mobileclient.add_songs_to_playlist | ||
.. automethod:: 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). | ||
|
||
.. automethod:: Mobileclient.search_all_access | ||
.. automethod:: Mobileclient.add_aa_track | ||
.. automethod:: Mobileclient.get_all_stations | ||
.. automethod:: Mobileclient.get_artist_info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.