A cross platform, local music player that is an offline(no streaming) version of muzik. This app allows you to listen to music that is stored on your local machine, that being music in mp3, wav, ogg and flac format.
- muzik-offline
- Table of Contents
- I am a user/tester
- Usage
- I am a developer
- Node modules used
- Rust libraries used
- Navigate to the releases tab and find the latest app release for your operating system.
- Download it and install and enjoy the application
- Please read the usage section for some extra information.
- Also note that you can report bugs/issues or make feature requests
- Some shortcuts include
SPACE
- Pause/Play musicCTRL/CMD
+SHIFT
+F
- Open/Close settingsCTRL/CMD
+S
- Focus on search barCTRL/CMD
+I
- Show song infoUP
orDOWN
- scroll song by songLEFT
orRIGHT
- seek by fixed valueCTRL/CMD
+P
orENTER
- Play the selected songCTRL/CMD
+SHIFT
+A
- Add to playlistCTRL/CMD
+SHIFT
+L
- Play laterCTRL/CMD
+SHIFT
+N
- Play Next
- Download the pre-requisites for tauri only by following the pre-requisites page for your operating system.
- If you are on a linux based OS, run
sudo apt-get install libasound2-dev
- Clone this repo or fork it and clone it.
- run
cd muzik-offline/muzik-offline
- run
npm install
- This application uses discord rpc, so you will need a client id, otherwise the application won't run
- To get a client id, setup a new application on discord developer portal and then place your client id in an
.env
file in the src-tauri directory - The env file should look like this:
DISCORD_CLIENT_ID=<Your client id goes here>
- run
npm run tauri dev
- You can encrypt your env file with:
openssl enc -aes-256-cbc -salt -pbkdf2 -in src-tauri/.env -out src-tauri/.env.enc -pass pass:{pass-key}
- Clone the releases branch. It is the most stable and "ready-to-go" branch
- If you want to create a production build, run
npm run tauri build
- If you want to create a debug production build(one where you have access to devtools), run
npm run tauri build -- --debug
Note
Please note that when you run npm run tauri dev
, npm run tauri build
or npm run tauri build -- --debug
for the first time, it may take a lengthy amount of minutes to compile everything. However this only occurs just on your first run. In subsequent runs, it will be faster.