Ampache logo

Ampache

Web based audio/video streaming application and file manager

Alternative to: spotify, apple music, youtube music


About Versions (100)

6.4.0

2024-05-03

6.4.0

php8.3 c4c0ca8e03cdcedb9aef0b6a231af665 ./ampache-6.4.0_all_php8.3.zip 2cf4e901b03c3fe702ce1542d22b3ee8 ./ampache-6.4.0_all_squashed_php8.3.zip

php8.2 c58325336cf3ca1b68cec11c59911cb4 ./ampache-6.4.0_all_php8.2.zip 9942e4dacf528215ccccea20c956d093 ./ampache-6.4.0_all_squashed_php8.2.zip

php8.1 67a33371ab7e70949389c8d97605421f ./ampache-6.4.0_all_php8.1.zip 4025f87e11556004e6542f0f1f0961a7 ./ampache-6.4.0_all_squashed_php8.1.zip

php8.0 c53b3a9da8aabdd2d5e96b177aa12891 ./ampache-6.4.0_all_php8.0.zip 228163172acb9b0fd69fcf1f0586da12 ./ampache-6.4.0_all_squashed_php8.0.zip

UNSUPPORTED php7.4 (will be built until it can’t be done any more) a77dd19f5269926b8ed5abe02a185aec ./ampache-6.4.0_all_php7.4.zip dbdf6b3b05edaef9e5191aad310550f2 ./ampache-6.4.0_all_squashed_php7.4.zip

UNSUPPORTED Code only release. (Requires composer install) af3f9c8a095409b514b39e2b7f254b4c ./ampache-6.4.0_public.zip 8949432a3f0dcfd843a45af965980464 ./ampache-6.4.0_squashed.zip

Ampache 6.4.0

Work on Ampache7 is ongoing.

Check out the wiki for information as some changes will be backported to Ampache6.

This update has become quite large and work to make sure this branch stays stable for the long term will continue.

Check your config file encode_args

First up there is some manual work for you if you’ve enabled transcoding.

Double check your config and remove the K from %BITRATE%K.

image

Transcoding commands are sent in bytes so adding a K to the command multiplies it by 1000!

Changes to random searches in the WebUI

There has been a change to the way Random Searches work for Artist and Albums These searches will now use to rules for that object type and then return the songs contained in those objects

  • For example
    • You search using random.php?action=advanced&type=album
    • You search album_rating == 5 and the Item count is set to 1
    • The search will find 1 album that is rated 5 and return ALL the songs in that album

Added

  • Translations 2024-05
  • rtrim slashes on some config variables in case you ignore the warning
  • Database 600070
    • Allow signed user column for broadcast, player_control, session_stream, share, user_activity, user_follower and user_vote tables
    • Revert unique constraint playlist_track_UN on playlist_data table
    • Extend generator column on podcast table to 128 characters
    • Convert object_type to an enum on playlist_data table
  • Config version 71
    • Fix up bitrate encode_args
    • Add api_debug_handler run api commands without exception handling (At your own risk!)
    • Wrap default string config options in quotes
    • Add a note about using a secure cookie prefix

Changed

  • Stream Random action default fallback to song
  • Allow using tmp_dir_path for Dropbox catalog
  • Subsonic
    • Song file path is now always the original full file path
    • This was a relative path that was changed with transcoding meaning the path never existed.
  • Random search (random.php?action=advanced) artist and album actions have been changed to use their object rules
    • The returned results are still song objects but the searches are done using their rule set

Fixed

  • Always get the current file size when downloading the raw file
  • AlbumDisk errors on unknown items
  • Album names being overwritten with artist names when missing tags
  • Regenerate playlist track numbers correctly for the full list
  • Also check the bitrate when transcoding instead of just formats
  • Don’t use cached files if the bitrate doesn’t match transcode_rate
  • Default config encode_args are putting bitrates into millions
  • URL links generated with & that were causing errors
  • Song license display
  • Check Stream_Playlist::media_to_url() to ensure valid media
  • File naming fixes to stop matching year on 1080p
  • ObjectTypeToClassNameMapper missing tvshow class
  • Allow composer stan to run on Windows
  • Filter Random and Trending sections for catalog filters on dashboards
  • MusicBrainz lookups on Wanted files
  • Don’t try to get playlist items when it’s not a valid list
  • Send a 416 HTTP response when trying to stream past the end of a song
  • Stream_playlist columns could be inconsistent with different media types in a list
  • Compare Ampache version string is actually higher using version_compare() instead a not equals comparison
  • webplayer
    • Send the Song time to the player to stop all these wild numbers
  • Subsonic
    • Sending a User as an array instead of Users

API 6.4.0

There is a new config option called api_debug_handler. This will instruct the server to run api commands without exception handling. Very useful for API devs and not recommended for anyone else.

Added

  • API6
    • Downgrade any API7 calls to API6 wiki
    • New Method: player (Inform the server about the state of your client player)
      • Returns now_playing state on completion
    • download: add bitrate parameter
    • playlists: add include parameter (note this can be massive and slow when searches are included)

Changed

  • API6
    • Do not translate API errorMessage strings ampache.org

Fixed

  • ALL
    • Download method format parameter didn’t have a fallback value
  • API4
    • playlist: error check for missing/deleted playlists
    • playlist_songs: error check for missing/deleted playlists
  • API6
    • Playlists objects would not return duplicates items if allowed
    • has_art property missing from songs and albums
    • playlist_add: couldn’t add a single item