Installation
Dependencies
hrmp requires the following dependencies:
These can be obtained using:
sh
$ dnf install git gcc clang clang-analyzer clang-tools-extra cmake make python3-docutils libasan libasan-static alsa-lib alsa-lib-devel libsndfile libsndfile-devel opus opus-devel faad2 faad2-devel gtk3 gtk3-devel ncurses-libs ncurses-devel$ dnf install git gcc clang clang-analyzer clang-tools-extra cmake make python3-docutils libasan libasan-static alsa-lib alsa-lib-devel libsndfile libsndfile-devel opus opus-devel faad2 faad2-devel gtk3 gtk3-devel ncurses-libs ncurses-develInstall hrmp
Installation can be done by building it from source and installing it.
Building From Source
Clone
Clone the repository:
sh
$ git clone https://github.com/HighResMusicPlayer/hrmp.git
$ cd hrmp$ git clone https://github.com/HighResMusicPlayer/hrmp.git
$ cd hrmpThen, follow the respective instructions if you want a Release build (for production use) or a Debug build (for development use).
Release Build
sh
$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make install$ mkdir build
$ cd build
$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ..
$ make
$ sudo make installDebug Build
sh
$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ sudo make install # Optional but recommended step for testing$ mkdir build
$ cd build
$ cmake -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ sudo make install # Optional but recommended step for testingCheck Installation
Make sure that hrmp is installed and in your PATH by using hrmp -? and you should see
hrmp 0.13.0
High resolution music player
Usage:
hrmp <FILES>
Options:
-c, --config CONFIG_FILE Set the path to the hrmp.conf file
Default: $HOME/.hrmp/hrmp.conf
-D, --device Set the device name
-p, --playlist PLAYLIST Load a playlist (.hrmp)
-R, --recursive Add files recursive of the directory
-M, --mode MODE Playback mode: once, repeat, shuffle
-I, --sample-configuration Generate a sample configuration
-i, --interactive Text UI mode
-m, --metadatda Display metadata about the file
-s, --status Status of the devices
--dop Use DSD over PCM
-q, --quiet Quiet the player
-V, --version Display version information
-?, --help Display help
hrmp: https://hrmp.github.io/
Report bugs: https://github.com/HighResMusicPlayer/hrmp/issueshrmp 0.13.0
High resolution music player
Usage:
hrmp <FILES>
Options:
-c, --config CONFIG_FILE Set the path to the hrmp.conf file
Default: $HOME/.hrmp/hrmp.conf
-D, --device Set the device name
-p, --playlist PLAYLIST Load a playlist (.hrmp)
-R, --recursive Add files recursive of the directory
-M, --mode MODE Playback mode: once, repeat, shuffle
-I, --sample-configuration Generate a sample configuration
-i, --interactive Text UI mode
-m, --metadatda Display metadata about the file
-s, --status Status of the devices
--dop Use DSD over PCM
-q, --quiet Quiet the player
-V, --version Display version information
-?, --help Display help
hrmp: https://hrmp.github.io/
Report bugs: https://github.com/HighResMusicPlayer/hrmp/issues