You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
When I try to create a station using `Mobileclient.create_station() it returns an invalid station_id. Am I doing it wrong? Thanks, Griffith.
Python 3.6.0 (default, Jan 31 2017, 17:19:53)
[GCC 6.2.0 20161005] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from gmusicapi import Mobileclient
>>> api = Mobileclient()
>>> api.login('PLACEHOLDER', 'PLACEHOLDER', Mobileclient.FROM_MAC_ADDRESS)
/home/griffith/.pyenv/versions/3.6.0/lib/python3.6/site-packages/Cryptodome/Math/_Numbers_gmp.py:230: UserWarning: implicit cast to 'char *' from a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
_gmp.gmp_snprintf(buf, c_size_t(buf_len), b("%Zd"), self._mpz_p)
True
>>> station_id = api.create_station(name="Test", genre_id=api.get_genres()[6]['id'])
>>> api.get_station_tracks(station_id)
[]
>>> print(station_id)
6ddc09dc-4560-31d9-854e-9fe670374eb2
The text was updated successfully, but these errors were encountered:
When I try to create a station using `Mobileclient.create_station() it returns an invalid station_id. Am I doing it wrong? Thanks, Griffith.
The text was updated successfully, but these errors were encountered: