Features β¨
---------
- `search`: Support the new **library search** that was rolled out globally this week. For this purpose, a new `scope` parameter was introduced for `search`. It can take `uploads` or `library` values depending on the alternative search scope intended. Consequentially, `uploads` is no longer passed using the `filter` argument. The `filter` argument can be used without a scope (global YouTube Music catalogue search, as previously), or with the new library search. All existing filters work with the library search except the videos filter, as you cannot add videos to your library (only to liked playlist)
- `get_charts`: get latest chart data from YouTube Music. This further contributes to ytmusicapi's implementation of the Explore tab in YouTube Music, after the moods and genres implementation in 0.18.0. The function retrieves all data shown on the `/charts` page and takes a country code as parameter, or `ZZ` for global charts.
Changes β
-----------
- **BREAKING**: to improve consistency across the project, the key `artists` is now used whenever a list of artists with (name,id) dictionary is provided (instead of `artist`). This affects `get_album`, `get_library_upload_songs`, `get_library_upload_album`,`get_library_upload_artist`. See 215
Fixes π
-----------
- `get_library_upload_albums`: a key in the data structure was changed in a recent YouTube update, the function should now work again without issue