fritz stelluto
2b5d19abb1
fix #656 : attempt to find runs in subtitle if not in title ( #657 )
...
* fix #656 : attempt to find runs in subtitle if not in title
* refactor
* remove fix by gotofritz
---------
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-10-08 12:17:14 +02:00
sigma67
2c6c6b6504
search: fix missing playlistId for album results while authenticated ( #659 )
...
* search: fix missing playlistId for album results while authenticated
* deduplicate test
2024-10-07 20:28:56 +02:00
sigma67
e995ae56ce
search: fix missing artists when filtering songs/videos ( #655 )
...
* search: fix missing artists when filtering songs/videos
* search: fix missing artists when filtering songs/videos
2024-10-05 13:30:18 +02:00
sigma67
77e40b7f7d
refactor: use pathlib ( #654 )
...
* refactor: use pathlib
* fix size mock
2024-10-05 12:39:21 +02:00
sigma67
7d8a756638
upload_song: add error when file exceeds limit of 300MB ( #653 )
...
* upload_song: add error when file exceeds limit of 300MB (closes #647 )
* fix import
2024-10-05 11:40:51 +02:00
sigma67
09ca398719
fix #642 : create_playlist: raise error when invalid characters are pa… ( #652 )
...
* fix #642 : create_playlist: raise error when invalid characters are part of playlist title
* add test
* fix CI helper
* fix CI helper
* adjust workflow
2024-10-05 11:31:11 +02:00
sigma67
e433b22231
fix #650 : playlists without track count in metadata now return trackCount=None
2024-10-05 10:44:11 +02:00
RealCalumPlays
5478951ba3
fix(playlists): handle missing regex group in trackCount ( #651 )
...
* fix(playlists): get_playlist trackCount incorrect for playlists with more than 1k tracks
This ensures that the regex doesnt just return the first group in 1000+ long playlists.
* feat+fix(playlist_tests): Update playlist ID and add new track count test
* fix tests
---------
Co-authored-by: RealCalumPlays <calumplays666+github@gmail.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-10-05 10:33:20 +02:00
sigma67
7b96ac2c5e
Update pdm.yml cron
2024-09-16 08:42:34 +02:00
indierodo
621584be3c
Very small additions to documentation ( #637 )
...
While I was reading the docs to append video items, I got confused by the setVideoId parameter. I added the missing field to the get_playlists_id example and copied the definition to the edit playlist documentation.
I hope this is ok, it's a very small change, but I think it might help others. I really appreciate the time you take by looking at this.
2024-08-24 20:48:27 +02:00
sigma67
d6b6004b39
fix podcast episode header parsing broken due to server-side update
2024-08-24 20:48:02 +02:00
sigma67
ac7cd6be68
fix #640
2024-08-24 20:48:02 +02:00
sigma67
7d062c29cb
search: fix playlistId on album results
2024-07-28 22:25:57 +02:00
sigma67
a15d90c4f3
add get_user_videos ( #632 )
...
* add get_user_videos
* add to docs
2024-07-24 19:37:33 +02:00
sigma67
858995e016
fix search filters test
2024-07-23 21:57:12 +02:00
sigma67
0f00260f57
fix search queries test
2024-07-23 21:51:19 +02:00
sigma67
6e0fd5e1db
get_podcast: fix edge case when first subtitle is missing
2024-07-23 21:40:00 +02:00
sigma67
8d6dd117eb
fix test broken by added podcasts on oasis page
2024-07-23 21:40:00 +02:00
sigma67
a606b70f94
library uploads: fix broken index after downloads rollout
2024-07-23 21:40:00 +02:00
czifumasa
895ebb0898
tests for tracks in collaborative playlists
2024-07-23 21:40:00 +02:00
czifumasa
40ff2b42a7
get_playlist: fix artists for unnoficial videos ( #627 )
2024-07-23 21:40:00 +02:00
github-actions[bot]
14417db312
chore: Update pdm.lock ( #614 )
...
Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
2024-07-22 07:32:12 +02:00
sigma67
2a0a45a1d1
re-add thumbnails to get_playlist ( #626 )
2024-07-15 20:04:52 +02:00
czifumasa
c39bb328a3
get_playlist: fix title for podcast episodes ( #622 ) ( #623 )
2024-07-15 17:41:27 +02:00
sigma67
12cc15eaf4
introduce exception classes ( #620 )
2024-07-13 21:25:45 +02:00
sigma67
14ae7852ea
coverage: remove code for old playlist format ( #619 )
...
* coverage: remove temporary code for new playlist format
* fix flaky search test
* improve rate_song coverage
* test invalid order raise
* fix workflow
2024-07-13 21:18:19 +02:00
sigma67
828b1b9810
drop 3.8, add pytest-retry ( #592 )
...
* drop 3.8, add pytest-retry
* fix mypy
* fix missing import
2024-07-13 20:40:50 +02:00
JohnHKoh
08d9f3049c
Extract song count from text ( #609 )
...
* Extract song count from text
* Add fix in parsers
* add test
---------
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-07-13 20:28:00 +02:00
czifumasa
8cc72e3863
get_album: fix invalid track list artists ( #617 )
2024-07-11 13:17:29 +02:00
Cory Marshall
cd502aa517
Return blank album author ID when it doesn't exist. ( #615 )
...
* Return blank album author ID when it doesn't exist.
* Revert "Return blank album author ID when it doesn't exist."
This reverts commit ccc5cf93ab4e28fc688db93a0066104b1c4e9e3e.
* Return blank album author ID when it doesn't exist.
2024-07-11 05:59:03 +02:00
github-actions[bot]
d5653b76e1
chore: Update pdm.lock ( #579 )
...
* chore: Update pdm.lock
* update precommit config
---------
Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-07-03 22:29:00 +02:00
Adwait Thattey
ab2aa28992
fix sum_total_duration failing if duration_seconds is not an int ( #598 )
...
* fix sum_total_duration failing if duration_seconds is not an int
Signed-off-by: Adwait Thattey <coderdude1999@gmail.com>
* format
---------
Signed-off-by: Adwait Thattey <coderdude1999@gmail.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-07-03 22:23:03 +02:00
czifumasa
d2cbe538de
get_playlist: title, artists and album are correctly resolved in collaborative playlists ( #603 ) ( #612 )
...
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-07-03 22:17:26 +02:00
sigma67
05cb3caf4a
fix some more tests
2024-07-03 22:05:50 +02:00
sigma67
c97a13e3bd
fix search test
2024-07-03 21:50:32 +02:00
sigma67
e71bfa2516
fix get_episodes_playlist
2024-07-03 21:50:25 +02:00
sigma67
f4f9e7cd12
fix get_album other_versions attribute
2024-07-03 21:48:57 +02:00
Ricardo Mendonça Ferreira
11823d6387
edit_playlist(): Allow moving title to bottom of playlist ( #602 )
...
* Allow moving title to bottom of playlist
* test_edit_playlist fixed & extended
* add labeled coverage workflow run for external PRs
* add labeled coverage workflow run for external PRs
* add labeled coverage workflow run for external PRs
* add another pr target workflow
---------
Co-authored-by: Ricardo <ric.ce.br@gmail.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-06-17 18:24:39 +02:00
sigma67
33098ba69e
get_home: remove "year" attribute from album results, parse podcasts … ( #591 )
...
* get_home: remove "year" attribute from album results, parse podcasts and episodes
* search: make itemCount int cast error proof
* fix None case for parse_album year
* fix lint
2024-05-27 21:16:39 +02:00
sigma67
fdc259461c
make parse_menu_playlists more error proof
2024-05-27 18:20:53 +02:00
ryanopily
bd512384d9
playlist search result "itemCount" field cast to int ( #589 )
...
* playlist search result "itemCount" field cast to int
* use to_int
---------
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-05-25 10:16:01 +02:00
Jonathan Bell
1f4332a8a9
parse_seach_result: add playlist id to album search ( #586 )
...
* parse_seach_result: add playlist id to album search
* fix docs
* add to top result
---------
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-05-25 10:15:26 +02:00
sigma67
0cf0883723
fix #582 ( #583 )
...
* fix #582
* fix result type heuristics
2024-05-20 21:45:02 +02:00
Alex Pastel
ae966bb96a
Gracefully retrieve uploaded songs with a blank duration ( #578 ) ( #580 )
...
* add unit test that attempts to retrieve a song after its been uploaded
* prevent parsing errors when an uploaded song lacks a duration
* update unit test to delete/re-upload song if it already is uploaded
* format
* fix test
* add another sleep to end2end playlist
---------
Co-authored-by: sigma67 <ytmusicapi@gmail.com>
2024-05-11 18:23:11 +02:00
sigma67
614999c77d
search: fix #569 ( #581 )
...
* search: fix #569
* fix an issue with localized instances
* add test for localized search
2024-05-09 21:23:19 +02:00
sigma67
94c67a88d1
Update README.rst
2024-05-04 13:34:42 +02:00
sigma67
f53074e5f2
fix #562 ( #573 )
...
* fix #562
* fix test
* use correct public test data
* fix up for new format
* fix lint
2024-05-04 13:19:53 +02:00
github-actions[bot]
0ba103e6ef
chore: Update pdm.lock ( #558 )
...
* chore: Update pdm.lock
* update deps
---------
Co-authored-by: sigma67 <16363825+sigma67@users.noreply.github.com>
Co-authored-by: sigma67 <sigma67.github@gmail.com>
2024-05-04 09:52:42 +02:00
Alex Pastel
0425429e4d
channelHandle is absent if user has not created a YouTube channel
2024-05-04 08:24:46 +02:00
sigma67
1660d376c7
Update README.rst
2024-04-15 18:55:31 +02:00