Ampache
Web based audio/video streaming application and file manager
Alternative to: spotify, apple music, youtube music
8.0.0
2026-08-118.0.0
php8.5 3ae3a235247076ef6c457be293d5c0f7 ./ampache-8.0.0_php8.5.zip 3ae3a235247076ef6c457be293d5c0f7 ./ampache-8.0.0_all_php8.5.zip ad8d4f4d019dd57ef98da4b8fa1f679c ./ampache-8.0.0_all_php8.5_squashed.zip 29771b14274752e5e8361a615899773b ./ampache-8.0.0_all_php8.5_client.zip
UNSUPPORTED Code only release. (Requires composer and npm install) f20a0a5ea76581a43380d909f88f543d ./ampache-8.0.0.zip f20a0a5ea76581a43380d909f88f543d ./ampache-8.0.0_public.zip 3abfa0996cf51d96fb3088178f3adb30 ./ampache-8.0.0_squashed.zip 82bfea25b45325ff26d9e2c77c96c337 ./ampache-8.0.0_client.zip
Zip Version information
If you aren’t familiar which the project make sure you know which zip you need to download.
ampache-8.0.0.zip is a copy of ampache-8.0.0_public.zip and ampache-8.0.0_php8.5.zip is a copy of ampache-8.0.0_all_php8.5.zip.
The shorter names become the default for the public structure in Ampache9; the _public and _all names will be kept for the rest of the 8.x series.
Ampache 8.0.0
You can downgrade to Ampache7 if you try this out and have issues, using the cli (bin/cli admin:updateDatabase -e).
NOTE The /rest rewrite rules changed a lot in this release. Use php bin/installer htaccess -e to update your htaccess files (or the Write buttons on the install/update page). The rest/.htaccess configured? check reports a file left over from an older release, so it will tell you when this is needed.
- Ampache 8 requires PHP 8.5+
- This version adds a new Folder domain which functions as a virtual filesystem browsing layer over catalog files.
- A very major PHPStan level 8 / Rector / PER-CS3x0 hardening pass across the code.
Added (8.0.0)
- Translations 2026-08-11
- OpenID Connect (OIDC) login
- New
oidcauth method; add it toauth_methodsto enable it (keepmysqlso local accounts can still log in) - Configure a single provider (Keycloak, Entra ID, Authentik, Google, Okta, …) with the new
oidc_*config keys - Authorization code flow with PKCE (S256); users are matched by the
oidc_username_claimclaim and provisioned through the existingauto_create/auto_user/external_auto_updatesettings, exactly like LDAP - The redirect uri to register with the provider is
<web_path>/oidc/; it carries no query string and needs no webserver configuration - Point
logout_redirectat the provider’send_session_endpointto sign out of the provider as well
- New
- Folder Browsing
Folderdomain/model for browsing the catalog as a virtual folder tree- New
show_folderpreference to show/hide the “Folders” link in the sidebar
- Play history consolidation
- New
stats_consolidate_thresholdconfig option; the number of days of detailed play history to keep inobject_count(0, the default, disables consolidation) - New
cleanup:consolidateStatsCLI command aggregates older plays intoobject_count_summaryand moves the detail rows toobject_count_archive; dry-run unless-eis given - New
cleanup:restoreStatsCLI command puts the archived detail back and regenerates thealbum,album_disk,artistandpodcastrows from it - Nothing is discarded: media rows keep their exact
date,agentand location for streams, skips and downloads, so a consolidate/restore cycle is lossless - Play counts,
playedflags and streamed data size stay exact while consolidated; period-based statistics (trending, recent, graphs, Last.fm export), smart playlist play-history rules and play count sorting only see the retained window - Example systemd unit and timer in
docs/examples
- New
- Mini player
- New
/m/page showing only thehomecategory plugins and the web player, for small screens and simple accounts - New
mini_playerpreference locks a user into that page; it hides the rest of the interface but is not an access control, user access levels still decide what data is reachable - Logging in returns you to the page you originally asked for, including
index.php#page.php?...links - New
Mini playerbutton on the login form, next toRegisterandLost Password, to land there after logging in
- New
- Multi select
- New
Multi-Selectbrowse option in theViewmenu turns the checkboxes on; they stay hidden until you ask for them - Checkboxes on the playlist items and collection items lists select several entries at once, and the header checkbox selects the whole page
Ctrl/Cmd+click toggles a row andShift+click selects a range, anywhere on the row that is not itself a button or a link- A selection can be played, played next, played last, added to the temporary playlist, added to another playlist, or removed from the playlist in a single action, from a bar that stays in view while you scroll the list
- Removing a selection sends one request and renumbers the list once, instead of one request and one full renumber for every entry
- A mixed collection groups the selection by type before acting on it, so playing a selection of albums and songs together works from one bar
- The same checkboxes, gestures and action bar on the song lists, which covers the songs browse as well as the song lists on album, artist and search pages
- A selection of songs can be downloaded as a single zip, when
allow_zip_typesincludessongand batch download is permitted batch.phpaccepts a comma separatedidlist, so one zip can hold the medias of several items instead of only one
- New
- Broadcasting is documented and easier to get working
- New
docs/BROADCAST.mdcovers the whole feature: the config, thebin/cli run:websocketserver it needs, reverse proxy and TLS, and how to test each step - New
docs/examples/ampache_websocket.servicesystemd unit, so the websocket server can run as a service like the other jobs - The websocket address defaults to
wss://when Ampache is served over https; a plainws://default was blocked by the browser as mixed content and reported nothing on the page - The broadcast socket also accepts connections from the host in
web_path, not only the host inwebsocket_address; a mismatch was refused with403that never appeared in the interface run:broadcast(a UPnP announcement) andrun:websocket(broadcasting) now say which is which in their help- New
broadcast_privatepreference (Streaming) decides whether a user’s new broadcasts require a listener session; it is on by default, matching what every broadcast did before, and can now be turned off per user - The Broadcasts browse has All and Live views; a broadcast only counts as live when it is started and still holds the key a listener connects with
- Starting the websocket server clears any broadcast a previous server left marked as running, so a crash no longer leaves rows claiming to be live forever
- Garbage collection clears the state of broadcasts that cannot be running, leaving a broadcast that still holds its listener key alone in case it is live
- New
- Song previews work again
- New
iTunesandDeezerplugins find a 30 second sample for a wanted album’s tracks; neither needs an api key or an account - Neither provider indexes MusicBrainz ids, so a track is matched on artist and title and a wrong match is possible
- New
- A “Create Playlist” button on the playlists browse. Until now a playlist could only come into existence as a side effect of adding something to one
- Database
- New
api_enable_8preference to enable/disable API v8 responses per user - New database tables
folderandfolder_map - New database tables
object_count_summaryandobject_count_archive folderadded to theobject_typeenum on several tables (cache_object_count,cache_object_count_run,image,object_count, and others)- New
user.subsonic_secretcolumn holding the per-user Subsonic password - New database tables
collectionandcollection_map - New database tables
playlist_folderandplaylist_folder_map, holding a private per-user tree that organises playlists, smartlists and collections - New maintained
last_playedcolumn onalbum,album_disk,artist,podcast,podcast_episode,songandvideo, written on the same statement that increments the play counter and backfilled from the existing play history (live counts, archived detail and consolidated summaries) collectionadded to theobject_typeenum onimage,object_count,cache_object_count,cache_object_count_run,object_count_summaryandobject_count_archive, so a collection carries its own art and play statisticscollectionadded to theobject_typeenum onratinganduser_flag, so a collection can be rated and flagged- New
position_ms,playback_rateandstatecolumns onnow_playing, holding what an OpenSubsonic client reports throughreportPlayback - New
artist.lastfm_urlcolumn keeping the last.fm page url with the rest of the cached artist info label_assogains a nullablealbumcolumn and itsartistcolumn becomes nullable, so a label can be associated with an album as well as an artist- New
song_data.bpmcolumn holding the tagged beats per minute
- New
- Subsonic
- OpenSubsonic implementation audited against the published specification on 2026-08-07; the audited build is committed as
docs/openapi-opensubsonic.jsonand pinned by a test so a refreshed copy prompts a re-audit instead of drifting silently - New
transcodingextension:getTranscodeDecision(POST, with the client’s playback capabilities as a JSON body) reports whether a file can be played as-is, andgetTranscodeStreamserves the result. The decision is derived from the same transcode settings that serve the bytes, and itstranscodeParamstoken is signed withsecret_keyso a client cannot choose its own output format or bitrate - New
playbackReportextension:reportPlaybackupdates now-playing from a client’s playback timeline, withignoreScrobble=truerefreshing the display without touching play counts - New
topSongsByArtistIdextension:getTopSongsaccepts an artistidas well as a name - New
sonicSimilarityextension servinggetSonicSimilarTracksandfindSonicPath, backed by a sonic-analysis plugin; the extension is only advertised while such a plugin is enabled, so a server without one reports it unsupported rather than substituting metadata similarity - New AudioMuse plugin providing that sonic analysis from an AudioMuse-AI server; set its URL in the plugin preferences
NowPlayingEntryreportspositionMs,playbackRateandstatefor a client that usesreportPlayback; ordinary playback reports none of them and the fields stay absentAlbumInfo,ArtistInfoandArtistInfo2reportlastFmUrl, cached with the rest of the artist infoAlbumID3reportsrecordLabels, from a new album-to-label association the scanner writes off the release’s label tag- Songs, albums, videos and podcast episodes report
played, the moment they were last streamed getLyricsBySongIdsupportsenhanced=true, returning word-levelcueLinetiming when the stored lyrics carry Enhanced LRC timings- Songs report
bpm. The spec types the field as an integer, so a tag carrying a fraction is rounded here; the native API keeps the value as tagged - OpenSubsonic responses carry the documented extra fields in both JSON and XML; the XML serializer emitted little more than plain Subsonic before. Songs gain
artists,albumArtists,displayArtist,displayAlbumArtist,displayComposer,contributors,mediaType,samplingRate,channelCount,isrc,replayGainandbookmarkPosition; albums gainartists,displayArtist,sortName,releaseDate,originalReleaseDate,releaseTypesanddiscTitles; artists gainsortNameandartistImageUrl; playlists gainallowedUser; users gainmaxBitRate; videos gainoriginalWidth/originalHeight - An internet radio station reports the specified
homePageUrl, nothomepageUrl; the pure Subsonic API was affected as well, where it did not match the 1.16.1 schema reportPlayback,findSonicPathandgetSonicSimilarTracksare reachable; a camelCase handler name never matched the lowercased action it was routed from- New per-user Subsonic Password set from the account page, the admin user edit page, or
bin/cli admin:updateUser <username> --subsonic <password>, so token auth works without pasting your API key into a music player - It is stored encrypted with
secret_keyrather than hashed, since token auth needs the server to recomputemd5(password + salt); changingsecret_keyinvalidates every stored Subsonic Password - The API key keeps working as the Subsonic password for both token and plaintext auth, so existing clients do not need reconfiguring
- OpenSubsonic implementation audited against the published specification on 2026-08-07; the audited build is committed as
- Collections
- A collection is a hand-curated list of objects of any type: the static counterpart to a search, and the non-media counterpart to a playlist. Albums, artists, folders, genres, labels, live streams, playlists, podcasts, episodes, songs and videos can all sit in the same list
- A collection may be left mixed or pinned to a single
object_type, in which case anything else is refused when it is added - A collection is ordered. Members keep the order they were curated into, new ones are appended to the end, and the API can move them a few at a time or all at once. Positions stay dense and 1-based, so they are renumbered after anything is added, removed or moved
- A collection may hold the same object twice, following the existing
unique_playlistpreference rather than a rule of its own; it is off by default, so duplicates are allowed - Playing one expands its members, so an album contributes its songs and anything that cannot be streamed is skipped; duplicates reached by two different routes are played once
- Collections have their own art, including the mosaic built from their members when no art is set
public/privatevisibility and a collaborator list, matching playlists: a collaborator curates the contents, only the owner or an admin can delete the list- New
show_collectionpreference to show/hide the “Collections” link in the sidebar, and with it the collection half of the add-to-list dialog. The link no longer waits for a collection to exist before it appears - Collections in the web interface: a
collection.phppage listing the members, abrowse.php?action=collectionbrowse with the usual sorting and filtering, the standard edit dialog for name, visibility, pinned type and collaborators, and the art picker - A “Create Collection” button on the collections browse creates one, choosing its name, whether it is public or private, and whether it is pinned to a single item type or left mixed
- The add-to-list dialog offers collections as well as playlists, under a “Playlists” and a “Collections” heading so the two kinds of destination are told apart. Only the halves that can take what you are adding are shown, and a collection pinned to another type is left out
- Genres, labels and folders gained the add-to-list control they never had, since all three can be collected
- A genre expands to its songs the way an album does, so it can be played, queued and added to a playlist as well as collected
- A folder is curated as itself, so a collection of folders stays a list of folders; adding one to a playlist instead adds the media below it, the way an album adds its songs. A folder with nothing playable in it still offers the control, since it can still be collected
- The label reads “Add to playlist / collection” once collections are switched on, and “Add to list” where there is no room for it; a server with collections off still just says “Add to playlist”
- The collection page renders a mixed collection as one ordered list through a new
collection_itemsbrowse type, each row naming its own type. A collection pinned to a single type is handed to that type’s own browse instead, so a collection of albums looks like any other album view - Members can be dragged into a new order and saved with
Save Track Order, exactly like playlist tracks. Only a mixed collection offers this — a pinned one is shown through its own type’s browse, which has no drag handle - A member can be removed from its row, or several at once through
Multi-Select. Members are addressed by their membership row rather than by the object they point at, so removing one of two identical members removes the one you picked - Collections can be rated and flagged like any other library item
- API
- New collection methods
collections,collection,collection_items,collection_create,collection_edit,collection_delete,collection_addandcollection_remove, with REST paths undercollections/ - New
sonic_matchmethod (RESTsongs/{song_id}/sonic-match) returning songs that sound like a given song, each with asimilarityscore on the OpenSubsonicsonicMatchscale (0.0-1.0, 1.0 being the same recording). It needs a sonic-analysis plugin, and refuses the request with none enabled rather than returning an empty list - v8 API responses are fully documented:
docs/openapi.jsoncarries response schemas for every data type, anddocs/API-JSON-methods.md/docs/API-XML-methods.mdshow per-method response field tables (type, nullable, optional) - Album disks are available to API8 clients (
album_disks,album_disk,album_disk_songs, plusindex,list,browse,statsandget_art). They are what the web interface browses with thealbum_grouppreference disabled, and the API had no way to reach them - API8 song responses carry
bpm
- New collection methods
- BPM
- The
BPMtag is read on scan and kept, instead of being discarded before the catalog saw it.TBPM, the quicktimetmpoatom and the vorbis/APEBPMcomment all land in the same place - A fraction is kept as tagged, since detection tools write one and rounding it away cannot be undone without a rescan
- New
BPMsmart playlist rule underSong Data, so a list can be built from a tempo range - The song page shows it, next to
Channels
- The
- Browse
- Add
addition_timesort to album, album_disk and artist. (A disk has no time of its own, so it sorts on its album’s) - Add
update_timesort to podcast_episode. (The column has existed since750001but was never a sort) - Add
last_playedsort to album, album_disk, artist, podcast, podcast_episode, song and video. Anything never played has no value, so it groups first ascending and last descending - Every browse filter and sort is now documented with what it actually does, what value it takes and which methods use it, instead of a copy of the raw name list. The pages are generated from the query classes by
composer api:docs, and cover thefolder,playlist_searchandsmartplaylistbrowses for the first time - The user browse takes
username,fullnameandemailfilters for one column at a time, beside the existing text filters that match all three at once - The share browse takes the text filters and sorts by the title of the shared object (
name, withtitleas an alias), plusobject_typeanduserfilters. It accepted no filters at all before, and itsobjectsort named a column that does not exist - Sorts a browse listed but never answered to now work:
total_skipon podcast_episode anduserflagon video - The video browse honours
DESC. Every video sort was built without its direction, so the order never changed, anduser_flag_ratingbuilt SQL that could not run
- Add
- Search
- User searches gain
Name,Full NameandE-mailrules.Namematches the username, full name or email at once, the same three columns the user browse searches
- User searches gain
- CLI
- New
admin:exportSchemacommand regeneratesresources/sql/ampache.sqlfrom a clean install; it refuses to run against a database with pending updates - New user commands
admin:deleteUser,admin:enableUserandadmin:disableUser - New catalog commands
run:deleteCatalog,run:enableCatalogandrun:disableCatalog - New
cleanup:enableDisabledcommand re-enables all disabled songs - New
export:catalogcommand writes iTunes/CSV catalog metadata to a file - New module commands
admin:listModules,admin:installPlugin,admin:uninstallPlugin,admin:upgradePlugin,admin:installCatalogType,admin:uninstallCatalogType,admin:installLocalplayandadmin:uninstallLocalplay, backed by a sharedPluginManagerservice the web module pages now use too - New
admin:mailUserscommand sends an e-mail to a user group (all,users,admins,inactive) via a sharedBulkMailerservice - New
admin:clearCachecommand clears the perpetual API sessions (and per-process object caches), andshow:debugprints a headless system/environment status report
- New
- Testing
- Test suite significantly expanded with dozens of new test files under
tests/Moduleandtests/Repository
- Test suite significantly expanded with dozens of new test files under
- Playlist art mosaic
- Automatically generated playlist cover art can now be a mosaic of up to nine covers from the playlist instead of a single random cover
- Playlists with fewer than four distinct covers keep the single-cover behaviour
- Transcoding
- Per-user output-format preferences under Streaming -> Transcoding:
encode_target,encode_video_target,encode_player_webplayer_targetandencode_player_api_target(explicitformat=requests always take priority) - Per-user dynamic downsampling with new
max_bit_rate/min_bit_ratepreferences - Per-player bitrate overrides with the new
transcode_bitrate_webplayerandtranscode_bitrate_apipreferences; either left at0uses the defaulttranscode_bitrate - New ReplayGain output profiles
mp3_rg,mp3_car,opus_rgandopus_car, plus a fragmented-MP4m4aprofile;_rg/_caroutput is never written to the transcode cache
- Per-user output-format preferences under Streaming -> Transcoding:
- Config version 91
- New
encode_args_mp3_rg,encode_args_mp3_car,encode_args_opus_rgandencode_args_opus_cartranscode commands;encode_args_m4anow produces a fragmented MP4 %MAXBITRATE%is documented alongside%BITRATE%and both are substituted as plain bits per second
- New
- Config version 92
- New
allow_lost_passwordoption. Setting it tofalsehides theLost Passwordlink and rejectslostpassword.php, so nobody can trigger reset mail to your users by posting to it directly - New
show_mini_playeroption to hide theMini playerbutton on the login form;/m/stays reachable by url either way
- New
- Add to playlist
- The action is on the artist, smartlist, podcast, podcast episode, radio station and video pages, which only offered the temporary playlist before
- Podcast rows carry it as well, so a whole podcast can be added from a browse the way an album already could
- Moods
- Database 800047
- New
moodandmood_maptables, the same shape a genre has intagandtag_map. OpenSubsonic asks for a list of moods on a Child and an AlbumID3 and Ampache had nowhere to keep one - New
show_moodpreference to show/hide theMoodslink in the main sidebar
- New
- Database 800048
- New
hide_moodspreference to hide theMoodscolumn in browse table rows; it is on by default, so the column is opt-in
- New
- A mood is read out of the file tags on a scan: id3v2
TMOO, theMOODcomment of vorbis and APE, and theab:moodtag AcousticBrainz taggers write. A file carrying both keeps the moods of both. Several in the one frame are split on youradditional_genre_delimiters, soMelancholy;Dreamybecomes two - A video carries its own moods, read from its file on a scan and editable in its dialog, the same as a song
- Album and artist moods are derived from the songs, never from a file of their own. Drop a mood from every song of an album and it leaves the album too
- New browse page at
browse.php?action=mood, a cloud whose buttons filter the songs, albums, artists or videos carrying that mood - The sidebar link appears once something has been scanned; a library with no moods is not offered a link to an empty page
- The song page lists them, and the song, album, artist and video edit dialogs carry a
Moodsfield next toGenres - A
Moodscolumn on the song, album, album disk, artist and video browses, afterGenres, whose values filter the browse the way a genre does - New
Moodsearch rule on songs, albums and artists - Moods you set by hand are written back into the file tags when
write_tagsis on, so the file and the database converge instead of fighting. Albums and artists have no file, so theirs stay derived moodon the song object of the Ampache API (json and xml), andmoodson the OpenSubsonicChildandAlbumID3- NOTE the tables are empty until a catalog is scanned
- Database 800047
- Podcast details can be refreshed from the feed
- New
Update details from the feedaction on the podcast page, next toSync, in the same spirit as the artist’sUpdate details from MusicBrainz - The title, website, description, language, copyright, generator and art were only ever read when the podcast was created, so one that renamed itself or replaced its art kept its original details
- Values the channel does not supply are left alone rather than blanked, and the art is only replaced when the channel advertises one
- Requires content manager access, and asks for confirmation first because it overwrites details you may have edited by hand
- New
- A podcast
Syncshows aStartednotification- The sync fetches the feed and downloads episodes, which can run for minutes, and the request renders nothing back. With no acknowledgement the click looked like it had done nothing, so people pressed it again
- The notification appears as the request goes out, on the
Syncbutton of the podcast page and of a podcast row, and on the episodeSyncthat downloads a single episode Ajax::button()andAjax::button_with_text()take an optionalnoticefor this, so any other long running ajax action can say the same
- A
PHP Modulestable onAdmin -> Server Config -> Ampache Debuglisting every php extension Ampache requires or suggests, whether this server has it, and what an optional one is needed for - Webserver rules that keep private files out of the web root
- Optional hardening; nothing in Ampache needs these rules, so an install without them keeps working exactly as before
public/.htaccess.distrefusesbin,config,docker,docs,locale,node_modules,resources,src,testsandvendor, which sit besideindex.phpwhen you install from a release zip- It also refuses dotted paths such as
.gitand.envat any depth, and leftovers such as.bak,.old,.swp,.sqland.dist;/.well-known/acme-challenge/stays reachable so certbot can still renew ampache.cfg.phpis refused by name from a rule that does not needmod_rewrite, so the config file is not served as plain text if the module is missing- New
-p/--publicoption onbin/installer htaccesswritespublic/.htaccess, which-eon its own still leaves alone; it overwrites the file, so back it up if you edited it - A
RewriteRulewhose substitution is-keeps it when the rules are written for a subdirectory install, instead of being rewritten to a path nothing matches - New
docs/examples/apache-site.conf, a complete Apache 2.4 vhost carrying the same rules, plus php-fpm, websocket and server-sent-event settings, for anyone running withAllowOverride None - New
docs/examples/lighttpd-site.confanddocs/examples/caddy-site.conf, replacing the Caddy v1 sample that has not been valid since 2020 docs/examples/nginx-site.confrefuses the same set, and itstranscode_torules match again
Changed (8.0.0)
- A genre you set by hand survives an update from tags
tag_maphas always had ausercolumn but nothing filled it, so a genre set in the interface lasted only until the next scan re-read the file tags- A genre added through the interface or the api is now attributed to the person who added it, and an update from tags treats it as if it were in the file rather than deleting it
- Removing one by hand still removes it whoever set it, so a manager is not locked out by a user’s choice. Only the tag read is restricted
- User set genres are marked with a
*carrying aUser settooltip, on the pages that render genres as links. The plain text form the edit fields, daap and upnp use is unchanged - Moods work the same way, and the two share the marker
- The artist and album fields of an edit dialog become a search once the list is long
- Both were a select holding every artist or album you could see, built and sent in full every time a dialog opened; past 1000 of them the field is a search box that lists what matches as you type, and under that it is the same select as before
- Picking a suggestion files the item under it; typing a name that is not in the list creates it, which is what the
Add Newoption always did - Both lists now honour the catalog filter, so a user restricted to a filter group is no longer handed every artist and album in the database
SELECT_LIST_LIMITinsrc/Config/functions.phpdecides where the search takes over
- Podcast feed text is stored as plain text
- Feeds routinely put markup in their titles and descriptions, and some escape that markup a second time on the way into the xml. Both used to be stored as-is, so the podcast and episode pages showed
<p>and<br />as words - Paragraphs and lists are kept as line breaks, the remaining tags are dropped and the entities are decoded; the podcast and episode pages render those breaks
- An episode description is cleaned before its length is capped, so the 4096 character limit is spent on text rather than on tags
- Feeds routinely put markup in their titles and descriptions, and some escape that markup a second time on the way into the xml. Both used to be stored as-is, so the podcast and episode pages showed
- A sync refreshes the descriptions of the episodes you already have
- An item the feed still carries used to be recognised and then dropped, so a description was only ever written the once. A feed correcting a typo, expanding its show notes or fixing its own markup never reached the episodes you subscribed to first
- The description is read by the same lookup that recognises the episode and only written when it actually differs, so a sync over an unchanged feed costs nothing extra
- An item that supplies no description leaves the stored one alone, and nothing else about an existing episode is touched: its state, downloaded file, play counts and any edits you made to its other fields stay as they are
- This is also what carries the plain-text conversion above to episodes already in the database
- A feed item with no guid no longer matches the first episode that has none, which silently skipped a genuinely new episode
- The browse filter box matches a name in more than one way
- A Starts With / Contains menu sits above the box; Contains matches anywhere in the name, so a browse no longer has to be abandoned for the search page to find something by a word in the middle of its title
- Only one match applies at a time and the choice is remembered per browse, so emptying the box does not put it back to Starts With
- The private message browse gained the Contains match with everything else
browse_filteris on by default for new installs; existing users keep whatever they have set- The Users admin page lost its own search form, which the filter box now covers exactly: in Contains mode it matches username, fullname or email, the same three columns the form searched
- Playback
- Radio stations, remote-catalog media and song previews stream through Ampache instead of redirecting the client to the source server, so the web player can apply the equalizer, ReplayGain and the visualizer to them
- A radio station may be added as an
m3u,m3u8,pls,asxorxspfurl; the stream url inside it is read when the station is played, so a directory that rotates its mirrors keeps working - NOTE a radio station now uses your server’s bandwidth for as long as it plays
- Wanted albums
- Database 800043
imageaccepts awantedobject type, so a wanted album keeps the cover it gathered instead of asking the art providers on every page load
- The box title is prefixed
Wanted:so an album Ampache does not hold is not mistaken for one in the library - Cover art is searched on artist and album name together; on the album name alone it regularly matched an unrelated release
- The placeholder image fills the art slot when no cover is found, instead of sitting behind the whole box
- The external links sit above the art in one block, the same layout a regular album uses
- The external link row a regular album carries, with Deezer and iTunes searches in place of DuckDuckGo and Wikipedia
- Preview tracks carry play, play next, play last and add-to-playlist buttons instead of listing as plain text
- Garbage collection removes a wanted album once the library holds it, matched on release-group
mbidor on name and album artist
- Database 800043
- Database 800014
- Dropped four redundant
object_countindexes:object_count_full_index(an exact duplicate ofobject_count_UNIQUE_IDX),object_typeandobject_count_type_IDX(leading-column prefixes of that key), anddate(a prefix ofobject_count_date_IDX)
- Dropped four redundant
- Play statistics
- Database 800044
- New
object_count_geo_IDXindex onobject_count.geo_latitude,geo_longitude, so a place name is looked up instead of read by scanning the play history; only matters withgeolocationon - New
object_type_date_IDXindex onuser_flag.object_type,date, so the newest flagged lists stop at the rows they show
- New
- The recently played list picks the users whose history it may show before it reads the play rows, so a user with nothing recent to show no longer walks the whole play history to find that out
- The recent lists read the newest plays in date order and group those, instead of grouping every play ever recorded to sort them
- Play counts for a page of songs or artists are read in one query instead of one per row, when a stats threshold applies
- The democratic cooldown check reads the song ids it needs rather than every column of every play
- Ratings and flags are read for the whole page on the playlist, smartlist, collection, video and live stream lists, and on the items of a playlist or collection, instead of two queries per row
- The newest flagged lists read the newest flags in date order and group those, and the highest rated and newest lists no longer build the counts and dates they never showed
- A random playlist or artist is picked without joining rows the query then has to group away again
- Database 800044
- Caching
memory_cachenow defaults totrue(wasfalse); it batches the per-object lookups a page would otherwise repeat, roughly halving the query count on a large browse- Set
memory_cache = "false"inampache.cfg.phpif you have a very large catalog and a low PHP memory limit — the cache trades memory for queries - Song browse lists prefetch their rows in one query instead of loading each song individually
- Requires PHP 8.5+ (was 8.2+);
ext-fileinfoadded as a required extension - CI now tests PHP 8.5 only (dropped the 8.2/8.3/8.4 matrix); branch triggers repointed to
patch8/release8 phpstan/phpstanandphpstan/phpstan-mockery^1 → ^2;rector/rector^1 → ^2, retargeted to the PHP 8.5 rule set and now also coveringsrc/Config/Initandsrc/Module(skip list gainedsrc/Module/Apiandsrc/Module/System/Update/Migration, alongside the existingsrc/Repository/Modelskip)- Subsonic
- OpenSubsonic is now used by default — any user with
subsonic_legacyenabled has it disabled for them - Catalog ids carry the
mf-prefix used by every other object id, everywhere they appear (musicFolder.id, and theparentof a directory or child); unprefixed ids are still accepted on input - JSON
getMusicFolderssentmusicFolder.idas an integer while XML sent a string; both now send the prefixed string - OpenSubsonic artist responses (
getArtists,getIndexes,getArtist) carry theroleslist (albumartist/artist) so a client can tell an album artist from a song-only artist regardless of thesubsonic_force_album_artistpreference
- OpenSubsonic is now used by default — any user with
- Page navigation uses the History API and real URLs
- The address bar now shows the page you are on (
/browse.php?action=album) instead of a stale path with the real page in the fragment (/index.php#browse.php?action=album), so links can be read, shared and bookmarked - Existing
#bookmarks still work and upgrade themselves to the real url on load - Clicking the page you are already on no longer re-fetches it
- The address bar now shows the page you are on (
- The optional top menu (
topmenu) carries the same entries as the light sidebar, addingAlbums,Smartlists,RadioandLog outalongside the existing links;Smartlistsfollowssidebar_hide_searchandRadioonly appears whenlive_streamis on direct_play_limit: any existing “unlimited” (0) value is reset to a default cap of500tracksplayable_iteminterface split intodisplayable_itemandcontainer_itemas part of a large interface cleanup- The server counts (the totals in the API handshake and on the admin debug page) no longer go stale from an unrecognised table name;
Catalog::count_table()takes a fixed list of countable tables instead of a free-text string - Refreshing those totals no longer re-reads the whole
song,videoandpodcast_episodetables. Each table’s share ofitems,timeandsizeis stored on its own, so one count went from four full table scans to one and a song deletion to none - A song browse reads the artists of every song on the page in one
artist_mapquery instead of one per song; a 50 song page went from 143 queries to 95 - The row count a browse shows above its pages is counted by the database instead of by reading every matching row into memory. Over a million rows that went from 1.42s to 0.08s
- The stored waveform is no longer read alongside a song’s comment, lyrics and replaygain, so a browse stops pulling a blob per song that nothing on the page draws. Asking for one explicitly returns it, so a saved waveform is reused instead of being regenerated from the audio every time
- Internal namespaces reorganised:
Ampache\Applicationis gone (its ajax and upnp applications are nowAmpache\Module\Api\AjaxandAmpache\Module\Api\Upnp), andCatalog, the query engines (Search,Smartlist,Query,Random,Browse), the persistence base classes (database_object,BaseModel) and the service classes (Art,Preference,Plugin,Rating,Userflag,Useractivity,Democratic,Tmp_Playlist,User_Playlist) have all leftAmpache\Repository\Modelfor their own domains, which now holds only entities, their contracts and their enums. The api version 5, 6 and 8 output formatters,Upnp_ApiandStatsare container services rather than static classes, and the per-type search rule builders followed the query engine intoAmpache\Module\Database\Search.QueryandBrowseswapped the parts each held that belonged to the other, soQuery::sql_sort_video()is nowVideoQuery::get_sql_sort()andQuery::set_is_simple()is gone in favour ofset_simple_browse(). Only relevant if you carry local patches - API version 8 has been added to the list of API versions
- Docker: build using
docker/Dockerfilephp85 - Theme
- Home Dashboard (
homedash) rows stay on a single line and clip at the edge instead of wrapping to new lines - Personal Favorites (
personalfav) list scrolls horizontally instead of wrapping
- Home Dashboard (
- Plugins
- New installs enable the
Home Dashboard,Catalog FavoritesandPersonal Favoritesplugins - New installs disable
home_moment_albumsandhome_moment_videos; the home plugins cover the same ground - Existing installs keep whichever plugins and home settings they already have
- New installs enable the
composer syntaxnow runs a cross-platform PHP linter (resources/scripts/tests/syntax.php) so the check works on Windows (replacessyntax.sh)- Transcoding
- Bitrate preferences (
transcode_bitrate,max_bit_rate,min_bit_rate) are stored and shown in bits per second (bps); existingtranscode_bitratevalues are migrated on database update 800018 - Every rate value is now bits per second. The
maxbitratestream URL argument and the API8user_editmaxbitrateparameter were previously kbps while everything around them was bps; API6 and older keep kbps, and SubsonicmaxBitRatestays kbps as its specification requires encode_args_tsdrops theksuffix from-maxrate %MAXBITRATE%to suit. NOTE updateencode_args_tsif you have overridden it in your ownampache.cfg.php- Bitrate units are now documented in
docs/openapi.jsonand the API method tables; none of thebitrate/maxbitratearguments previously stated a unit encode_target,encode_video_targetand the per-playerencode_player_*_targetsettings moved fromampache.cfg.phpto per-user preferences (config values now only seed the default on upgrade)
- Bitrate preferences (
- Official release downloads are built with
composer install --no-dev, so they contain no dev package. Anything optional that lives inrequire-devhas to be installed yourself - Statistical Graphs
- Charts are drawn by
goat1000/svggraph(LGPL-3.0) instead ofszymach/c-pchart, which is a normal requirement rather than a dev one, so graphs work in a release download with nothing extra to install - Graphs are SVG instead of PNG and no longer need
ext-gd; they scale to the page and stay sharp on a high-dpi screen - Charts are grouped bars rather than lines, and each bar is a time bucket labelled at the zoom level you asked for
- Charts are drawn by
- Labels
- Label pages gain an Albums tab listing the releases associated with the label, alongside the existing artists and songs
- Placeholder publishers read from tags are no longer imported, and the catalog clean up removes the ones earlier scans created; a label a user entered by hand is never removed
- Config version 95
- New
label_ignore_patternoption; a regex matched against label names read from tags, so[no label],Not On Label (Artist Self-released),Self-Releasedand fragments holding fewer than two letters or digits never become labels. It replaces the shipped default rather than adding to it, and(?!)keeps every name
- New
- Config version 94
- New
playlist_art_mosaicoption; set it tofalseto keep a single random cover for playlist art - New
playlist_art_mosaic_fallbackoption (defaultfalse); when on, a playlist with no art of its own gets a generated mosaic instead of the blank placeholder, stored as that playlist’s art so it is only built once
- New
- Config version 93
statistical_graphsnow defaults to"true"; it was only off because of the c-pchart licence. Set it to"false"to skip the graph queries entirely on a large catalog
Removed (8.0.0)
api_debug_handlerconfiguration option and its handling removed entirelyszymach/c-pchartdependency dropped, along with thepGraph_Yformat_bytes()helper it neededresources/fonts/FreeMono.ttf, left behind wheneasy_captchawas removed;gregwar/captchaships its own fonts- Unused legacy OAuth implementation deleted (
OAuthDataStore,OAuthServer,OAuthSignatureMethod_PLAINTEXT,OAuthSignatureMethod_RSA_SHA1) - The
ext-pthreadssuggestion, along with the unreferencedScrobblerAsyncclass that was the only thing to ever extendThread; the extension has no PHP 8 support and needs a thread-safe (ZTS) build that no distribution ships docker/Dockerfilephp82,Dockerfilephp83,Dockerfilephp84removed (replaced byDockerfilephp85)- The periodic count sweep (
Catalog::update_counts()) is gone, along with the 30 minute timer it kept inupdate_info. Counts are maintained as things change and repaired by garbage collection (bin/cli run:updateCatalog -g), so they are no longer stale between sweeps - The
7digitalpreview plugin, whose api no longer exists.Song previewis now provided by the newiTunesandDeezerplugins - Database 800040
- The
7digital_api_keyand7digital_secret_api_keypreferences are removed
- The
- The popup web player is removed (
web_player.php,create_web_player.inc.php). Playback is always the embedded player at the bottom of the page. NOTE if you used the popup to keep the player in a separate window, there is no replacement for it - Database 800039
folderrows holding a bare directory name are removed; the next catalog scan recreates them with their real path
- Database 800038
object_countgains the missingpodcastrows for episode plays recorded before podcasts were counted- The
update_countsrow is removed fromupdate_info; it timed a sweep that no longer exists
- Database 800020
- The
webplayer_html5preference is removed; HTML5 is the only remaining web player
- The
- Database 800022
- The
ajax_loadpreference is removed. It never controlled page loading; what it did was select the popup web player above and silently switch off play-next and append - Rolling back to Ampache7 restores the preference, the same as any other removed one
- The
Fixed (8.0.0)
- A PHP deprecation is logged as
Deprecatedat warning level instead of as anError, so a dependency that has not caught up with the PHP floor no longer fills the log with errors - A preference reaches the server as the type it declares: an integer preference is an int and a boolean one a bool, instead of the string every value is stored as
- The API3
statsmethod answered with an error instead of a list of random albums when nolimitwas given - Subsonic
getSimilarSongs,getSimilarSongs2,getArtistInfo,getArtistInfo2,getNewestPodcastsandgetTopSongsfailed whencountwas not a numbersetRatingwith a non-numeric rating removed the rating instead of refusing it- A Subsonic catalog logged
Unable to insert song - %swithout the file path it was reporting updateShareanswered with success when the share belonged to another user, having changed nothing
- The admin
Enable Disabledaction and external share creation failed on their own inputs - The rest/.htaccess configured? and play/.htaccess configured? checks report a file left over from an older release, rather than only testing the web path prefix on whatever rules it already has. A file that has never been written reports as unconfigured instead of as configured
- Sorting the combined playlist and smartlist list by
last_countanswered with an error instead of a list. The union it reads never carried the column it sorts on, though both tables have it - The followers list is the accounts doing the following. It was built from the ids of the follow records, so it could name people who follow nobody
- Sorts a browse implemented but never offered, so clicking the column did nothing:
idon broadcast, private message, share, shoutbox and wanted,release_dateon video,titleon genre and mood, andgenreon genre.from_useron private messages andusername,last_seenandcreate_dateon followers are new, and the private message browse takes theequal/exact_matchfilters it already implemented - Sorting a browse by a column reached through a join emptied the list, when the column before it was sorted by a different join. Sorting an album list by Artist was the common way in
- An album sorted by a column its artists or songs are reached through listed the same album once per artist or song it has
- The current playlist on the Localplay page was drawn outside the Localplay Control box it belongs in, leaving the page with three unbalanced closing tags
- The Popular Album Disks list was always empty, however much a disk had been played
- Rating and flag lists for genres, collections, podcasts and live streams failed with
catalog_filterenabled - The newest list for a genre, a live stream or a collection came back empty
- Retagging a song to drop one of its artists left that artist holding the plays it had gained from that song
- The broadcast button took two clicks to show its menu on a scrolled page, and the menu opened below the fold. The popup dialogs no longer navigate, and the broadcast one is placed against the window so it tracks the button in the fixed player
- The websocket server logged a dozen PHP 8.5 deprecation errors on every connection, drowning the broadcast log;
cboden/ratchetmoves to the0.4.xbranch, which supports PHP 8.5, andratchet/rfc6455to v0.4.1 - A database connection dropped by the server (idle timeout, restart, killed thread) was kept and reused, so every following query failed with
MySQL server has gone away. Long running processes suffered worst: the websocket server could not register a broadcast or authorise a listener once its connection had timed out - Turning on
album_art_store_diskwithout settinglocal_metadata_dirhid every cover; the art was still written to the database but only ever read back from disk- Thumbnails took the same route and were rebuilt from the original on every request instead, so a browse page resized every cover it showed, every time it was drawn
- Art stored for something that is not a library item, such as a wanted album, returned an empty image
- Uploading a file with an album name always failed after the file had been copied into the catalog, leaving it on disk but absent from the library
- Batch download was refused for every object type unless
allow_zip_typesnamed them; leaving it unset now allows all supported types, asampache.cfg.php.distdocuments - Settings that exist as both a config option and a preference read the config file value, ignoring the preference;
Allow Downloadshad no config option at all, so batch download stayed off however it was set - Deleting a catalog filter from a link that carried no filter name confirmed it with a blank name and logged a runtime error; the confirmation now reads
Catalog Filter - A media file with no readable artist tag is imported under
Unknown (Orphaned), the same placeholder an untitled album already uses; such a file could never be added before - A song preview is played straight from the provider’s url instead of being proxied through Ampache, so no preview traffic passes through the server
- Grid views (including the mashup dashboards) dropped the play and add buttons from any tile holding more items than
direct_play_limit, shifting the rest of that tile’s controls out of place. A tile always carries its full set; the limit still applies in the list views - Cleaning a remote, Subsonic, Dropbox or Seafile catalog removed songs without recording them in the deleted-song archive, so they could not be restored and left no trace; they are archived the same way a local catalog’s are
- Adding a second Beets (remote) catalog for a URL that already had one was allowed; the duplicate check looked in the wrong table for a column it does not have
- Ampache Remote Catalogs
- Cleaning a remote catalog deleted every song it could not confirm, so a server that was unreachable, or answering an expired session or a permission error, emptied the catalog; only a
Not Foundreply removes a song now - A clean that loses contact with the remote server stops and keeps the songs it has not reached yet, instead of working through the rest of the catalog
- Cleaning a remote catalog deleted every song it could not confirm, so a server that was unreachable, or answering an expired session or a permission error, emptied the catalog; only a
- Moving a file between catalogs (
run:updateCatalogFile -m,run:updateCatalogFolder -m)- The album or podcast moved catalog as soon as the first of its files did, rather than once the rest had followed
- A moved podcast wrote its new catalog to the
albumtable - The album’s and podcast’s
catalog_maprows were rewritten under the media type instead of their own
- Renaming a file into another catalog (
run:updateCatalogFile -r) updated the mapping but not the stored path, leaving the row pointing at the old file - Importing a playlist that links to this server accepted every song id, existing or not, so a dead link became a dangling playlist entry
- Folder browsing and folder play counts, which have never worked
- The scanner stored a folder’s bare directory name in
folder.path_nameinstead of its path, so no song was ever mapped to a folder: every folder wasplayable = 0and none gained a play count - Reading a folder’s modification time failed for the same reason, logging a
filemtime(): stat failedruntime error per folder on every scan - A folder’s play count sums its whole subtree, which is what a play records; it was rebuilt from the media mapped directly to the folder while a play increments every parent
- The scanner stored a folder’s bare directory name in
- Play counts
- Clearing statistics left every play count standing; only the
playedflag was reset, and that was tested against the count it had not cleared - Deleting a play from your history recorded a skip for it, so removing plays inflated skip counts
total_skipon an episode or a video that was only ever skipped was wiped- A multi-disk album took one disc’s skip total instead of the album’s
- Server totals (
album,album_disk,artist,catalog,label,license,tag,items,time,size) were only correct for up to 30 minutes at a time; they are maintained as things are added and deleted, and repaired by garbage collection Catalog::get_videos_count()raised an unknown-column error for any catalog id
- Clearing statistics left every play count standing; only the
- Adding a catalog stopped at the first WMA file carrying a boolean ASF tag (
IsVBR), leaving the rest of the catalog unscanned - One unreadable file no longer stops a catalog add, verify or folder scan. Only a failure raised as an exception was skipped, so a file whose tags produced a type error ended the whole run instead of that file
- A user who kept a preference row left behind by a much older version was never given the preferences added since. The repair pass finds users by how many preferences they hold, and the stale rows made up the difference; they are now cleared before the count is taken
- Verifying a catalog larger than 10000 items with
catalog_verify_by_timeenabled checked the first 10000 over and over once everything was already up to date, leaving the rest of the catalog unverified. Each pass now takes the next page - Moving an album’s files to another catalog left a second copy of every disk behind in the old one, which the disk browse listed alongside the real one. Garbage collection matched a disk on its album and disk number but not its catalog, so the leftover never qualified
- Deleting an entry from the Recently Skipped list removed it from the history but left the skip counted, so the count kept climbing away from the list it was drawn from. Deleting a download still leaves every counter alone, as before
- User avatars were served by the generic art handler on an install in a subdirectory, because the rewrite that routes them tested for
/image.phpat the web root. The.htaccessfiles are rewritten for your web path on write, but only the rules, not their conditions - Database
- The missing table check reports and recreates tables again. It only ever looked at migrations that had yet to run, while a table is only claimed once its own migration has passed, so the two never met and nothing was reported at any version
object_count_summaryandobject_count_archiveare covered by that check, which they were not before
- Unexpected errors from an API method were logged as a bare message with no file or line, leaving nothing to locate the cause by
- Pages that stopped part way through and returned a blank or half-written page, because an uncaught error is logged and swallowed rather than shown
- The embedded web player (
web_player_embedded.php) and the video page, when opened without aplaylist_id; the player gets an empty playlist instead - Generating a video preview image for a video id that is not in the database
random.php?action=get_advancedwith an emptytype; an empty or unknown type falls back tosongalbums.php?action=show_missing, when a MusicBrainz release-group lookup answered withouttitle,first-release-dateorreleases- A missing artist page with no musicbrainz id
- Selecting cover art once the session’s candidate list had expired; the choice is checked and you are returned to the previous page instead
share.php?action=external_sharewith nopluginnamed; the request is refused up front instead
- The embedded web player (
- Unexpected errors that left you looking at a blank or half-written page
- A page handler that throws now shows a generic error page linking to the debug page (
test.php); ajax calls, media streams and API clients are left with their own payload - A startup failure that none of the init handlers expected redirects to
test.phprather than ending the request silently
- A page handler that throws now shows a generic error page linking to the debug page (
- A database with no tables in it (a valid config pointing at an empty database)
- Instead of a half-loaded page and a log full of missing table errors, you are sent to
test.php, which names what is missing update.phpredirects there as well, rather than rendering a page it has no version to fill inbin/cli admin:updateDatabasereports it instead of ending in aQueryFailedExceptionstack trace
- Instead of a half-loaded page and a log full of missing table errors, you are sent to
- Right click (
libitem_contextmenu) actions on a browse row- A row states its identity with
data-object-typeanddata-object-id; the menu used to cut the row id at the first underscore, readingpodcast_episode_5as podcast #episode - Album disk rows, in both the browse and “Albums of the Moment”, were labelled as albums, so the menu (and the inline refresh after an edit) went after the album that happened to share that id
- Favorite Lists on the home page labelled a smartlist as a playlist, so the menu played whichever playlist shared its id
- Podcast and podcast episode rows had no menu at all
- Stray empty menu wrappers in the album, album disk and folder browse headers opened a menu that could do nothing (and were invalid HTML inside a
<tr>)
- A row states its identity with
- Collections
- The song list carried the playlist reorder (drag) column, although a collection cannot be reordered from the web interface
- The delete action ran through a
javascript:url; it is a plain link now, so the confirmation and the following navigation behave like every other delete
- On a podcast page the “Add All to Temporary Playlist” and “Add to playlist” buttons shared their element ids with the episode row of the same number, so clicking one could fire the other’s action
- Repeated queries on every page
- The installed-plugin version lookup read the whole
update_infotable once per plugin; it is read once per request and only for thePlugin_keys - Editing a song rebuilt the entire
Songobject — a three table join — once per field changed, only to re-check who uploaded it; the uploader is read once per save - Every model’s
build_cache()ran its batch query and then discarded the rows whenevermemory_cachewas off, leaving the per-object queries to run anyway; it now returns before querying
- The installed-plugin version lookup read the whole
playlist_createon API3 recorded the server playlist count before inserting the row, so the stored total was one short until the next playlist create or delete corrected it- Deleting a label left its
label_assorows behind, so a later label created with the freed id inherited that label’s artists; the clean up now sweeps associations whose label is gone - Url shortener plugins (
bitly,yourls) were never applied to share links - Plugins
- The Discogs plugin never returned album or artist art; it only searched when it was handed
albumartistandalbum, orartist, and art gathering sends the name it wants astitle - Asking Discogs for album art offered the artist’s image instead
- The Discogs plugin never returned album or artist art; it only searched when it was handed
- The catalog files and catalog size graphs only drew the time buckets that gained a file, so a library added in a single scan was one point however wide the date range; they carry the running total across every bucket in the range
- The running total those graphs start from ignored the catalog and object filters, so a graph for one catalog counted every earlier file on the server
stats.php?action=graphrendered graphs without checkingstatistical_graphsfirst, so it ignored the setting and was a fatal error whenever the charting library was absent- The catalog size graph was empty until a second time bucket existed
- The catalog size graph read zero for
object_type=album - Uploading art, an avatar, a playlist or a podcast import file stopped the web player, because a form carrying a file fell back to a full page load
- The
Ignorelink on the update available notice stopped the web player; dismissing the notice only clears the stored version, so it no longer reloads the whole page to do it - The
Selecttoggle on the admin Disabled Songs list called acheck_select()function that was defined nowhere, so it silently did nothing - Updating the sources from the web interface reported success when it had not worked
composer install,npm installandnpm run buildran with their exit status discarded, so a failed dependency install left a pulled-but-unbuilt install with no error anywhere. The status is checked, the output is logged in full and shown, and a failure keeps you on the update pagenpmfailed outright whenever the web server user’s home directory was not writable; its cache is pointed at a writable onenpm installnow installs the dev packages explicitly — thepostinstallandbuildscripts that produce every shipped asset live there, so a server withNODE_ENV=productionbuilt nothing- The update is refused up front, before the sources are pulled, when
exec()is disabled or when the checkout,node_modulesorvendorcannot be written by the web server user - Dependencies were installed with
--prefer-source, which checks out every package as a git working tree;--prefer-distis used instead - A dirty vendor checkout is restored before the install runs; composer refuses to remove a modified source install, so a
composer_no_devupdate aborted while stripping the dev packages and leftvendorincomplete - A finished update returns you to the page it was started from instead of the home page, where it used to land nowhere at all
- The
Viewmenu on a playlist’s items did nothing until the page was reloaded, soPages,Infinite Scroll,AlphabetandMulti-Selectall looked broken - Smartlist art was never gathered from the songs it matches; only a playlist took that path, so a smartlist fell through to the configured art providers and found nothing
- With
album_art_store_diskenabled, the art picker could not read any cover a playlist offered from one of its members; the file was looked for under the type being gathered for rather than the type the image row belongs to - Database 800049
- A genre set on a broadcast is saved and shown. The edit dialog has always offered the field, but
tag_map.object_typehad nobroadcastvalue, so nothing was ever stored against the broadcast - The rows those saves wrote instead name no object at all and are removed; they held a genre alive that nothing was using
tag_map.object_typeanduser_activity.object_typeaccept afolderon an install seeded fromampache.sql, which had never received the widening every other table got in 800004
- A genre set on a broadcast is saved and shown. The edit dialog has always offered the field, but
- An update from tags leaves a song with no album tag alone instead of rewriting it every scan. Untagged songs by different artists share the one
Unknown (Orphaned)album, and each scan handed that album to the artist of whichever song it read last - A genre spelled in a different case in the file tags no longer re-applies the album and artist genres on every update from tags
- Database 800023
- Uploaded art took its mime type from the filename, storing
image/jpg(not a real type) for a.jpgupload andimage/JPGfor.JPG; the type is now read from the image data and existing rows are corrected - Where the same artwork was stored twice under both spellings the
image/jpgrow is left as it is, becauseunique_imageincludesmimeand no art is deleted during an upgrade
- Uploaded art took its mime type from the filename, storing
- Localplay
- MPD
statusno longer throws a runtime error when the controller is unreachable or returns no status - An unreachable controller (MPD, VLC, httpQ) no longer surfaces a raw
fsockopen()connection warning - An active-instance preference pointing at a deleted instance falls back to an available one instead of failing to connect
- The control panel updates the reported volume, playback state and track after every command, not just mute/repeat/random
- Playlist items resolve the song from its stream url even when
stream_beautiful_urlis off, so they show the real title/artist/album instead of the raw play url - An empty controller playlist was reported as a controller error
- The repeat and random toggles failed when their request arrived without a
value - The add and edit instance forms turn browser autocompletion off, so a saved site login is no longer offered for a controller’s host, port and password fields
- MPD
- A lyrics plugin that cannot reach its service no longer holds the page open until PHP gives up;
LrcLibconnect and request timeouts are capped, and a plugin that throws is logged and skipped so the next one is still tried - Ajax actions returning an HTML fragment (
get_share_links,show_broadcasts) kept the XML ajax headers, includingContent-Disposition: attachment; filename=ajax.xml, so a browser could offer the fragment as a download instead of rendering it - Light sidebar can scroll to reach its bottom entries on short screens
- AJAX actions returned a server error instead of updating the page
- Setting a favorite
- Selecting a catalog in the browse filter box
- Deleting a genre
- Removing a track from a playlist, and adding items to an existing playlist
- Enabling or disabling a song
- Database 800012
useronobject_count,user_activity,user_dataandnow_playingcould still beUNSIGNEDon upgraded databases, so the system user (-1) was stored as0- Plays from a share recorded against user
0are moved to the system user (-1) so they appear in Recently Played
- Subsonic
getArtistsignored the user’s catalogs entirely and returned every artist on the servermusicFolderIdwas ignored bygetStarred,getStarred2andgetSongsByGenremusicFolderIdwas ignored bygetAlbumList/getAlbumList2for therandom,highest,frequent,recent,starred,byYearandbyGenretypes- A
musicFolderIdnaming a catalog the user can’t browse returned everything instead of nothing hls.m3u8answered with an error; the endpoint is named with the suffix in the Subsonic specification, and only the suffixlesshlswas served- An object deleted since the id list was built is left out of the response instead of being returned as an entry with no name or content;
getGenresandgetInternetRadioStationswere the most visible, along with the song results ofsearch2/search3
- User avatars requested through a
/play/art/{sid}/user/{id}/...url were always denied whenpublic_imagesis disabled; theuserrewrite rules dropped theauthparameter the other art rules pass on - Upload
- The artists of an uploaded song are mapped to the upload catalog as the song is added, so a new one is no longer missing from an artist browse filtered to that catalog until the next catalog update
- Uploading several files by the same new artist created a duplicate artist for each file, because the uploads run in parallel; a new album was duplicated the same way
- Uploading several files sharing a genre that was new renumbered that genre once per file, so every genre already given to a song was left pointing at a row that no longer existed
- Rating or favouriting a playlist, collection, folder, search or live stream logged an SQL error on every click
- Search
- The
does not sound likeoperator returned nothing on theGenre,Song Genre,Album Genre,Artist Genre,Playlist Name,Song ArtistandAlbum Artistrules Another Userrating rules (has rated 5 stars..has not rated) returned nothing on album, album disk, artist, podcast and podcast episode searches, and on the songAnother User (Album)/Another User (Artist)rulesMy Favorite SongsandMy Favorite Artistsreturned nothing on album, album disk and artist searches- The playlist
Ownerrule offered rating operators instead ofis/is not, so it never matched an owner - Album disk searches ignored the
Added,Updated,Duplicate TracksandSmart Playlistrules - Podcast and podcast episode searches ignored the
Recently Playedrule - Artist searches on
Image WidthandImage Heightreturned nothing - The genre search offered two rules both labelled
Album Count; the second is the artist count and now saysArtist Count - The genre rules counting a genre’s own contents shared their labels with the object’s own counts, so an artist search offered two
Song Countrules. They are nowSong Count (Genre),Album Count (Genre)andArtist Count (Genre)
- The
- A stream that could not be opened answered
200with an empty body, which a player reports as a corrupt or unsupported stream instead of a server error; it now answers500 - A transcode requested while no
transcode_cmdis configured is logged as an error instead of at the most verbose debug level, where the reason nothing played was effectively invisible - Song duration
- A file carrying an ID3v2.3
TIMEframe was given that frame’s recording time of day as its duration, so a 98 second track was imported as 2019 seconds - Durations are read from the file rather than estimated from its size and bitrate, which counted anything stored after the audio (APE cover art, for example) as playing time. The estimate is kept for remote catalogs and files with no readable duration
- A file carrying an ID3v2.3
- Browse
- Filtering a song list from the sidebar
Filtersbox dropped the track numbers and the#sort column and brought back the columns the page had hidden, on the album, album disk, playlist, podcast and label pages - The
Limitbox and the song list’sYearsort header lost the same columns
- Filtering a song list from the sidebar
API 8.0.0
This version is being developed for Ampache8 (develop branch) only and is not yet released.
API version 8 joins the concurrent live surfaces (3/4/5/6 — version 7 remains unused/unsupported), built on the MethodInterface/DI method pattern.
Added (800000)
- ALL
- Request parameters for
POST/PUT/PATCH/DELETEmay now be supplied in a JSON body (Content-Type: application/json), in addition to the existing query-string and form-encoded (application/x-www-form-urlencoded) support - New API version
8added toApi::API_VERSIONS;Api::DEFAULT_VERSIONbumped6→8 - New
Api8method surface (132 methods) undersrc/Module/Api/Method/Api8/, implemented againstMethodInterfacewith dedicatedJson8_Data/Xml8_Dataoutput classes ApiOutputInterface(and itsJsonOutput/XmlOutputimplementations) reworked onto a single version-parameterized method per concept —albums(int $apiVersion, ...),error(int $apiVersion, ...),podcastEpisodes(),setCount(),setLimit(),setOffset(),success(),writeEmpty()— replacing the previous pattern of a separatexxx()/xxx6()method pair per API version
- Request parameters for
album/albums/podcast_delete/podcast_episodes(API3, API4, API5)- Converted from legacy static methods to the
MethodInterfacepattern (matching the API6/API8 conversion above); the existingfilterpresence and object-exists checks are preserved, only the error codes changed (seeALL (internal)under Changed)
- Converted from legacy static methods to the
- REST
- New
foldersaction (Folders8Method) for browsing the catalog’s virtual folder tree;filtertakes either a folder id or a path name, so REST pathsfolders,folders/{folder_id}andfolders{path}all reach it - New
playlist_removeaction (PlaylistRemove8Method)
- New
upload(API8 only)- New
uploadaction adds a media file to the catalog named by theupload_catalogpreference, so uploading is no longer web-only - The file is sent either as a multipart form field named
upl, or as the raw request body withfilenamenaming it - Optional
license,artist_id,artist_name,album_idandalbum_namebehave exactly as the web upload form does, including refusing an artist or album owned by another user - Requires the
allow_uploadpreference and the access level named byupload_access_level; a file that fails to be added is removed from the catalog directory again
- New
collection(API8 only)- New actions
collections,collection,collection_items,collection_create,collection_edit,collection_delete,collection_addandcollection_remove. A collection is a hand-curated list of objects of any type, so it is the way to curate anything a playlist cannot hold; the members are not restricted to media collection_createtakes an optionalobject_typethat pins the collection to one type, after whichcollection_addrefuses anything else. Leave it out for a mixed collection- A collection is ordered, and the order is part of the data.
collection_itemsreturns the members as one flat list undercontentsin curated order, each entry carrying itstrack(1-based position), itstrack_id(the membership row) and itsobject_type, with that type’s own object nested under a property of the same name. A grouped-by-type response cannot express the order of a mixed collection, so it is not used. The scalaritemsremains the total member count and is not reduced byoffset/limit collection_editgains paireditems/tracksparameters that reorder members exactly the wayplaylist_editdoes — each pair puts one member at one position — so a partial or a whole reorder is one call. Because a collection is heterogeneous, each entry initemscarries its type asobject_type:object_idcollection_addappends to the end, so it never disturbs the order of what is already there- A collection you cannot see reports not found rather than access denied, so a private collection’s existence is not confirmed to a stranger
- Duplicate members are governed by the user’s existing
unique_playlistpreference rather than by a collection-specific rule or a database constraint; it is off by default, so a collection may hold the same object twice by default, matching playlists. With it on,collection_addrefuses a repeat with an error instead of silently doing nothing collection_removeaccepts atrackposition as well as anid/object_typepair, because a position is the only unambiguous address once duplicates are possible. A position removes exactly one member; an object removes every member pointing at it. Either way the remaining positions close up, so they stay dense and 1-based.collection_removestill does not error on a non-member- Both name the member’s type
object_typerather thantype, because the REST path already spendstypeon the resource name and the two would collide in the same query string - REST paths
collections,collections/{collection_id}andcollections/{collection_id}/items
- New actions
playlist_folder(API8 only)- New actions
playlist_folders,playlist_folder,playlist_folder_items,playlist_folder_create,playlist_folder_edit,playlist_folder_delete,playlist_folder_addandplaylist_folder_remove. A playlist folder organises playlists, smartlists and collections into a tree of arbitrary depth - The tree is private to each user, and where a list sits belongs to the pair of you and that list rather than to the list itself. So you may file another user’s public playlist into your own folder without changing anything for them, and two users can file the same playlist in different places
- A list is in exactly one of your folders at a time: filing one that is already filed moves it rather than copying it
- The root is implicit and holds every list you can see that has not been filed elsewhere. Nothing is stored when a playlist is created, so it appears at your root immediately, and it reappears there when it is taken out of a folder. Address the root as
0or/ playlist_foldersreturns the whole tree as one flat list; rebuild the hierarchy from each folder’sparent, where0is the root. A folder belonging to another user reports not found rather than access denied, so a stranger cannot probe for onefiltertakes either a folder id or a name path, so REST pathsplaylist-folders/{playlist_folder_id}andplaylist-folders/Rock/Liveboth reach the same folder. A folder name may not contain a/for that reason, and must be unique among its siblings — the comparison is case-insensitive, soRockandrockcollidesort_orderis client-assigned and shared by a parent’s folders and its filed lists, so the two interleave in one ordering space; ties are broken by name. Positions are left exactly as sent rather than renumbered, so gaps are preservedplaylist_folder_editrefuses a move into the folder’s own subtree, which would otherwise detach the branchplaylist_folder_deleterefuses a folder that still holds a child folder or a filed list; the lists themselves are never deleted with it, so a folder is emptied by moving its contents out firstplaylist_folder_itemsreturns the members as one flat list undercontents, each entry carrying itssort_orderand itsobject_type(playlist,smartlistorcollection) with that type’s own object nested under a property of the same name- REST paths
playlist-folders,playlist-folders/{playlist_folder_id},playlist-folders{path}andplaylist-folders/{playlist_folder_id}/items
- New actions
sonic_match(API8 only)- New action (
SonicMatch8Method) returning songs that sound like the song infilter, each carrying asimilarityscore. Similarity comes from analysing the audio, which needs a sonic-analysis plugin, so with none enabled the request is refused (4703) rather than answered with an empty list. The score shares the OpenSubsonicsonicMatchscale — 0.0-1.0 where 1.0 is the same recording, and -1 when the backend gives no comparable score — so a client reads the same number from either API. REST pathsongs/{song_id}/sonic-match
- New action (
random(API8 only)- New action (
Random8Method) that picks a random object and redirects (302) to its stream url — mirrorsstream’s params (bitrate/format/offset/stats, song only). API8 only: API6 is shared with Ampache7, which does not serve it typetakesalbum,album_artist,album_disk,artist,catalog,favorite,genre,label,playlist,podcast_episode,rating,search,song,song_artistorvideo; a container type resolves to a random song from within itgenrematches the song’s own tag, as a song browse does — an album or artist tag is not inherited.labelaccepts either the artist or the album association recorded inlabel_assofavoritepicks from the songs you have flagged, andratingfrom the songs you have rated. Both read the song’s own flag or rating; a flagged album does not make its songs favourites- NOTE
favoriteandratingreadfilteras a flag or star value rather than an object id —favorite:1or omitted for flagged,0for not flagged;rating:1-5for that many stars or more,0for unrated, omitted for any rated song filternames that container.artistaccepts either artist credit, wheresong_artistandalbum_artistnarrow it to one- NOTE
filteris read against the table named bytype, and those id spaces overlap — an album id and an album_disk id of the same number are different objects
- New action (
download(API8 only)- New
zipparameter: whentype/filteridentify a container object (album,artist,playlist,podcast) and zipping is enabled (ZipHandlerInterface::isZipable()), downloads the whole container as a zip instead of a single stream redirect — reuses the sameZipHandlerInterfaceused by thebatch.phpGUI download
- New
share_create(API8)- Object
typevalidated viaLibraryItemEnum::tryFrom()againstShare::VALID_TYPES, checked after theplaylist/smartlist→searchremap
- Object
- OpenAPI / response schemas
docs/openapi.jsonnow definescomponents.schemasfor every v8 data type (album,song,artist,playlist,podcast,podcast_episode,video,genre,label,live_stream,catalog,license,share,bookmark,user,song_tag, the per-typedeleted_*items, and thebrowse/list/now_playing/activity/shoutwrappers) and wires each into its200response, replacing the placeholdertype: object; every field documents its type and whether it is optional/nullabledocs/API-JSON-methods.mdanddocs/API-XML-methods.mdgain a generated per-method response field table (field, type, nullable, optional) with links between related objects- New
docs/openapi-6.json, a spec pinned to API6 for contract testing a single version. It documents only the surface Ampache7 and Ampache8 both serve: no API8-only paths (/folder,/folders,/playlists/{playlist_id}/remove), no/random(API8 only), no error status codes (API3-6 always return HTTP 200 with the error in the body), response schemas from theJson6_Databuilders, andmaxbitratedocumented as kbps - New
tests/Module/Api/Api6SpecConformanceTest.phplocks that contract: it fails if a documented path leavesApi6::METHOD_LIST, if an error status code appears, if a$refdangles, or if an object’s fields drift from the matchingJson6_Databuilder. This is what stops API6 changing between Ampache7 and Ampache8 Json6_Data::songs_array()gains the@returnarray-shape docblock the other builders already carry. It records the two real differences from API8:catalogis an int (a string in API8) and metadata fields are top-level keys (nested undermetadatain API8)- Response schemas for
democratic,handshake,ping,playlist_generate, the preference endpoints (user_preference,user_preferences,system_preference,system_preferences),url_to_songandsystem_update streamanddownloadare documented as the302redirect they actually return (downloadalso documents thezip=1archive body), andget_artas an image body, instead of an undescribed200. Each names the headers it sets:Locationfor the redirects,Content-Type/Content-Dispositionfor the zip, andContent-Type/Content-Length/Access-Control-Allow-Originfor art- Response schemas for
search,stats,get_similar,followers,following,localplay,get_lyrics,get_external_metadata,playlist_hash,player,registerand every create endpoint (bookmark_create,catalog_create,live_stream_create,playlist_create,podcast_create,share_create) - 145 operations now carry a schema, leaving only the binary media endpoints undocumented - New
resources/scripts/api-docs/check_openapi_examples.py, which fails when an inline example indocs/openapi.jsoncontradicts the schema its operation is wired to - Response schemas for
album_disks/album_disk/album_disk_songsandlocalplay_songs, generated from theJson8_Data::album_disks_array()andLocalPlay::get()docblocks; every documented path now carries anx-rpc-mappingsentry randomdocuments thefilterparameter and all seventypevalues it accepts (artist,album,playlist,podcast_episode,search,song,video); only three were listed
album_disk(API8 only)- New
album_disksaction returning the disks of an album (filteris the album id, the counterpart ofalbum_songs) - New
album_diskaction returning a single album disk, andalbum_disk_songsreturning the songs on one disk album_diskaccepted byindex,list,browse,statsandget_art.rateandflagalready accepted it- Album disks are the browsing unit whenever the per-user
album_grouppreference is off, so a client can now reach the same objects the web interface shows.albumsandalbumare unchanged and never vary with that preference
- New
song(API8 only)- Song responses carry
bpm, the tagged beats per minute, read on scan into the newsong_data.bpmcolumn - The value keeps the fraction a detection tool wrote (
133.4), so it is a float rather than an int - New
bpmrule foradvanced_search, numeric, song only
- Song responses carry
mood(API8 only)- Song responses carry
mood, a list of{id, name}objects shaped exactly likegenre, read on scan from the file tags into the newmoodandmood_maptables - The list is empty until a catalog has been scanned, and stays empty for files carrying no mood tag
- New
moodrule foradvanced_search, text, on song, album and artist - New
moodbrowse filter on the song, album, artist and video browses, taking a mood id - Album and artist moods are derived from their songs, so they answer which moods are on this album rather than naming a tag of their own
- Song responses carry
advanced_search(API4 and above),search_group(API6 and API8)- A
usersearch takes newname,fullnameandemailrules;namematches the username, full name or email at once, the same three columns theuserbrowse searches - A
usersearch acceptstitleasname, so the generic rulesearch_groupsends returns matching users instead of every account
- A
shares(API4 and above)filter/exactand thecondtext filters match the title of the shared object; the share browse ignored every filter it was sent before- New
namesort ordering shares by the title of the object they point at, withtitleas an alias. It is the sortsharesasks for by default, so the default order changes from insertion order to alphabetical - New
object_typeanduserfilters, taking a share type (album,album_disk,artist,playlist,podcast,podcast_episode,search,song,video) and a user id
- REST
- Multi-word resources and actions may be spelled with a dash anywhere in a path (
album-disks/{id}/songs); the dashed form is folded onto the canonical snake_case action by a single rule rather than a per-name alias list - New
albums/{album_id}/disks,album-disks/{album_disk_id},album-disks/{album_disk_id}/songs, plusart/flag/rate/search/statsonalbum-disks - New
localplay/songspath for the existinglocalplay_songsaction - New object-scoped
browsepaths that need no catalog:albums/{album_id}/browse,album-disks/{album_disk_id}/browse,artists/{artist_id}/browseandpodcasts/{podcast_id}/browse. The existingcatalogs/{catalog_id}/browse/...paths still work and keep the catalog restriction - Each object gains
catalog, the id of the catalog it belongs to, in both JSON and XML.song,podcast_episode,live_stream,folderand thedeleted_*items already carried it, so every response object backed by a table with a catalog now reports one artistis deliberately left out: an artist reaches its catalogs throughcatalog_mapand has no single one to report, soArtist::getCatalogId()returns0
- Multi-word resources and actions may be spelled with a dash anywhere in a path (
Changed (800000)
- ALL
- Passing secrets in the query string is deprecated for privacy (query values leak into server/proxy logs and browser history): the
passwordonregister/user_create/user_edit/catalog_addand thehandshakeauthkey should be sent in a request body (or, forauth, theAuthorization: Bearerheader) — the query string keeps working for them, it is simply no longer the recommended way - Version rollover logic reworked for the new 5-version lineup: requests pinned to a disabled API6 now roll forward to API8 (version 7 is explicitly rejected as unsupported)
- API8 JSON/XML output now sets real HTTP status codes for errors and empty results (
404for empty,Api::getHttpCode()-mapped codes for errors) — API3–6 always returned HTTP 200 with the error embedded in the response body - API8 uses updated action names for a few methods present under legacy naming in API3/4:
index/list(notget_indexes),playlist_add(notplaylist_add_song),user_edit(notuser_update)
- Passing secrets in the query string is deprecated for privacy (query values leak into server/proxy logs and browser history): the
browse(API8 only)- browse:
catalogis now an optional filter onalbum_artist,artist,album,album_diskandpodcastinstead of a required parameter. Send it to restrict the children to one catalog, omit it to get them from every catalog you can see. An album, disk or podcast belongs to a single catalog and an artist reaches its catalogs throughcatalog_map, so the parent object never needed a catalog to be addressed. API6 keeps the parameter mandatory, because Ampache7 serves that version too
- browse:
download(API8 only)- Converted from a legacy static method to the
MethodInterfacepattern to support the new zip response; existingsong/podcast_episode/search/playlistsingle-item redirect behavior is unchanged
- Converted from a legacy static method to the
user_edit(API8 only)- user_edit:
maxbitrateis now bits per second (320000) instead of kbps (320), so every rate argument in the API uses the same unit. API6 and older keep kbps
- user_edit:
- ALL (units)
- The unit of every rate argument is now documented.
bitrateondownload/random/streamhas always been bits per second andmaxbitrateonuser_edit/user_updatewas kbps, but neither was written down indocs/openapi.jsonor the method tables - Subsonic/OpenSubsonic
maxBitRateis unchanged and stays kbps, as the Subsonic 1.16.1 specification requires
- The unit of every rate argument is now documented.
- ALL (internal)
JsonOutput/XmlOutputno longer fall back to API8 formatting for an unrecognized API version/method/format combination (e.g. JSON for API3, which was never supported) — this now throws instead of silently rendering as API8. Some v3/v4 error paths that used ad-hoc numeric error codes now use the sameErrorCodeEnum-based codes API5/6/8 already use, for consistency
- API8 (JSON/XML parity)
- v8 JSON and XML now return a matching field set for each object; several inconsistencies were unified: XML
bookmark/shareowner is now<owner>(was<user>),videoanddemocraticno longer emit a duplicate<name>(use<title>), deleted podcast episodes use<podcast>(was a mislabeled<played>), andsong_tagsemits the full fixed field set in both formats - JSON
useraddslink(profile url, already present in XML) and returnsfullnameon your own/merequest; JSONsong_tagsadds the songid; theuserslist uses a bare{ "user": [...] }envelope with nototal_count/md5
- v8 JSON and XML now return a matching field set for each object; several inconsistencies were unified: XML
Removed (800000)
- REST
GET smartlists/searchis no longer documented.smartlistis not one ofSearch::VALID_TYPES, so the path could only ever return aBad Requesterror. Useplaylists/search(searches cover both playlists and smartlists)
Fixed (800000)
playlists/list/index/stats(API4 and above)sort=last_countanswered with an error instead of a list. The combined playlist and smartlist browse never carried the column it sorts on, though both tables have it
stats(API3)- A
typeother thannewest,highest,frequent,recentorflaggedanswered with an error instead of random albums, unless alimitwas sent
- A
followers(API4 and above)- The returned ids are the accounts doing the following. They were the ids of the follow records, which line up with real accounts only by coincidence, so
followingandfollowersdisagreed about the same relationship
- The returned ids are the accounts doing the following. They were the ids of the follow records, which line up with real accounts only by coincidence, so
- ALL
- Sorts a browse implemented but never offered, so asking for one did nothing:
idon broadcast, private message, share, shoutbox and wanted,release_dateon video,titleon genre and mood, andgenreon genre - The private message browse sorts on
from_userand takes theequal/exact_matchfilters it already implemented, and the follower browse sorts onusername,last_seenandcreate_date wanteddropped itsusernamesort, which named a column the table does not have
- Sorts a browse implemented but never offered, so asking for one did nothing:
- API5, API6
- advanced_search:
type=album_diskreturned album disk ids rendered as songs, so a client read a disk id as a song id. Neither version has an album disk formatter, so both now return an empty result instead.searchis affected too, being an alias. API8 returns the album disks. NOTE the same fix landed in Ampache7, which serves these versions as well - API3 and API4 are unchanged: neither validates the search
typeat all, so every unsupported type there already falls through to the song output
- advanced_search:
- API8
Json8_Data/Xml8_Dataskip an object that no longer exists rather than returning it as an entry of empty fields, and a missing object no longer ends the list it appeared in. NOTE the same fix landed in Ampache7 for API3-6, which it serves as well
preference_edit(API6 and API8)- preference_edit:
default=1now writes the server default — the system user’s value, and the value a new account is seeded from — instead of the calling user’s own value, and reports that value back. Existing accounts are still only changed byall=1. NOTE the same fix landed in Ampache7, which serves API6 as well
- preference_edit:
live_stream_create/live_stream_edit(API6 and API8)- live_stream_create, live_stream_edit:
codecno longer has its digits stripped, somp3is stored asmp3instead ofmp. A radio station created or edited through the API before this keeps the truncated codec until it is set again. NOTE the same fix landed in Ampache7, which serves API6 as well
- live_stream_create, live_stream_edit: