Ytmusicapi

Latest version: v1.7.3

Safety actively analyzes 638466 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 11 of 13

0.9.1

This release fixes a packaging issue with v0.9.0 and makes the package usable again. Below the changes for the 0.9.0 release.

Features ✨
---------
- `get_watch_playlist`, `get_watch_playlist_shuffle`: You can now get watch playlists. Watch playlists are the the playlists of suggested songs that appear in YouTube Music when you press play on a song
- `get_user`, `get_user_playlists`: You can now get information about other users and their uploaded videos and playlists
- Song metadata is now available via `get_song`
- Additional languages are supported since v0.8.1 (fr,it,es,de,ja)

Changes ⚒
-----------
- Potentially breaking: `get_playlist` now returns a dictionary instead of a string for the `author` key. It contain's the author's channel id along and the name it previously provided in separate keys `id` and `name`


Fixes 🐞
---------
- Many fixes for `get_artist` to work with more artists (thanks grray )
- Fix exception when album has no year (on artist page)
- Fix exception when artist has no thumbnail
- Fix for albums without publication year
- Fix for artist page, if it has no buttons
- Fixed: KeyError when artist doesn't have subscribers count
- Fix continuations to always retrieve at least the specified limit, even if YTMusic returns less than per_page. The get_library_songs endpoint is currently unreliable on YouTube's end, so the behavior of continuations was changed to always fetch more than `limit` songs, even if the API returns less than expected
- User-provided headers are no longer rejected. Previously only the cookie would be kept, which meant users using a non-primary Google Account with YouTube Music were unable to use the API (46)

0.9.0

---------------------------------------------------------------
superseded by [0.9.1](https://github.com/sigma67/ytmusicapi/releases/0.9.1) due to an issue with package publishing

---------------------------------------------------------------

0.8.1

Some quality of life features and fixes for playlist interaction are featured in this minor release.

Features ✨
---------
- Proxy support (thanks OzymandiasTheGreat )
- ytmusicapi now support localization! You can get song data in one of 6 languages: en, de, fr, it, es, ja

Fixes 🐞
---------
- added subscription properties to get_artist (35):
subscribers, subscribed and channelId are now available
- fixed bugs in playlist parsing (unavailable and uploaded songs) (30)
- fixed library album parsing
- fixed get_artist when artist views are missing (33)

0.8.0

Features ✨
---------
- Support for getting private artists and albums: `get_library_upload_artist`, `get_library_upload_album`
- Like status is now reported for tracks, when it is provided by YouTube Music. This includes the following methods:
- `get_history`, `get_library_songs`, `get_playlist`
- `get_artist`, `get_album`
- `get_library_upload_songs`, `get_library_upload_artist`, `get_library_upload_album`
- Thumbnails are now provided for tracks, albums and artists where available. This applies to the same methods as for like status above and additionally
- `search`
- `get_library_upload_artists`, `get_library_upload_albums`

- collaborative playlists are now supported (thanks nforro )
- delete uploaded albums in addition to individual songs with `delete_upload_entity`

Changes ⚒
-----------
- **BREAKING** `delete_uploaded_song` renamed to `delete_upload_entity` to reflect new behavior
- `get_uploaded_songs` now returns ids for uploaded song artist/album, or `None` if not available
- song and view counts are now returned as `int` (`get_artist`, `get_playlist`)
- raw headers can be passed as a string with linebreaks to the `setup` function with the new optional parameter `headers_raw`

Fixes 🐞
---------
- Fix key error for `get_artist` caused by server-side removal of video title link
- Fix `get_artist` for artists without description or with few songs
- Fix `get_playlist` for playlists with more than 1,000 songs
- Fixed some errors for unplayable playlist items

0.7.1

Some quality of life features and fixes for playlist interaction are featured in this minor release.

Features ✨
---------
- `create_playlist` supports video_ids and source_playlist parameters
- `edit_playlist` allows moving playlist items (thanks nforro )
- `edit_playlist` allows adding a playlist to another playlist

Fixes 🐞
---------
- `create_playlist` now returns the full response if there was an error (i.e. the quota may be exhausted, check 19)
- `get_playlist` no longer returns deleted songs
- `get_playlist` no longer throws an error if playlist has no description (thanks hematogender )

0.7.0

This release includes many new features, but also some breaking changes for existing functions. Some functions were renamed, so make sure to update your programs.

Features ✨
---------

* add user id parameter to constructor to allow using brand accounts
* add subscription methods

* `add_subscription`
* `remove_subscription`
* `rate_playlist` (also works with albums)
* `subscribe_artists`
* `unsubscribe_artists`

* add library methods

* `get_library_artists`
* `get_library_albums`
* `get_library_songs`
* `get_library_subscriptions`
* `get_library_upload_artists`
* `get_library_upload_albums`

For all features, check out the [documentation](https://ytmusicapi.readthedocs.io/en/latest/reference.html).

Changes ⚒
-------------

* **BREAKING** changes to `get_playlist_items`, `search` and `get_album`:

* `album` dictionary keys are now a dictionary with `name` and `id`. Previously the keys only contained the name string
* `artists` dictionary keys now contain a list of artist dictionaries, each with the artist's name and id. Previously the `artist` key only contained the name string of the first artist

* **BREAKING** `get_uploaded_songs` renamed to `get_library_upload_songs`
* **BREAKING** `get_playlist_items` renamed to `get_playlist`, now also returns playlist metadata (id, privacy, title, description, track count)
* **BREAKING** `get_playlists` renamed to `get_library_playlists` to be consistent with our library calls, and to avoid confusion with `get_playlist`
* `get_album` also returns the associated playlistId, durationMs, trackCount
* default limits for `get_playlist_items` and `get_liked_songs` changed to 100 from 1000
* Added type hints to all functions

Fixes 🐞
---------

* Fix song duration for default search
* Fix get_playlist_items if playlist has no song count
* Fix issue in get_upload_song if requested while song processing

Page 11 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.