A classical music player and organizer. https://musicus.org
Find a file
2020-11-08 18:00:46 +01:00
build-aux Add meson build system 2020-11-01 17:37:04 +01:00
data Add app icon 2020-11-01 18:43:16 +01:00
migrations/2020-09-27-201047_initial_schema Keep tracks when updating recording 2020-11-07 16:18:13 +01:00
po Merge recording editor and selector into one dialog 2020-11-08 12:11:54 +01:00
res Merge recording editor and selector into one dialog 2020-11-08 12:11:54 +01:00
src Initialize comment entry in recording editor 2020-11-08 18:00:46 +01:00
.gitignore Add translation infrastructure and German translation 2020-11-02 00:52:04 +01:00
Cargo.toml Merge recording editor and selector into one dialog 2020-11-08 12:11:54 +01:00
COPYING Initial commit 2020-09-27 21:58:42 +02:00
de.johrpan.musicus.json Add pulseaudio socket access to flatpak 2020-11-07 21:27:40 +01:00
diesel.toml Add initial database including simple abstractions 2020-09-28 14:15:59 +02:00
meson.build Add playback and basic player UI 2020-11-07 16:11:08 +01:00
README.md Add Flatpak 2020-11-01 18:04:49 +01:00

Musicus

The classical music player and organizer.

https://musicus.org

Hacking

Building

Musicus uses the Meson build system. You can build it using the following commands:

$ meson build
$ ninja -C build

Afterwards the resulting binary executable is under build/target/debug/musicus.

Flatpak

There is a Flatpak manifest file called de.johrpan.musicus.json. To build a Flatpak you need the the latest Gnome SDK and the Freedesktop SDK with the Rust extension. You can install those using the following commands:

$ flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
$ flatpak remote-add --user --if-not-exists gnome-nightly https://nightly.gnome.org/gnome-nightly.flatpakrepo
$ flatpak install --user gnome-nightly org.gnome.Sdk org.gnome.Platform
$ flatpak install --user flathub org.freedesktop.Sdk.Extension.rust-stable//19.08

Afterwards, the following commands will build, install and run the application:

$ rm -rf flatpak
$ flatpak-builder --user --install flatpak de.johrpan.musicus.json
$ flatpak run de.johrpan.musicus

Special requirements

This program uses Diesel as its ORM. After installing the Diesel command line utility, you will be able to create a new schema migration using the following command:

$ diesel migration generate [change_description]

To update the src/database/schema.rs file, you should use the following command:

$ diesel migration run --database-url test.sqlite

This file should never be edited manually.

License

Musicus is free and open source software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Musicus is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.