Librespot Java Versions Save

The most up-to-date open source Spotify client

v1.6.3

11 months ago

Added

  • Added client token support (08b7890ed0fadc072052958945ac64e784232ac5)
  • Added onPlaybackFailed callback (#449, #460)

Fixed

  • Make AP resolver use configured proxy (#441)
  • Refresh AP pool after stopping the receiver (#464)
  • Bumped client version to fix PremiumAccountRequired (#614, #615)

Changed

  • Migrate some APIs to their HTTP equivalent (6b45130cf26d47ab538abe265cf351096faccc2c)
  • Updated two years of dependencies

v1.6.2

2 years ago

Added

  • Added HTTPS proxy support (#390)
  • Added GET /instance API endpoint (#403)

Fixed

  • Fixed track repeat behavior (#383)
  • Fixed cache synchronization issue (b3d61f4c3bb7398e2f2246f6aa274f8d903c492b)
  • Minimize audio pop when using pipe (#389)
  • Fix CVE-2021-44228 (#438)

v1.6.1

2 years ago

Added

  • Added /discovery/list API endpoint (#352)
  • Added environment variables to shell event hooks (#368)
  • Added shell.executeWithBash configuration option (#368)

Changed

  • Space volume events 500ms apart (#369)

Fixed

  • Removed redundant pfls message (#361)
  • Refresh AP pool before reconnecting (591fb92db5931d611779ab83f9747f4decaea3f7)

v1.6.0

3 years ago

Added

  • Added extended metadata API (#311)
  • Added player.bypassSinkVolume to ignore volume events (#317)
  • Added support for shell events (#329)
  • Added API endpoints for repeat and shuffle toggle (7747677641993c012e72135ee3d38ea48591f326, #330)
  • Configurable connection timeout (#328)
  • Added artifact with thin classifier to player module (29e6dac909bf3a0a8ddeacd9e91a0f926b5cc664)
  • Added Login5 API code (#322)
  • Added /discovery/list API endpoint to list available Spotify Connect devices (#352)

Changed

  • Improved metadata DACP pipe (#317, 6a2679d8f2e26b31bbb85419fa524913d64ffe86, c10a1c82c90ba29454206587d793b1d706735a7d)
  • Use slf4j for logging in lib and player modules (#336, #338)
  • Moved sink code to sink-api and sink modules (#337)
  • Moved DACP code to dacp module (7221b2b22b03652c4505ae2f750f40610b783bbd)
  • Refactored PlayableId and stream loading to prepare for local files playback (#208)
  • Moved decoder code to decoder-api module (#343, 34ec54647397c0495f5dddeb193c75b347cbb351, 77a558475d860bd5c672bc58dac7baeb17e219c6)
  • Centralize Base64 decoding/encoding (#351)

Fixed

  • Fixed unsupported tracks playback (#332)

v1.5.5

3 years ago

Added

  • Added playbackEnded event to the API (#297)
  • Added POST /instance/terminate and POST /instance/close to the API (f83101059c94a636a94725619a1ea53eab2e574f, b288bd1785579af05ee4042e76cef0f801298998, 9fbe6431b961154c1efa14ad61a5dee48022377e)

Changed

  • Player#waitReady() now waits for the player to become ready, the old behaviour has been renamed to Player#ready() (dce26768eebf7e9e039ffabfceb80b66c1a9228b)

v1.5.4

3 years ago

Fixed

  • Fixed playback not starting (#281, #289, 0e85e1a52a1082dc1c63d79c432107bdeb9ed5b6)
  • Fixed instance stuck after failing to load autoplay (#284)
  • Do not report a null session to session listeners (#291)

Changed

  • Removed redundant calls to getInstance (#292)

v1.5.3

3 years ago

Added

  • Dispatch session closing when using Zeroconf (5b53af7aa5c23a5ed5153e68c5b022aee63ca3e6)
  • Allow set volume with relative steps count (#273)

Changed

  • Improved thread usage (#249, #280)
  • Catch and log exceptions happening in command/message handling (352d6e3c0cc0a36ea676505e0f761f678f4b11b8, 3229d2cc72ad2c4d364f7c197b0aec38083d577a)

Fixed

  • Fixed parsing some payloads (f6191ff6636dd538b5ebf1090df4eaa9bd062110)
  • Fixed double reading of first chunk (e5a8ae712114c344aca43e5ec5f557f7ce9657b9)
  • Fixed proxy auth (#274)
  • Fixed playback not starting (#277, 26818c619e2fa6f0d4da9f4e96a8e913ccc0468d, abde6b64d68d49e637343560514efc2dca895815, a79e78a716df74e582504b5d69df455404cef356)

v1.5.2

3 years ago

Added

  • Added Player#waitReady() method (d3149d3843e066986524e14369c5871c22629810)
  • Added pass through endpoints for official Spotify API (#255)
  • Store and check hash of first chunk of cache data (9ab9f43a91ebbce0e9a3a3c6f3c55a714c756525)

Fixed

  • Fixed UnsupportedOperationException when starting playback (#251)
  • Close cache files correctly (e953129ed5f0dc4e9931660bd216267557d6010a, #253)
  • Fixed starting playback from API (#254)

v1.5.1

3 years ago

Fixed

  • Fixed issue with Zeroconf (#246)

v1.5.0

3 years ago

Breaking changes

  • Separated library from player (#245)
  • Removed common module, moved into lib
  • Removed core module, split into lib and player
  • Moved many classes

Added

  • Added STORED authentication strategy (17ba408b844554632e180d3ad1e8fc7cb9db2b6c)
  • Added followers and following endpoint to API (#241)
  • Added toggle play/pause command to API (#244)

Changed

  • Release versions are compiled on Java 8 (5a97a60c62f002444b3a695ee7dbd6146fc52b2d)
  • Refactored line acquisition to prefer native lines over conversion (#240)
  • Refactored audio decrypt (b71af8376fa1d12212c679b6fdd83c20cdfd9361)

Fixed

  • Do not panic when trying to autoplay search context (2e41807ceb40af1034f2da088af545e44169b1d2)
  • Fixed payload too large when sending state (#239)