Commit graph

551 commits

Author SHA1 Message Date
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
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
Fabian Wunsch
24024aa18e cleaner alternative parsing 2023-09-25 23:10:32 +02:00
Fabian Wunsch
01f38878dc Singles still use the grid renderer, while albums use the carousel now 2023-09-25 23:10:32 +02:00
Fabian Wunsch
6c6f19df24 Fix the currently present problem of get_artist_albums not working
This doesn't touch singles at all, as I'm frankly too dumb to figure that out

Fixes #439
2023-09-25 23:10:32 +02:00
ankit yadav
f1141d3f5a fixed KeyError in get_charts 2023-09-25 21:38:02 +02:00
sigma67
56d54a2b50
fix readthedocs 2023-08-27 23:15:18 +02:00
sigma67
c5dca0ae34
search: fix profile edge case (closes #429) 2023-08-25 22:20:25 +02:00
sigma67
6660058a47
fix weird new chromium pasting bug - please use firefox! (closes #409) 2023-08-20 18:16:43 +02:00
sigma67
0ef4656e1f
update readme, docs (closes #315, #250) 2023-08-20 17:46:03 +02:00
sigma67
2be108e2b6
search: support profiles (closes #425) 2023-08-20 17:18:35 +02:00
sigma67
3770b4516c
fix test 2023-08-11 21:07:43 +02:00
nick42d
3bf7b49eab
Fix for KeyError when searching community_playlists or featured_playlists. Closes #420 (#421)
* Fix for issue #420 KeyError when searching community_playlists or featured_playlists with scope library

* From PR feedback - better exception message for search guard clause.

* Fixed lint
2023-08-05 12:23:23 +02:00
nick42d
bff2b667da Removed redundant loop counter
The count in parse_playlist_items is not referenced elsewhere in the function.
2023-07-20 08:35:20 +02:00
zeitmeister
ef312d75ed
Oauth refresh on request (#403)
* updating token on every request if auth is oauth

* remove print line

* headers only updated if auth is oauth

* some refactoring

* dont know what happened here

* check for self.auth

---------

Co-authored-by: simon <simon.sporrong@24hr.se>
2023-07-03 21:14:03 +02:00
sigma67
94f1513822
fix empty liked songs crash caused by #399 2023-07-02 22:15:38 +02:00
Marvin Schenkel
e26335e664
Fix 'secondSubtitle' KeyError for some playlists (#399)
* Fix 'secondSubtitle' KeyError for some playlists

* Feedback.
2023-06-25 20:28:26 +02:00
sigma67
7c9455e42c
test location parameter 2023-06-15 20:20:16 +02:00
sigma67
6b75939799
fix test 2023-06-15 20:15:41 +02:00
Marvin Schenkel
89c6a2515f
Add external OAuth case to browser check (#396) 2023-06-15 20:14:03 +02:00
sigma67
2c99445d1b
add location support (closes #377) 2023-06-15 20:11:18 +02:00
czifumasa
d9f9fcc147
Fixed unrecognized case sensitive headers during auth 2023-05-21 20:38:41 +02:00