github sigma67/ytmusicapi 0.10.0
v0.10.0

latest releases: 1.6.0, 1.5.4, 1.5.3...
3 years ago

Features ✨

  • validated requests are now available for get_library_songs (#52, thanks @czifumasa ). This opt-in behavior allows requests to be repeated up to 3 times since the API is often unreliable and provides less than the expected 25 items
  • search now supports an "uploads" filter to search your uploads
  • added support for Python's with statements (@alexmercerind). Usage:
from ytmusicapi import YTMusic

with YTMusic() as ytmusic:
    print(ytmusic.search('NoCopyrightSounds'))
  • (since 0.9.2) new method remove_history_items allows removing items from history
  • (since 0.9.2) add_playlist_items now supports source playlists, duplicate check

Fixes 🐞

  • get_library_songs, get_library_upload_songs, get_library_artists now return an empty list if the library is empty (instead of an error)
  • fixed an error that would occur when continuation_contents were missing from a continuation (sometimes occurs for get_library_songs)
  • unauthenticated requests to get_album now always contain all tracks (#75, thanks @alexmercerind )
  • using upload_song no longer pollutes the YTMusic instance headers - it should be fine now to reuse the instance after uploading a song (#79)
  • potentially breaking: fixed get_watch_playlist, which was broken by server-side lyrics update

Don't miss a new ytmusicapi release

NewReleases is sending notifications on new releases.