ytmusicapi/tests/mixins
Repository files (latest commit first)
Filename Latest commit message Latest commit date
sigma67 b86654fbaf
Added Lyrics w. Timestamps #662 (#693)
* Added Lyrics w. Timestamps

Added `get_lyrics_with_timestamps` to get lyrics with timestamps.
The Method doesn't try to parse the response as normal lyrics, if no lyrics with timestamps are returned. (could be changed to do so tho, the format is the same)

* Update browsing.py

* Combined both get_lyrics methods into one and fixed some typechecking errors

* Fixed a missing hasTimestamps and added the doccomments to the overloads, because vscode didn't show them otherwise

* Removed the old get_lyrics_with_timestamps method

because idk where it came from...

* fixed remaining issues

* Update uploads.py

reverted some changes that I moved to an extra PR

* removed variable `context` from the Mixin, as it's use was replaced by `yt.as_mobile()`

* fix some formatting complaints by ruff and mypy

* please the linter

* fix union syntax

* improve typing in ytmusic.py

* improve typing

* replace docsbuild.yml with RTD

---------

Co-authored-by: Hendrik Horstmann <65970327+heinrich26@users.noreply.github.com>
Co-authored-by: henrich26 <hendrik-horstmann@o2mail.de>
2024-12-17 22:12:06 +01:00
..
__init__.py fix tests 2024-02-22 20:47:15 +01:00
test_browsing.py Added Lyrics w. Timestamps #662 (#693) 2024-12-17 22:12:06 +01:00
test_explore.py Revert "get_charts: removed trending category (no longer available on YTM)" 2024-02-22 20:47:15 +01:00
test_library.py Fix get_history (#691) 2024-12-17 12:21:04 +01:00
test_playlists.py get_playlist: join multiple title runs (#667) 2024-12-17 21:20:33 +01:00
test_podcasts.py fix(playlists): handle missing regex group in trackCount (#651) 2024-10-05 10:33:20 +02:00
test_search.py search: adds functionality to remove search suggestion (#678) 2024-12-17 20:01:11 +01:00
test_uploads.py refactor: use pathlib (#654) 2024-10-05 12:39:21 +02:00
test_watch.py improve coverage 2024-02-04 17:03:59 +01:00