Commit graph

571 commits

Author SHA1 Message Date
John Birdwell
1971121add
Search issue 494 (#495)
* search_suggestions: fix handle history when authenticated

* search_suggestions: test historical option does something

* remove optional param

---------

Co-authored-by: sigma67 <ytmusicapi@gmail.com>
2023-12-31 13:16:48 +01:00
sigma67
1fd93dcfb6
Ruff lint (#496)
* add ruff, pdm

* update .gitignore

* format

* test

* check failure

* fix constants.py
2023-12-31 12:54:07 +01:00
sigma67
ec02876874
fix workflow 2023-12-31 11:39:48 +01:00
sigma67
48e95add2e
Merge pull request #488 from jcbirdwell/alt_auth
Authentication refactor
2023-12-31 11:36:10 +01:00
sigma67
90af0c7a5a
Merge remote-tracking branch 'origin/master' into jcbirdwell-alt_auth 2023-12-31 11:34:14 +01:00
sigma67
c848e50b3b
refactor authtypes 2023-12-31 11:18:39 +01:00
sigma67
3abbbf8209
fix review findings 2023-12-31 10:43:26 +01:00
jcbirdwell
d05c011e42 fix: not here not now 2023-12-28 18:27:37 -06:00
jcbirdwell
a6ae5add7f tests: further edits for clarity and oauth tests 2023-12-28 18:23:51 -06:00
jcbirdwell
940b827fb4 docs: docs, ~~docs~~, and docs with a splash of type hinting 2023-12-28 18:16:22 -06:00
jcbirdwell
a589eadcab ytmusic: oauth initialization changes to fix keyerrors, reduce code and improve speed 2023-12-28 18:13:11 -06:00
jcbirdwell
fe85234ce3 credentials.py: custom exceptions.py for pesky issues 2023-12-28 18:08:16 -06:00
jcbirdwell
38685c9b17 explore.py: charts fix and docs edit 2023-12-28 18:00:12 -06:00
jcbirdwell
7b60e65ea4 test_get_album_browse_id: hindsight test edit and bulletproof fix for warning 2023-12-28 17:58:39 -06:00
sigma67
e85ce83d36
update get_artist docstring once more (closes #480) 2023-12-27 22:35:29 +01:00
sigma67
b51603af90
update get_artist docstring (closes #489) 2023-12-27 22:18:45 +01:00
theyak
11bf25f0aa Move pop_songs_random_mix to be after results check. 2023-12-27 10:23:48 +01:00
jcbirdwell
45df3afdfb oauth: file separation, classes restructured, fix refresh error, model classes for clarity 2023-12-20 15:18:29 -06:00
jcbirdwell
814ea9999b get_album_browse_id: reverted and subtest added for edge case 2023-12-20 15:15:25 -06:00
jcbirdwell
5f1945ae05 remove: env support 2023-12-19 13:59:35 -06:00
jcbirdwell
8dac2e528f fix: new token init 2023-12-19 13:49:03 -06:00
jcbirdwell
9cb8c63d99 minor touch-up: rebuild the entire oauth system 2023-12-18 23:37:17 -06:00
jcbirdwell
10241c7ee4 fix: dataclass implementation of credentials 2023-12-18 17:58:21 -06:00
sigma67
67d8b7c8ac
fix broken test playlist id 2023-12-18 21:06:21 +01:00
sigma67
bd7a6b452d
fix poop_songs_random_mix 2023-12-18 21:02:29 +01:00
sigma67
8f7970b264
get_library_songs, get_library_upload_songs: fix empty result for libraries containing exactly 1 song 2023-12-18 20:34:36 +01:00
jcbirdwell
742f5842fa unadd: set_album_save. unneeded duplicate to rate_playlist 2023-12-18 12:53:31 -06:00
jcbirdwell
6c94c80086 add: integrate alt_oauth into YTMusic && add: token dict support for auth parameter 2023-12-16 16:26:24 -06:00
jcbirdwell
91949b5403 fix: externalize library dependent or regional arguments to test.cfg 2023-12-16 16:18:38 -06:00
jcbirdwell
b60af9cc25 add: set_album_save as a convenience/alias/findable method for album rate_playlist 2023-12-16 16:07:07 -06:00
jcbirdwell
b2c078df63 get_charts: fix index errors on authorized song chart missing 2023-12-16 16:04:25 -06:00
jcbirdwell
b9be59de50 get_album_browse_id: fix depreciated escape sequence error && add performance increase 2023-12-16 15:55:06 -06:00
jcbirdwell
e21492b7d3 oauth: add support for alternate oauth client 2023-12-14 15:55:22 -06:00
Benedikt Putz
43d3c3bc04
.readthedocs.yml: enable all formats 2023-12-14 13:53:29 +01:00
sigma67
38b49056da
Revert "search: add podcasts filter tests"
This reverts commit f73f77b387.
2023-11-11 17:16:14 +01:00
sigma67
e8cb80f388
add fr episodes translation 2023-11-11 17:12:24 +01:00
sigma67
f73f77b387
search: add podcasts filter tests 2023-11-11 17:08:42 +01:00
sigma67
6f80e94424
search: support podcasts and episodes 2023-11-11 17:05:13 +01:00
sigma67
9b0d4de7cc
fix get_charts fallback 2023-11-09 19:05:38 +01:00
sigma67
07f690b8ae
fix get_album_browse_id (closes #470) 2023-11-09 18:40:38 +01:00
sigma67
2d2ab999a2
don't fail on missing setVideoId/removedVideoId (closes #462, closes #463) 2023-10-24 22:21:46 +02:00
sigma67
7382f622c5
fix requests_session documentation (closes #464) 2023-10-24 22:14:11 +02:00
sigma67
437844fa79
get_playlist, get_library_songs, get_history, get_liked_songs: fix feedbackTokens, add inLibrary flag (closes #454) 2023-10-24 22:13:10 +02:00
sigma67
05a5fb8153
search: add browseId to album top results (closes #448) 2023-10-06 21:26:09 +02:00
sigma67
40e5650de3
search: fix missing artists when albums filter is set 2023-10-03 17:09:49 +02:00
sigma67
9a87990055
get_album: don't overwrite parsed artist (closes #446) 2023-10-03 16:57:37 +02:00
sigma67
d4a088d09f
fix: add new cookie value to bypass consent screen 2023-10-03 16:35:03 +02:00
sigma67
369ac9323f
edit_playlist: change addToTop function parameter to Optional[bool] (#444) 2023-10-03 16:02:49 +02:00
sigma67
6f7dfce572
fix rtd requirements.txt 2023-10-03 16:02:20 +02:00
sigma67
0acef5ddd9
edit_playlist: add addToTop function parameter (closes #444)
toggles a playlist from default behaviour (add to bottom) to "add to top"
2023-09-27 21:36:32 +02:00