95 lines
5.9 KiB
Markdown
95 lines
5.9 KiB
Markdown
# Supersonic
|
|
A lightweight cross-platform desktop client for Subsonic music servers (Navidrome, Gonic, Airsonic, etc).
|
|
|
|
[Jump to installation instructions](https://github.com/dweymouth/supersonic#installation)
|
|
|
|
## Screenshots
|
|
|
|
Screenshots of Supersonic running against the Navidrome [demo server](https://www.navidrome.org/demo/)
|
|
|
|
<a href="https://raw.githubusercontent.com/dweymouth/supersonic/main/res/screenshots/AlbumsView.png"><img src="https://raw.github.com/dweymouth/supersonic/main/res/screenshots/AlbumsView.png" width="49.5%"/></a>
|
|
<a href="https://raw.githubusercontent.com/dweymouth/supersonic/main/res/screenshots/AlbumView.png"><img src="https://raw.github.com/dweymouth/supersonic/main/res/screenshots/AlbumView.png" width="49.5%"/></a>
|
|
<a href="https://raw.githubusercontent.com/dweymouth/supersonic/main/res/screenshots/ArtistView.png"><img src="https://raw.github.com/dweymouth/supersonic/main/res/screenshots/ArtistView.png" width="49.5%"/></a>
|
|
<a href="https://raw.githubusercontent.com/dweymouth/supersonic/main/res/screenshots/FavoriteSongsView.png"><img src="https://raw.github.com/dweymouth/supersonic/main/res/screenshots/FavoriteSongsView.png" width="49.5%"/></a>
|
|
|
|
## Features
|
|
* [x] Fast, lightweight, native UI
|
|
* [x] High-quality gapless audio playback powered by MPV, with optional audio exclusive mode
|
|
* [x] ReplayGain support (depends on files being tagged on server)
|
|
* [x] Infinite scrolling
|
|
* [x] Scrobble plays to server, with configurable criteria
|
|
* [x] Browse by albums, artists, genres, playlists
|
|
* [x] Album and playlist views with tracklist and cover image
|
|
* [x] Artist view with biography, image, similar artists, and discography
|
|
* [x] Play "artist radio" (mix of songs from given artist and similar artists, depends on your server's support)
|
|
* [x] Create, play, and update playlists
|
|
* [x] Configure visible tracklist columns
|
|
* [x] Set/unset favorite and browse by favorite albums, artists, and songs
|
|
* [x] View and edit play queue (add and remove tracks; reorder support coming soon)
|
|
* [x] Shuffle and repeat playback modes (partial; shuffle album, playlist, artist radio, random songs)
|
|
* [ ] Set filters in albums browsing view (planned)
|
|
* [ ] Browse by folders (planned)
|
|
* [ ] Multi-server support (planned)
|
|
* [ ] Download songs, albums or playlists (planned)
|
|
* [ ] Cast to uPnP/DLNA devices (likely planned)
|
|
* [ ] Built-in multi-band equalizer (eventully planned)
|
|
* [ ] Offline mode (eventually planned)
|
|
* [ ] Lyrics support (eventually planned)
|
|
* [ ] iOS/Android support (maybe eventually planned)
|
|
|
|
## Installation
|
|
|
|
If you are running Windows, Mac OS (Intel), or a Debian-based Linux distro, download the latest [release](https://github.com/dweymouth/supersonic/releases) for your operating system. If you prefer to build from source, **or there is no release build currently offered for your OS/architecture (Apple silicon Macs)**, then see the build instructions for your platform below.
|
|
|
|
**If you are on Linux** you must have libmpv installed on your system. On apt-based systems, run `sudo apt install libmpv-dev` if it is not already installed. The Windows and Mac release builds bundle the mpv dependencies.
|
|
|
|
## Build instructions (Ubuntu)
|
|
|
|
### Install dependencies
|
|
* ``sudo snap install --classic go``, and make sure the Go bin directory is in your `$PATH`
|
|
* install the ``fyne`` packaging tool ``go install fyne.io/fyne/v2/cmd/fyne@latest``
|
|
* ``sudo apt install libmpv-dev``
|
|
* ``sudo apt install gcc libegl1-mesa-dev xorg-dev``
|
|
|
|
### Build
|
|
* clone the repo, CD into the repo root, and run ``go build .``
|
|
* (note that the first build will take some time as it will download and build the UI library)
|
|
* run ``make package_linux`` to generate an installable .tar.xz bundle
|
|
|
|
## Build instructions (Mac OS)
|
|
|
|
### Install dependencies
|
|
* install go, and make sure the Go bin directory is in your `$PATH`
|
|
- ``brew install go``
|
|
- ``export PATH="/Users/<yourname>/go/bin:$PATH"``
|
|
* install the ``fyne`` packaging tool ``go install fyne.io/fyne/v2/cmd/fyne@latest``
|
|
* install Xcode command-line tools (``xcode-select --install``)
|
|
* install libmpv (``brew install mpv``)
|
|
* install dylibbundler (``brew install dylibbundler``) - needed only the bundledeps step, see below
|
|
|
|
### Build
|
|
* Make sure header and library include paths include the dir in which homebrew installs headers/dylibs (may differ dep. on OS/Homebrew version)
|
|
- ``export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH``
|
|
- ``export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH``
|
|
|
|
* clone the repo, CD into the repo root, and run ``go build .``
|
|
* (note that the first build will take some time as it will download and build the UI library)
|
|
* run ``make package_macos`` to generate the .app bundle
|
|
* **If** you are on Mac OS **High Sierra** through **Catalina**, run ``make bundledeps_macos_highsierra`` and you are done! Otherwise, continue reaading.
|
|
* At this point, the Supersonic.app bundle can be copied to Applications and it will run on your machine, but it depends on the brew installation of mpv
|
|
* To copy the dependencies into the app bundle, and make it truly portable, run ``make bundledeps_macos``
|
|
|
|
## Build instructions (Windows)
|
|
|
|
### Install dependencies
|
|
* install go (https://go.dev/doc/install)
|
|
* install MSYS2 and the required packages for the Fyne toolkit (follow instructions for Windows at https://developer.fyne.io/started/)
|
|
* install libmpv (in the MSYS2 terminal, ``pacman -S mingw-w64-x86_64-mpv``)
|
|
|
|
### Build
|
|
* in the MSYS2 terminal: clone the repo, CD into the repo root, and run ``go build .``
|
|
* (note that the first build will take some time as it will download and build the UI library)
|
|
* **Note**: The .exe dynamically links to MSYS2 libmpv dependency dlls and must be started from the MSYS2 terminal, or all dependency DLLS must be copied to the same folder as the .exe
|
|
* -> If you obtain a statically built mpv-2.dll (containing all its dependencies), and rename it to libmpv-2.dll, you can place just that DLL in the same directory as the EXE, and it should run
|
|
* Improvements to Windows build process will be forthcoming
|