Skip to content

ampd-2.0.0

Latest
Compare
Choose a tag to compare
@rain0r rain0r released this 25 Mar 20:50
· 9 commits to master since this release

⚠️ Warning: This is a release with breaking changes. ⚠️

TL;DR:

Before upgrading:
- Export your saved Radio Streams (optionally)
- Backup (or delete) the existing ampd database with: mv $HOME/.local/share/ampd/ampd.mv.db $HOME/.local/share/ampd/ampd.mv.db-bak (mandatory)


This release updates Spring Boot to version 3.2.4. This updated H2 which made a database migration necessary.

From the release notes:
https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.2.0-M3-Release-Notes#h2-22

Spring Boot now uses H2 2.2 by default. To continue using a database from earlier version of H2 it may be necessary to perform a data migration.

But since ampd only stores radio streams in the database, it's easier to just export and import them.

The procedure would look like this:

  • Open ampd in your browser and go to /browse/radio-streams
  • Hit the button Export radio stations and save the json output in a file
  • Backup or delete the database file ampd.mv.db from the ampd home dir (usually $HOME/.local/share/ampd/)
  • Upgrade ampd
  • Open ampd in your browser and import the previously downloaded json file

Release notes

Download options

ampd-<version>.jar (recommended)

For all people that want to access ampd via the default context /, for example:

ampd-with-context-<version>.jar

For all people that plan deploy ampd behind a reverse proxy and access it via /ampd/, for example:


UI changes:

  • Adjustments for long radio urls.
  • Dont show "Directories" when no results were found.
  • Hide Playlist header when no filtered results are available.
  • Set track length to "—" on stop
  • Show downloaded covers for singletons.

Code changes:

  • Changed builder to esbuild

Other changes:

  • Fixed radio stream import.
  • Turn off Startup information
  • Update javampd to 7.2.0
  • Updated dockerfiles