Universal Advanced Music Player written in Rust.
Uamp is a minimal music player that doesn't get in your way. It is fast, reliable, and powerful.
Uamp currently works as playback server controled with CLI, mpris which may be integrated into your system or web GUI:
The configuration is saved in the efault configuration folder on your
platform. You can use uamp config to open the config file with your default
editor.
See short help of uamp:
uamp -hShow help with all the options (shortest version):
uamp h allTo play/pause you can use the command:
uamp instance play-pauseor the short version
uamp i ppTo start uamp in backgound:
uamp run -dor short:
uamp -R-dStop the running instance:
uamp i xShow info about now playing:
uamp -InfoSet the playlist to all songs, shuffle and play:
uamp i sp sort=rng pj pp=playPlay file in the currently running instance:
uamp i play='path/to/file.flac'Uamp how has web gui:
This is the way that I have confugred and use uamp:
Make uamp start on startup with your cmomputer with the command uamp
(or uamp -R-d to make it detached).
Use your OS settings to bind global shortcuts to commands for controlling uamp. For example:
Ctrl+Alt+Home:uamp i pp(play/pause)Ctrl+Alt+PgUp:uamp i psPrevious songCtrl+Alt+PgDown:uamp i nsNext songCtrl+Alt+Up:uamp i vuVolume upCtrl+Alt+Down:uamp i vdVolume downCtrl+Alt+Left:uamp i rwRewindCtrl+Alt+Right:uamp i ffFast forward
Now you can just start playing when you want to by using your global shortcut.
Set the setting web_client_command to the following value to run uamp web
client in chrome as app (replace /chrome/binary with the binary for chrome.
It is usually google-chrome or chromium or use whatever other browser
that supports web apps):
{
// ...
"web_client_command": "/chrome/binary --app=${ADDRESS} --class=uamp"
}Now you can start the playback with the default alias uamp i al=endless-mix
and you never have to worry about it. It will shuffle all your songs into a
playlist and when the playlist ends it will reshuffle the playlist and start
from the start.
When you will load new songs, they will also be automatically mixed in the playlist after the currently playing song.
Uamp can also provide custom tab completion for any bash like shell (works in
zsh). To do that add this to your .bashrc/.zshrc/...:
`uamp sh tab`And that is it. Uamp will now have custom tab completion.
If you have arch, you can install it from aur.
This install script will ask for sudo privilages to move the build files to their apropriate locations.
wget -nv -O - https://raw.githubusercontent.com/BonnyAD9/uamp/master/packages/script/install.sh | shIf you don't have arch, you have to compile it yourself, but that shouldn't be
any problem because all you need is cargo:
cargo build -rthe binary will be ./target/release/uamp. It doesn't depend on any other
files.
- Author: BonnyAD9
- GitHub repository: BonnyAD9/uamp
- My website: bonnyad9.github.io
- Project website: bonnyad9.github.io/uamp
- Aur package: aur.archlinux.org