sigma67
f2be19416b
get_artist_albums: support continuations ( #441 )
2024-01-10 21:19:59 +01:00
sigma67
9506bfd6d5
fix #501 ( #502 )
...
* fix #501
* enable tests on PR
2024-01-03 21:15:00 +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
sigma67
e0d73c02b2
fix tests
2024-01-01 14:27:20 +01:00
sigma67
e88792b452
remove flaky assert
2023-12-31 20:25:17 +01:00
sigma67
70a260b516
add mypy
2023-12-31 20:13:45 +01:00
sigma67
f3e747103f
get_album: return new "views" key for each track
2023-12-31 14:39:05 +01:00
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
c848e50b3b
refactor authtypes
2023-12-31 11:18:39 +01:00
jcbirdwell
a6ae5add7f
tests: further edits for clarity and oauth tests
2023-12-28 18:23:51 -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
jcbirdwell
814ea9999b
get_album_browse_id: reverted and subtest added for edge case
2023-12-20 15:15:25 -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
sigma67
f73f77b387
search: add podcasts filter tests
2023-11-11 17:08:42 +01: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
9a87990055
get_album: don't overwrite parsed artist ( closes #446 )
2023-10-03 16:57:37 +02:00
sigma67
369ac9323f
edit_playlist: change addToTop function parameter to Optional[bool] ( #444 )
2023-10-03 16:02:49 +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
sigma67
56d54a2b50
fix readthedocs
2023-08-27 23:15:18 +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
sigma67
94f1513822
fix empty liked songs crash caused by #399
2023-07-02 22:15:38 +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
sigma67
9819ddb72b
get_playlist: fix issue with views, limit
2023-05-21 20:35:19 +02:00
sigma67
8aee43837b
oauth: fix string returned by setup_oauth to include expires_in
2023-04-20 20:19:19 +02:00
sigma67
e457402633
streamline authentication ( closes #376 , closes #380 )
2023-04-19 20:45:50 +02:00
sigma67
4251896c39
fix test issue when running from US (episodes saved for later playlist)
2023-04-06 23:15:40 +02:00
sigma67
69a419f0bd
oauth: add safeguard exception to upload_song
2023-04-06 23:00:04 +02:00
sigma67
6ea74e39fb
fix search ( #374 )
2023-04-06 22:43:22 +02:00
sigma67
012a0fc85d
add cli
2023-04-05 23:41:57 +02:00
sigma67
d111be24e0
use oauth for more tests
2023-04-05 23:41:57 +02:00
sigma67
0ee3b7fdb5
implement oauth authentication ( #10 )
2023-04-05 23:41:57 +02:00
Om Gupta
39a10d6050
Add unittest for get_search_suggestions
2023-04-05 12:42:20 +02:00
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