Commit graph ytmusicapi/tests/test.py
Author SHA1 Message Date
sigma67
5ce1f4bd50
Add exception if browseId None is passed to avoid confusing errors 2021-01-05 21:49:02 +01:00
sigma67
bfbbcc5859
Update behavior of get_lyrics to match YouTube API 2021-01-05 20:04:24 +01:00
sigma67
3de9b5e4e8
Add artists, album and feedbackTokens to get_watch_playlist 2021-01-05 19:51:52 +01:00
sigma67
7107aca6b1
Add limit parameter to get_library_upload_artist (closes #139) 2021-01-03 23:07:57 +01:00
sigma67
3eee8795da
Feature: add edit_song_library_status (closes #68) 2020-12-15 15:54:22 +01:00
sigma67
6022337a33
Add library add/remove feedbackTokens to get_album (#68) 2020-12-15 15:35:56 +01:00
sigma67
cfdb040652
Update get_artist to work with MPLA IDs now returned by get_library_artists (closes #117) 2020-12-14 14:18:13 +01:00
sigma67
fee86377a8
Move lyrics retrieval to get_watch_playlist (closes #114)
Add get_lyrics to docs
Remove video and browseId from get_lyrics return Dict
2020-12-14 14:04:17 +01:00
alexmercerind
eec1ff1d29 Added lyricsFound key to get_lyrics result & updated tests 2020-12-04 21:20:22 +05:30
alexmercerind
0d81ec9dcd Added tests for get_lyrics 2020-12-04 18:33:23 +05:30
sigma67
35b88a4c62
Fix default search (related to 0d419fb) 2020-11-30 15:58:15 +01:00
sigma67
ffe2deffed
search(): Add option to ignore spelling correction (closes #91) 2020-11-30 15:37:17 +01:00
sigma67
063af84a5f
get_streaming_data: handle unplayable videos 2020-11-26 15:04:58 +01:00
Cory Marshall
028b678112
Edit to get_streaming_data() test
Rename variable `song` to `streaming_data`.
2020-11-26 15:04:58 +01:00
Cory Marshall
e95e2d4ee4
Documentation and tests update
Reflect splitting of `get_streaming_data()` off of `get_song()` in
the documentation and tests.
2020-11-26 15:04:57 +01:00
sigma67
0d419fb68f
Add limit parameter to search and search_uploads (closes #95) 2020-11-12 10:51:45 +01:00
ide-an
a0506ebf75
Remove ordering check in testcases
String comparation logic of YTM is different from python one.
Maybe, some kind of normalization is done before comparation.

So I gave up checking if order is correct in testcase.
2020-11-11 17:12:25 +01:00
ide-an
ca2dc4fb28
Add order to library function
Add order parameter to functions bellow
 * get_library_songs
 * get_library_albums
 * get_library_artists
 * get_library_subscriptions
 * get_library_upload_albums
 * get_library_upload_artists
2020-11-11 17:12:25 +01:00
ide-an
fa5e6fe761
Add ordering test 2020-11-11 17:12:25 +01:00
ide-an
19e9053706
Support song order for get_library_upload_songs 2020-11-11 17:12:22 +01:00
sigma67
bf32ba7221
Fix uploads search (server-side changes) 2020-10-28 14:12:29 +01:00
Forrest Jones
5c13accd96 Add support for ignoring YTM's spelling suggestions (#91) 2020-10-20 17:50:48 -06:00
sigma67
654551b0ee
Feature: add uploads filter to search() 2020-09-17 11:29:23 +02:00
apastel
d9c88009d8
Return empty list if 'musicShelfRenderer' not in list of uploaded artists (#71) 2020-09-06 09:41:31 -07:00
apastel
07215a6520
Add skipped unit tests that would verify no errors are returned when there's 0 uploads 2020-09-05 14:13:02 -07:00
sigma67
ca8a73046b
Fix error when continuations contents are missing from response (#52)
Always keep response with most results for retries
2020-09-01 16:42:34 +02:00
sigma67
dad63116df
Feature: remove_history_items (closes #31) 2020-08-27 12:28:17 +02:00
sigma67
7c18d8df4b
Feature: add_playlist_items now supports source playlists, duplicate check 2020-08-25 13:08:04 +02:00
sigma67
6b51e11bb4
Fix watch_playlist byline (closes #54) 2020-08-06 14:32:53 +02:00
sigma67
3b46fda393
Feature: add get_watch_playlist, get_watch_playlist_shuffle 2020-07-24 14:25:13 +02:00
sigma67
d5287e5812
Add additional tests for get_artist edge cases 2020-07-21 23:31:21 +02:00
sigma67
a57956449d
Merge branch 'feature/get_song' (closes #42) 2020-07-21 11:22:26 +02:00
sigma67
d842d6bde5
Feature: add get_user, get_user_playlists 2020-07-21 10:19:35 +02:00
sigma67
90bc7538e4
Fix continuations to always retrieve at least the specified limit, even if YTMusic returns less than per_page 2020-07-15 21:08:08 +02:00
sigma67
d74e532dcd
Feature: add get_song (#42) 2020-07-14 10:08:00 +02:00
sigma67
4779b66af1
Update locales/README.rst 2020-07-09 18:34:56 +02:00
sigma67
76453bb155
Feature: support additional languages (closes #29)
de,es,fr,it,jp are supported for now, pull requests for additional languages are welcome!
2020-07-09 18:19:09 +02:00
sigma67
51100b7e24
Fix library album parsing 2020-06-29 13:52:06 +02:00
sigma67
667a6edc81
Add subscription properties to get_artist (fixes #35)
subscribers, subscribed and channelId
2020-06-29 12:57:24 +02:00
sigma67
1862c84c39
Return thumbnails with songs, albums and artists (closes #27) 2020-05-31 22:11:21 +02:00
sigma67
4aae905a02
Fix get_playlist for playlists with more than 1,000 songs (closes #25) 2020-05-25 17:31:07 +02:00
sigma67
2fa0603694
Add likeStatus for uploaded songs 2020-05-25 17:09:17 +02:00
sigma67
38d0b6ea90
get_album: add likeStatus to tracks 2020-05-25 16:49:11 +02:00
sigma67
fadba30274
Update docs (closes #7) 2020-05-22 16:19:22 +02:00
sigma67
83e886b337
get_library_upload_album: fix issue getting album artist id 2020-05-21 20:57:19 +02:00
sigma67
c79f13ab92
Add get_library_upload_album, get_library_upload_artist (fixes #20)
get_uploaded_songs now returns ids for uploaded song artist/album
delete_uploaded_song renamed to delete_upload_entity
2020-05-21 20:35:31 +02:00
sigma67
b94f5f02e3
Add workflow for code coverage 2020-05-19 17:40:15 +02:00
sigma67
3f186d4e00
Add option to pass raw headers to setup() (in place of terminal input)
Based on this change, coverage now runs without user input
2020-05-19 15:49:55 +02:00
sigma67
947bbcc17b
Fix errors for unplayable items 2020-05-19 12:25:39 +02:00
sigma67
6f543999d1
Add more tests 2020-05-18 17:53:17 +02:00