Overview
Request 824715 accepted
- Update to 4.2.0
A big visual change in the interface is that Ampache now defaults to US time for dates. ('Month/Day/Year')
For everyone who isn't American you have control over date formats using custom_datetime.
Admin => Server Config => Interface => Custom datetime
e.g. Y/m/d H:i will convert to 2020/04/14 10:42
Check the php manual for help making your desired string. ([https://www.php.net/manual/en/function.date.php])
The API changelog for this version has been separated into a new sub-heading below to make it easier to follow.
* Added
- Added Spotify art searches for both album and artist images.
- Updated component installer and php-cs-fixer package.
- Translation updates (April 2020, May 2020, July 2020)
- Added declare(strict_types=0); to lib/* and lib/class/* (requires more work before it can be enabled)
- Add 250 for search form limits in the web UI. (Jump from 100 to 500 is pretty big)
- Add Recently updated/added to search rules
- Add regex searching to text fields. ([https://mariadb.com/kb/en/regexp/])
- Refer to the wiki for information about search rules. (https://github.com/ampache/ampache/wiki/advanced-search)
- When labels are enabled, automatically generate and associate artists with their publisher/label tag values.
- Enforced stat recording for videos. (podcasts and episodes to be added later)
- Add tags (Genres) to Anywhere text searches.
- 10 second redirect on Access Denied to the default web_path
- Allow Update from tags for multi-disk album and artist pages
- show and hide the rightbar (playlist) using the minimize button in the header
- Tag->f_name (New property on tag that was being set hackily)
- Add Album to Find Duplicates in admin/duplicates.php.
- Local Image added to Artist & Album search. Find out whether you have art stored in Ampache
- PHP_CodeSniffer checks and settings added to Scrutinizer. (phpcs --standard=.phpcs.xml lib/class)
- NEW database options
- cron_cache: Speed up the interface by allowing background caching of data
- show_skipped_times: Add # skipped to the UI. (disabled by default)
- custom_datetime: Allow you to format your date strings your way.
- unique_playlist: Force unique playlists by ignoring existing songs
- NEW config options
- skip_timer: Add Skip Timer Threshold to the config
- artist_art_folder: Specify a local folder to search for artist images using name/title
- rating_file_tag_user: Set ratings to this user ID when importing ratings from file tags
- spotify_client_id: Allows Spotify art search
- spotify_client_secret: Allows Spotify art search
- NEW files
- server/json.server.php & lib\class\json_data.class.php: JSON API!
- bin/compute_cache.inc: Cache object_count data to speed up access
- bin/cron.inc: Perform garbage_collection functions outside of main functions (includes compute_cache.inc)
- NEW examples
- docs/examples/ampache_cron.service
- docs/examples/ampache_cron.timer
* Changed
- Change license string from AGPLv3 to AGPL-3.0-or-later
- Update Composer requirements
- Allow searching play times without requiring UI option
- Stop showing the average rating in the web interface as stars. (show an average when available as text separately)
- When you don't have a config file redirect to installer
- Change to numeric searches: Renamed 'is' => 'equals' and 'is not' => 'does not equal'
- Allow negative track numbers; reducing the maximum track number to 32767.
- Localplay volume control moved to the playlist (rightbar)
- Podcast_Episode::check_play_history Podcast_Episode::set_played (match song.class versions for stat recording)
- Video::check_play_history Video::set_played (match song.class versions for stat recording)
- php_cs rules for line endings
- Simplify play history checks and code a bit more
- Tag (Genre) searches compare each item (e.g Pop) rather than the whole string (Pop,Rock,etc)
- Replace Browse Library buttons with a search header allowing faster browsing of other types
- Share secrets are generated by generate_password instead of a separate function
- inet_ntop may not convert some binary IP addresses (like ::1) these now show up as Invalid in the ip history.
- Searches using numeric rules must use an integer. ('1 Star' => 1, '2 Stars' => 2, etc)
- bin/delete_disabled.inc require -x to execute. (previously you needed to edit the file)
* Deprecated
- Horde_Browser::getIPAddress(). Use Core::get_user_ip() instead.
* Removed
- bin/migrate_config.inc (This was used to migrate the config file from php4 to php5)
- EchoNest api/song previews
- User::update_user_stats (used in play index only and useless)
- Share::generate_secret; use generate_password instead
- Song::get_cache_count (unused)
- Ampache Debug check for 'safe_mode'
* Fixed
- Fixed a lot of incorrectly typed function calls and code documentation
- Gravatar Plugin: Make sure https is used when force_ssl is configured
- Truncate strings to match database limits when strings go over
- Add User php warnings
- Channel authentication
- IP checks when sending null proxy values
- Gather art page layout
- Read vorbis rating correctly
- Search rules in UI failing to load with custom_metadata
- Warn correctly when inserting art fails
- Insert missing user preferences on login
- When you had beautiful_urls enabled tracks would not parse in localplay making them all Unknown
- Podcast durations aren't always correct format, prep the time before trying to insert it
- Subsonic playlist add/remove removing incorrect songs
- Search/Smartlists need to have results to be used in lists
- Auth issues with stats for recording and localplay
- Stream_urls were generated with a typo when downloading
- Respect album grouping using of the moment plugin
- Filter album title with grouping enabled. (seriously deadmau5, stop with the <> everywhere)
- Share playback without a UID would fail to start
- Set a default popular_threshold if unauthenticated or unset
- play/index would record democratic streams as a download
- Make sure the default preferences table has all the preferences in them
- Beets catalog bug; date_diff expecting a datetime but given a string
- Searches using user data like ratings has been split in the SQL correctly
- Flagged playlists never had their flag deleted
- offset and limit were incorrectly used for top/recent searches
* Security
- Fix: CVE-2020-13625 in phpmailer
* API 4.2.0
See: https://github.com/ampache/ampache/release/tag/4.2.0
Request History
ecsos created request
- Update to 4.2.0
A big visual change in the interface is that Ampache now defaults to US time for dates. ('Month/Day/Year')
For everyone who isn't American you have control over date formats using custom_datetime.
Admin => Server Config => Interface => Custom datetime
e.g. Y/m/d H:i will convert to 2020/04/14 10:42
Check the php manual for help making your desired string. ([https://www.php.net/manual/en/function.date.php])
The API changelog for this version has been separated into a new sub-heading below to make it easier to follow.
* Added
- Added Spotify art searches for both album and artist images.
- Updated component installer and php-cs-fixer package.
- Translation updates (April 2020, May 2020, July 2020)
- Added declare(strict_types=0); to lib/* and lib/class/* (requires more work before it can be enabled)
- Add 250 for search form limits in the web UI. (Jump from 100 to 500 is pretty big)
- Add Recently updated/added to search rules
- Add regex searching to text fields. ([https://mariadb.com/kb/en/regexp/])
- Refer to the wiki for information about search rules. (https://github.com/ampache/ampache/wiki/advanced-search)
- When labels are enabled, automatically generate and associate artists with their publisher/label tag values.
- Enforced stat recording for videos. (podcasts and episodes to be added later)
- Add tags (Genres) to Anywhere text searches.
- 10 second redirect on Access Denied to the default web_path
- Allow Update from tags for multi-disk album and artist pages
- show and hide the rightbar (playlist) using the minimize button in the header
- Tag->f_name (New property on tag that was being set hackily)
- Add Album to Find Duplicates in admin/duplicates.php.
- Local Image added to Artist & Album search. Find out whether you have art stored in Ampache
- PHP_CodeSniffer checks and settings added to Scrutinizer. (phpcs --standard=.phpcs.xml lib/class)
- NEW database options
- cron_cache: Speed up the interface by allowing background caching of data
- show_skipped_times: Add # skipped to the UI. (disabled by default)
- custom_datetime: Allow you to format your date strings your way.
- unique_playlist: Force unique playlists by ignoring existing songs
- NEW config options
- skip_timer: Add Skip Timer Threshold to the config
- artist_art_folder: Specify a local folder to search for artist images using name/title
- rating_file_tag_user: Set ratings to this user ID when importing ratings from file tags
- spotify_client_id: Allows Spotify art search
- spotify_client_secret: Allows Spotify art search
- NEW files
- server/json.server.php & lib\class\json_data.class.php: JSON API!
- bin/compute_cache.inc: Cache object_count data to speed up access
- bin/cron.inc: Perform garbage_collection functions outside of main functions (includes compute_cache.inc)
- NEW examples
- docs/examples/ampache_cron.service
- docs/examples/ampache_cron.timer
* Changed
- Change license string from AGPLv3 to AGPL-3.0-or-later
- Update Composer requirements
- Allow searching play times without requiring UI option
- Stop showing the average rating in the web interface as stars. (show an average when available as text separately)
- When you don't have a config file redirect to installer
- Change to numeric searches: Renamed 'is' => 'equals' and 'is not' => 'does not equal'
- Allow negative track numbers; reducing the maximum track number to 32767.
- Localplay volume control moved to the playlist (rightbar)
- Podcast_Episode::check_play_history Podcast_Episode::set_played (match song.class versions for stat recording)
- Video::check_play_history Video::set_played (match song.class versions for stat recording)
- php_cs rules for line endings
- Simplify play history checks and code a bit more
- Tag (Genre) searches compare each item (e.g Pop) rather than the whole string (Pop,Rock,etc)
- Replace Browse Library buttons with a search header allowing faster browsing of other types
- Share secrets are generated by generate_password instead of a separate function
- inet_ntop may not convert some binary IP addresses (like ::1) these now show up as Invalid in the ip history.
- Searches using numeric rules must use an integer. ('1 Star' => 1, '2 Stars' => 2, etc)
- bin/delete_disabled.inc require -x to execute. (previously you needed to edit the file)
* Deprecated
- Horde_Browser::getIPAddress(). Use Core::get_user_ip() instead.
* Removed
- bin/migrate_config.inc (This was used to migrate the config file from php4 to php5)
- EchoNest api/song previews
- User::update_user_stats (used in play index only and useless)
- Share::generate_secret; use generate_password instead
- Song::get_cache_count (unused)
- Ampache Debug check for 'safe_mode'
* Fixed
- Fixed a lot of incorrectly typed function calls and code documentation
- Gravatar Plugin: Make sure https is used when force_ssl is configured
- Truncate strings to match database limits when strings go over
- Add User php warnings
- Channel authentication
- IP checks when sending null proxy values
- Gather art page layout
- Read vorbis rating correctly
- Search rules in UI failing to load with custom_metadata
- Warn correctly when inserting art fails
- Insert missing user preferences on login
- When you had beautiful_urls enabled tracks would not parse in localplay making them all Unknown
- Podcast durations aren't always correct format, prep the time before trying to insert it
- Subsonic playlist add/remove removing incorrect songs
- Search/Smartlists need to have results to be used in lists
- Auth issues with stats for recording and localplay
- Stream_urls were generated with a typo when downloading
- Respect album grouping using of the moment plugin
- Filter album title with grouping enabled. (seriously deadmau5, stop with the <> everywhere)
- Share playback without a UID would fail to start
- Set a default popular_threshold if unauthenticated or unset
- play/index would record democratic streams as a download
- Make sure the default preferences table has all the preferences in them
- Beets catalog bug; date_diff expecting a datetime but given a string
- Searches using user data like ratings has been split in the SQL correctly
- Flagged playlists never had their flag deleted
- offset and limit were incorrectly used for top/recent searches
* Security
- Fix: CVE-2020-13625 in phpmailer
* API 4.2.0
See: https://github.com/ampache/ampache/release/tag/4.2.0
ecsos accepted request
ok