A small python programm that creates an icon on the taskbar, allowing you to shuffle a folder of music.
Run this command to install needed packages:
sudo apt install ffmpeg python3 python3-pip libasound2-dev libxcb-xinerama0
Run this command to install needed python packages:
pip3 install pyside2 simpleaudio pydub
Make main.py
executable:
chmod u+x main.py
(optional) Move the ShuffleApplet
folder into /opt
:
sudo mv ShuffleApplet /opt/
Move your music into the music folder or change the config.json
to point to your music folder:
mv ~/Music/* /opt/ShuffleApplet/music/
# or change it in config.json
"musicFolder": "~/Music/",
(optional) Replace logo.png
and logo-active.png
with your icons.
Test it!
/path/to/ShuffleApplet/main.py
Now you can add this to your startup applications:
bash -c "cd /path/to/ShuffleApplet; ./main.py; exit"
Look at the comments in config.json
for more info.
Set up multiple instances for different playlists/folders and add them all to the startup applications.
This project is under the GNU GPLv2 license.
The example music used is by HoliznaCC0 from https://freemusicarchive.org/music/holiznacc0/lost under the CC0 license.