Commit graph ytmusicapi/tests/test.py
Author SHA1 Message Date
sigma67
6aa6c8d382
fix tests 2023-04-02 18:53:00 +02:00
sigma67
fcdb2ae7ba
search: fix bugs with top result (closes #367) 2023-04-02 11:35:40 +02:00
sigma67
3a03c635fd
improve search coverage 2023-03-25 10:41:57 +01:00
sigma67
e14abac69d
get_playlist: add 'views' for owned playlists, fix trackCount (closes #365) 2023-03-25 10:32:51 +01:00
sigma67
19ad424e0e
refactor search parsing to work with new top result (closes #360) 2023-03-22 22:33:56 +01:00
sigma67
4594a748e3
improve test coverage 2022-12-12 15:02:10 +01:00
sigma67
d0ec2bbf72
feature: add_history_item (closes #295) (OzymandiasTheGreat/mopidy-ytmusic/issues/58) 2022-12-07 18:07:47 +01:00
sigma67
d2d66f8dfe
tests: fix sample video
broken by YTM content update
2022-11-30 14:52:05 +01:00
sigma67
c91f47e828
get_song: add playbackTracking key (OzymandiasTheGreat/mopidy-ytmusic#58) 2022-11-30 14:51:14 +01:00
Benjamin Ryzman
c37a2eca2c Add playlistId key presence unittest 2022-10-04 12:30:15 +02:00
sigma67
527fed67ff
get_watch_playlist: add shuffle and radio parameters (closes #282)
removed get_watch_playlist_shuffle in favor of the new shuffle parameter to get_watch_playlist
setting the radio parameter now properly randomizes the watch playlist, as discussed in #282
2022-10-01 15:36:22 +02:00
sigma67
207d7ad714
add coverage for bad request exception 2022-10-01 15:06:56 +02:00
sigma67
dd5d753432
get_album: add other versions (closes #279)
also added isExplicit label to all album type results
2022-10-01 15:03:16 +02:00
sigma67
c2d5e46805
remove get_playlist_suggestions - add suggestions and related to get_playlist
get_playlist_suggestions was not working anymore due to changes on YouTube's end
calls to the playlist page on YouTube Music now also return co-dependent continuations for suggestions and related items
to support both, these continuations are now part of get_playlist, but made optional through function parameters
default values are set backwards-compatible, i.e. no extra requests are performed without setting the new parameters
2022-09-30 19:36:48 +02:00
sigma67
1cac82be21
get_library_*: fix for next YouTube update (#301) 2022-09-29 21:13:08 +02:00
sigma67
9b74957a1f
tests: move some limits to test.cfg 2022-09-26 14:22:04 +02:00
sigma67
98c4661fce
get_library_songs: add support for limit=None (closes #275)
add tests for get_library_subscriptions and get_library_artists with limit=None
2022-09-26 13:39:01 +02:00
sigma67
ec771fc976
get_playlist: support None limit (#275) 2022-09-26 12:49:43 +02:00
sigma67
c85fd8c810
optimize tests for retrieving all library items (#275) 2022-09-26 11:19:22 +02:00
sigma67
1b94985014
retrieve all continuations when limit parameter is None (closes #300)
Squashed commit of the following:

commit 3f447e39a403bea746b18e79cd7a9177a20ef79c
Merge: 8746a2a c31c8da
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:17:44 2022 -0400

    Merge branch 'master' of https://github.com/adrinu/ytmusicapi into retrieve-all-playlists

commit 8746a2af5bdc12e5e16a87b6c69d39dde8712390
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:17:06 2022 -0400

    Limit to other funcs

commit 5b69523003b6d0c2a00e31e1ed4a022efeabee65
Merge: b7a3e75 d36d85d
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 12:07:45 2022 -0400

    Merge branch 'retrieve-all-playlists' of https://github.com/Auzzy/ytmusicapi into retrieve-all-playlists

commit c31c8dafae0c805dee68d2df19b3fe1ac454d707
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 11:35:05 2022 -0400

    Limit is none implementation

commit 6768f1d66de832c17b5557c910f4b2a353386690
Merge: b7a3e75 d36d85d
Author: Adrian <an3015@nyu.edu>
Date:   Sun Sep 25 01:06:59 2022 -0400

    Merge branch 'retrieve-all-playlists' of https://github.com/Auzzy/ytmusicapi into retrieve-all-playlists

commit d36d85de9b3dff08a9997ca712817724b01608a3
Author: Austin Noto-Moniz <mathfreak65@gmail.com>
Date:   Mon May 30 16:55:53 2022 -0400

    get_library_playlists: When limit is None, return them all.
2022-09-26 10:36:02 +02:00
sigma67
4512dac409
set_tasteprofile: make internal get_tasteprofile request optional (#289) 2022-08-24 09:45:20 +02:00
sigma67
c3ed850026
tasteprofile: minor fixes to test (#289) 2022-08-24 09:00:08 +02:00
Adrian
f7ef0d2c15 Covered more cases in unittest and documentation 2022-08-23 20:33:48 -07:00
Adrian
d66f20aa13
Addded favorite artists to taste 2022-08-20 23:43:39 -07:00
sigma67
fbb26dde94
search: raise Exception when filter is set for uploads search (closes #285) 2022-08-05 15:16:45 +02:00
sigma67
1d5cfc3b3c
update tests sample video to version with lyrics 2022-08-02 17:07:43 +02:00
sigma67
edb963766c
feature: add get_song_related (closes #252) 2022-05-10 14:12:16 +02:00
sigma67
1d30910e23
remove test invalidated by get_artist changes (#181, #267) 2022-04-14 17:33:14 +02:00
sigma67
64a1f1de47
get_home: small fixes to runs parsing (#251) 2022-02-27 13:11:16 +01:00
sigma67
c1170b9c93
feature: get_home (closes #251) 2022-02-27 10:27:37 +01:00
sigma67
878ae9a9bf
get_watch_playlist: recognize audioPlaylistIds as playlists to not error on continuations (#246) 2021-12-20 10:21:17 +01:00
sigma67
312147232a
feature: add library search 2021-08-03 22:41:02 +02:00
sigma67
07794f70cf
get_charts: add docs, fix some bugs (#213) 2021-07-11 20:20:47 +02:00
sigma67
42f08d1766
add get_charts (#213) 2021-07-11 18:40:06 +02:00
sigma67
a8652ea492
fix search test 2021-07-01 20:32:37 +02:00
impliedchaos
0b7596de5c add tests for mood methods 2021-07-01 11:42:56 -04:00
sigma67
474be51081
Update version to 0.17.3 2021-05-23 23:51:07 +02:00
impliedchaos
436d1cd7f3 Added get_signatureTimestamp() method. 2021-05-22 11:01:23 -04:00
sigma67
47d211849f
Update version to 0.17.2 2021-05-22 10:51:23 +02:00
sigma67
e1af1c2653
rework get_song to use player endpoint, remove get_streaming_data (#196) 2021-05-18 15:59:43 +02:00
sigma67
ed2706f2bb
Improve test coverage 2021-05-17 13:51:09 +02:00
sigma67
5ae470e260
validate playlist ids in playlist methods
additionally small code quality improvements
2021-05-14 19:45:41 +02:00
sigma67
81afbe118c
Feature: add get_playlist_suggestions
get_playlist: added suggestions_token
add_playlist_items: made videoIds parameter optional
2021-05-14 18:53:41 +02:00
sigma67
b76eea3738
search: support featured_playlists, community_playlists filters 2021-05-14 14:46:11 +02:00
sigma67
048f17989a
get x-goog-visitor-id dynamically to avoid errors caused by its expiry
removed headers.json
all headers provided by user are now used in the headers file created by setup.py instead of only required headers
2021-04-27 22:55:00 +02:00
sigma67
15e1b69698
search: also add artists without browseId to artists list (closes #187)
also fixed missing feedbackTokens for songs already in the library
2021-04-10 17:46:26 +02:00
sigma67
bfe26e9b1f
Feature: add get_album_browse_id (#186) 2021-04-05 15:54:41 +02:00
sigma67
71c2a1d11b
Add localization for get_artist related artists (#181) 2021-03-24 13:35:02 +01:00
mikefreemanwd
8ec9b6ac41 removed named exception in favor of ValueError when non-music YouTube channel id given to get_artist. Minor changes to structure of related artists property in get_artist, added thumbnails. 2021-03-23 12:01:07 -04:00
mikefreemanwd
15bf0bbe1b Feature: add related artist section to BrowsingMixin get_artist method 2021-03-23 12:01:06 -04:00