Simple Music Player This is my attempt at a music player that does that and only that.
- Quit the window
- Read from dir
- Load music
- Play Music
- Keybinds for next/prev play/pause
- Seek forwards/back
- Shuffle
- Repeat(Single/All/None)
- Cosmetic things (These are enough)
I make alot of assumptions:
- Your Music is n
$HOME/Music - Most of your audio is in raylib's supported format:
- wav
- mp3
- ogg
- You are comfortable with the keyboard.
Requirements:
- Odin compiler
- Bootstrap*
odin build first -out:first.bin- Build
./first.bin release- Use
./smpor copy the generated smp.desktop from resources to ~/.local/share/applications/
to allow starting it from your favorite launcher
3.1.
cp ./resources/smp.desktop ~/.local/share/application/| Key | Action |
|---|---|
| SPACE | play/pause |
| N | Next track |
| P | Previous track |
| S | Toggle Shuffle |
| R | Cycle between repeat modes |
| ARROW_RIGHT | Seek forward by 5 seconds |
| ARROW_LEFT | Seek backwards by 5 seconds |
| ? | Show the keybinds |


