Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.4.0 #3915

Merged
merged 132 commits into from May 3, 2024
Merged

6.4.0 #3915

merged 132 commits into from May 3, 2024

Conversation

lachlan-00
Copy link
Member

@lachlan-00 lachlan-00 commented Apr 4, 2024

6.4.0

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

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

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

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

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

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

Ampache 6.4.0

Work on Ampache7 is ongoing.

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

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

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

Added

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

Changed

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

Fixed

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

API 6.4.0

Added

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

Changed

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

Fixed

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

lachlan-00 and others added 30 commits March 27, 2024 11:03
bugs in android client where file size does not match header
* Revert unique constraint `playlist_track_UN` on `playlist_data` table

This causes too many issues with sorting and reorganizing lists.
just make sure track numbers are always in a decent order
192000 * 1000 is a bit off the charts
* should be and for additional params
* strip our the additional params that would clash
make type and state optional
make sure all stream_playlist objects have the same array of items.

Videos were also sending resolution which doesn't exist in the Stream_Url properties
this seems to have been in jplayer already so should just work
don't show update if your version is higher than the current release (eg, 6.4.0 is bigger than 6.3.1)
@lachlan-00 lachlan-00 marked this pull request as ready for review May 3, 2024 03:37
@lachlan-00 lachlan-00 merged commit 00028cf into release6 May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants