Commit graph

416 commits

Author SHA1 Message Date
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
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
b3e233e75c
add tunerSettingValue to get_watch_playlist request (#282) 2022-08-02 17:07:55 +02:00
sigma67
1d5cfc3b3c
update tests sample video to version with lyrics 2022-08-02 17:07:43 +02:00
sigma67
7e5697596c
Update version to 0.22.0 2022-05-10 14:28:20 +02:00
sigma67
edb963766c
feature: add get_song_related (closes #252) 2022-05-10 14:12:16 +02:00
sigma67
7c242ba40b
add consent cookie to avoid consent page trigger (could cause unauthenticated requests to fail) 2022-05-05 15:53:08 +02:00
sigma67
f4ff4ba287
refactor helpers and utils, extract SearchMixin from BrowsingMixin 2022-05-05 14:26:45 +02:00
sigma67
1d30910e23
remove test invalidated by get_artist changes (#181, #267) 2022-04-14 17:33:14 +02:00
sigma67
2b44cbe64d
get_watch_playlist: add related content browseId 2022-04-14 17:27:13 +02:00
Jonah Brüchert
d6f8d5dc78
get_artist: Don't fail on channels with only one category of content
The current check is meant to detect channels with only video content,
but it also hits small bands that for example have only released singles
so far. An example for this is "UC1uK8RT3m4nNpXmOSsFsZeg".

Since failing is not really helpful anyway (for example in audiotube, it
could still play only the sound of a channel that contains only videos),
I propose to remove the check altogether.
2022-04-08 02:05:08 +02:00
sigma67
81d3799c6a
get_watch_playlist: add videoType to docs 2022-04-07 17:45:30 +02:00
Lucas Macedo
56b266dbdb
return video type on get watch playlist 2022-04-07 17:45:19 +02:00
sigma67
33232aef0c
search: add videoType to docs 2022-03-23 18:29:50 +01:00
Lucas Macedo
2b6ced5226 get videoType from video results 2022-03-22 22:56:21 -03:00
sigma67
7ebb57d2a5
get_watch_playlist: parse and return counterpart for songs with video counterparts 2022-03-10 17:36:51 +01:00
HHongSeungWoo
e1c77f1da0 fix/number parse error 2022-03-04 18:27:16 +09:00
HHongSeungWoo
c219f6723e feature/add ko locales 2022-03-04 18:22:49 +09:00
sigma67
64a1f1de47
get_home: small fixes to runs parsing (#251) 2022-02-27 13:11:16 +01:00
sigma67
c1313aac34
Update version to 0.21.0 2022-02-27 10:28:05 +01:00
sigma67
c1170b9c93
feature: get_home (closes #251) 2022-02-27 10:27:37 +01:00
sigma67
d046011b73
get_album: add album and artists to tracks (closes #257) 2022-02-10 11:24:05 +01:00
sigma67
2e8c09a430
get_charts: fix unavailable song error in trending section 2022-01-30 14:50:41 +01:00
sigma67
7bc65ba15c
properly determine separator for artists runs on videos (closes #254) 2022-01-30 14:39:22 +01:00
sigma67
64276bc85e
Update version to 0.20.0 2022-01-01 19:59:50 +01:00
sigma67
3436f2dcc4
add duration_seconds key to items with duration (closes #215) 2022-01-01 19:54:42 +01:00
sigma67
221cce92ae
fix isExplicit label for localized instances 2021-12-23 12:34:33 +01:00
sigma67
3043116d69
get_history: raise exception if watch history is disabled 2021-12-20 10:56:50 +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
2aad7232f2
also split on non-breaking spaces 2021-12-20 10:11:51 +01:00
Bruce Zhang
71cc90f52a add zh_CN language 2021-12-13 22:10:45 +08:00
sigma67
909d4d367a
use session for get requests (closes #240) 2021-12-12 21:23:14 +01:00
Kenneth Bier
3b133a756d
Fix issue #242
Fix issue [242](https://github.com/sigma67/ytmusicapi/issues/242) by changing run_count check to == 5.
2021-12-12 20:57:03 +01:00
sigma67
0cefc97d87
use CaseInsensitiveDict for headers 2021-12-12 20:55:31 +01:00
hibby50
afad9d2933 Respect the authuser defined in headers_json when uploading a song 2021-12-09 08:01:26 -05:00
sigma67
55c795a13e
Update version to 0.19.5 2021-12-01 17:07:23 +01:00
sigma67
eb0293fa52
fix search error if result thumbnail is missing 2021-11-29 12:02:26 +01:00