Ampache logo

Ampache

Web based audio/video streaming application and file manager

Alternative to: spotify, apple music, youtube music


About Versions (100)

5.2.0

2021-12-16

(MD5SUM 1aa80adb5cdbe357c2c409dcfbce2ec2) ../ampache-5.2.0_all.zip (MD5SUM 59cd948ce3f6630700544f28970daf84) ../ampache-5.2.0_all_php8.0.zip (MD5SUM 7901961f20e636c8465ab5d7a3558021) ../ampache-5.2.0_all_squashed.zip (MD5SUM db238cb5c6580d877735e902a52aeb8c) ../ampache-5.2.0_all_squashed_php8.0.zip

Bug in smart lists fixed up so new zips. (One day i’ll have this part automated.)

(MD5SUM 54f63bf8f9c5c3d422a214f32a205930) ../ampache-5.2.0_all.zip (MD5SUM 2f1551c564a13cc13a010cc489437e47) ../ampache-5.2.0_all_php8.0.zip (MD5SUM 5b9ebcf643653b5ef82f400f558daa19) ../ampache-5.2.0_all_squashed.zip (MD5SUM 6dd17e0282222572b997855ceae4fd9c) ../ampache-5.2.0_all_squashed_php8.0.zip

Ampache 5.2.0-release

Ampache 5.2.0 (and all future versions) now support multiple API versions. This means that you can send your handshake with a specific version (e.g. 390001, 440001 or 5.2.0) you will be sent API3, API4 and API5 responses in return.

To change from API3 to API5 you can send a ping with a new version parameter to update your session (or send goodbye to log off and start again.)

API3 is not recommended for use outside of running old applications and it is recommended that you turn off API versions you don’t use.

You can read up about all the API changes on ampache.org.

Added

  • Get image from more tag types
  • Translation Updates Nov 2021
  • Added the ability to play random songs from a playlist with a play url
  • Update AmpacheRatingMatch.php to allow writing ratings to file tags
    • Enable ‘Save ratings to file tags when changed’ on the plugin page
    • write_tags must be enabled in the config file
  • Config version 59
    • Removed overwrite_tags (It doesn’t do anything)
    • playlist_art now true by default
  • Database 5.2.0 Build 5:
    • Make sure preference names are always unique
    • Add ui options (‘api_enable_3’, ‘api_enable_4’, ‘api_enable_5’) to enable/disable specific API versions
    • Add ui option (‘api_force_version’) to force a specific API response (even if that version is disabled)
    • Add ui option (‘show_playlist_username’) Show playlist owner username in titles
    • Add ui option (‘api_hidden_playlists’) Hide playlists in Subsonic and API clients that start with this string
    • Add ui option (‘api_hide_dupe_searches’) Hide searchs in Subsonic and API clients with the same name as playlists (and both owned by you)

Changed

  • Don’t try to return objects that aren’t there sometimes
  • Update catalog counts before returning API data
  • Fix preferences for system and users after each update
  • Light theme hover color for sidebar
  • Changed some cookie from Strict to Lax to fix some bugs
  • Check ldap group by username instead of DN
  • Allow gathering random art from playlist contents instead of generating on page load

Removed

  • Remove AssestCache class and functions (unreliable)
  • When recording stats don’t ignore based on a hardcoded gap

Fixed

  • test_image function would fail without php-gd (which is optional)
  • Searching for images in files could not return the files you found
  • Get rid of that annoying space on api key text in the WebUI
  • Catalog map for artist tables
  • ratingmatch_stars value 5 wasn’t setting itself
  • filter_has_var is returning false in FCGI enabled PHP
  • Allow catalog manager to manage a catalog in the WebUI
  • When using custom metadata don’t overwrite managed values
  • Missing (and duplicate) preferences for users and system
  • Size 0 when reading file tags
  • Disk and totaldisks for wma files
  • Genre for quicktime/m4a files
  • Last.fm login impossible with strict cookies
  • Some double scrubs of text in image links
  • Updating playlist user would only update the name and not the ID
  • garbage collection for playlist images
  • Stats when skipping songs with 0 plays
  • More PHP8 runtime errors
  • Fixed single song random playback using a play url
  • Make sure we error if php_intl module isn’t found

API 5.2.0

Check out the docs for multi API support at ampache.org

note JSON didn’t exist for API3 so all json requests from API3 calls will revert to API5

Added

  • Support for API3, API4 and API5 responses including PHP8 support (keeps original tag calls)
  • API5
    • playlists: add parameter show_dupes if true ignore ‘api_hide_dupe_searches’ setting
    • get_art: add parameter fallback if true return default art (‘blankalbum.png’) instead of an error
  • API4
    • playlists: add parameter show_dupes if true ignore ‘api_hide_dupe_searches’ setting
  • API3
    • Added genre calls as an alias to tag functions to match API4 and API5

Fixed

  • Session and user id identification and errors from that
  • API5
    • playlists: sql for searches wasn’t filtering
    • Art URL for searches was malformed
  • API4
    • Art URL for searches was malformed
  • API3
    • democratic: This method was broken in API3 and never worked correctly