Commit graph

655 commits

Author SHA1 Message Date
Sheikh Haziq
9415b264e4 Added Arabic and Urdu 2023-01-02 22:20:36 +05:30
Sheikh Haziq
11c903a4fb Merge branch 'master' of https://github.com/sheikhhaziq/ytmusicapi 2023-01-02 21:02:47 +05:30
Sheikh Haziq
41530515d7 Chinese added 2023-01-02 21:02:14 +05:30
Sheikh Haziq
93ef8a7609
Merge branch 'sigma67:master' into master 2023-01-02 13:16:05 +05:30
Sheikh Haziq
1ed903c8e5 Turkish language added 2023-01-02 13:08:51 +05:30
sigma67
6b428caf3e
remove old code for runs parsing (closes #334)
affects get_library_albums, get_library_upload_albums, get_artist_albums
2023-01-01 21:18:37 +01:00
Sheikh Haziq
14f9cfb1bb added portuguese support 2023-01-01 12:20:12 +05:30
Sheikh Haziq
e6f182bbc6 Hindi language added 2023-01-01 11:10:40 +05:30
Sheikh Haziq
08cc109fc8 Russian language added 2023-01-01 09:59:03 +05:30
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
02e3289616
library: fix for new response structure and empty libraries (#320) 2022-12-07 17:39:26 +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
bretsky
2344a1715b Fix KeyError when playlist is empty 2022-11-24 14:10:00 +01:00
sigma67
d48951f00f
fix run parsing - artist mistaken as views (closes #313) 2022-11-03 17:17:19 +01:00
terry3041
2965004ba0 Add localization for zh_TW
zh_TW
Chinese (Traditional)
中文 (繁體)
2022-11-03 16:16:20 +01:00
Lucas Macedo
4221cb9c1e return videoType on playlist items 2022-11-03 16:15:03 +01:00
JohnHKoh
a406dbcf95 Remove quotes from cookies 2022-11-03 16:11:15 +01:00
Benjamin Ryzman
081a64d1b9 Add none_if_absent param to playlistId key in parse_albums 2022-10-04 12:38:23 +02:00
Benjamin Ryzman
c37a2eca2c Add playlistId key presence unittest 2022-10-04 12:30:15 +02:00
Benjamin Ryzman
4815fc521e Amend get_library_albums docstring 2022-10-04 11:35:26 +02:00
Benjamin Ryzman
56796e6785 Fix typo in MENU_PLAYLIST_ID 2022-10-04 11:34:54 +02:00
Benjamin Ryzman
0d25af1947 Add playlistId key to the album dicts in parse_album 2022-10-03 15:12:06 +02:00
sigma67
feac9501d9
add .readthedocs.yml 2022-10-01 18:12:29 +02:00
sigma67
0e0a6d1186
update README.rst 2022-10-01 17:44:09 +02:00
sigma67
92fd2c0dd2
require Python 3.8 2022-10-01 17:12:28 +02:00
sigma67
03a534f344
fix internal package version 2022-10-01 17:05:18 +02:00
sigma67
8501f9fe08
move headers_auth.json.example to docs/source
remove codecov.yml
2022-10-01 16:36:49 +02:00
atlasrule
7de7ecfcc0
Add check if absent
Checking if nested objects absent solved solved my issue, #298
I'm not sure if it's suitable.
2022-10-01 15:47:57 +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
3ab1d91a93
get_home: fix watch playlist error 2022-09-30 09:50:25 +02:00
sigma67
1cac82be21
get_library_*: fix for next YouTube update (#301) 2022-09-29 21:13:08 +02:00
sigma67
d36a01077d
test_get_library_playlists: add limit to cfg 2022-09-29 21:11:56 +02:00
sigma67
3ea2aa2ff2
update coverage action 2022-09-26 14:36:32 +02:00
sigma67
9b74957a1f
tests: move some limits to test.cfg 2022-09-26 14:22:04 +02:00
sigma67
28668901a3
get_home: support watch_playlist content 2022-09-26 13:39:36 +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
b7a3e7544d
use pyproject.toml for build 2022-09-23 11:12:02 +02:00
sigma67
889b29b530
fix language exception error message 2022-09-22 18:07:26 +02:00
sigma67
07cb6d041f
Change version string to new format (#296) 2022-09-20 17:45:13 +02:00
sigma67
20b4631c31
setup docs: grammar fix 2022-09-02 11:20:12 +02:00
s1ack
b3c50c28c7
Update setup.rst
Added a bit more clarity
2022-09-02 08:54:09 +05:30
sigma67
4512dac409
set_tasteprofile: make internal get_tasteprofile request optional (#289) 2022-08-24 09:45:20 +02:00