Commit graph ytmusicapi/tests/mixins
Author SHA1 Message Date
sigma67
47b27f0f0e
get_podcast, get_episode: improve edge cases 2024-01-22 23:06:22 +01:00
John Birdwell
123eae7370
get_album: parse more data from response + correct keys on other_vers… (#523)
* get_album: parse more data from response + correct keys on other_versions

* keys: fair point

* navigation, browsing: removed duplicate SUBTITLE

---------

Co-authored-by: sigma67 <ytmusicapi@gmail.com>
2024-01-21 19:39:52 +01:00
fischcode
de651c40eb
handle playlists appearing in top results (closes #524) (#526)
* handle playlists appearing in top results #524

parse playlists appearing in top results returning results the same way as for other playlists found be search()

* fixup, add test

---------

Co-authored-by: sigma67 <ytmusicapi@gmail.com>
2024-01-21 19:06:38 +01:00
sigma67
bb7a51e496 get_saved_episodes 2024-01-21 18:43:27 +01:00
sigma67
a3e4c26c8a get_podcast, get_episode 2024-01-21 18:43:27 +01:00
sigma67
650bc24d68 get_album: rename track_number to trackNumber 2024-01-21 18:43:27 +01:00
sigma67
9170197457
ruff: ruff specific rules 2024-01-18 21:53:23 +01:00
John Birdwell
2b42c58963
get_album: track_number returns none when track unavailable + test (#516)
* get_album: track_number returns none when track unavailable + test

* Update ytmusicapi/parsers/playlists.py

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>

* test_get_album: sans fixtures

---------

Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
2024-01-14 14:38:29 +01:00
sigma67
ff51a5bb40
fix flaky test 2024-01-11 20:37:30 +01:00
John Birdwell
ba71fc998d
get_album: track positions (#510)
* get_album (via parse_playlist_items): add track_position key + tests for the badly indexed album

* get_album & parse_playlist_items: nav changes

* parse_playlist_items: only add track_position for albums

* parse_playlist_items & related test_browsing: track_position > track_number

---------

Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-01-11 20:02:23 +01:00
sigma67
b094345e44
add test for order exception 2024-01-10 21:22:21 +01:00
sigma67
e864a6be53 get_artist_albums: add order param (#441) 2024-01-10 21:19:59 +01:00
sigma67
f2be19416b get_artist_albums: support continuations (#441) 2024-01-10 21:19:59 +01:00
sigma67
d4bea93414
improve coverage 2024-01-02 22:29:41 +01:00
sigma67
69dd4a9f2f test restructuring via pytest 2024-01-02 22:09:22 +01:00