is a python script to play musics in a local folder through terminal for MacOS.
# Save songs in your favorite folder.
# Rewrite 'root' (in play.py) to the folder.
python play.py michael
# will play michael's songs (if they exist in the folder)!
- Clone
git clone [email protected]:arcoyk/macaron.git
-
Create a folder with A LOT OF songs you like.
-
Edit config.ini
music_dir = '/a/folder/of/songs/you/like/'
- Play
python play.py michael
- Makes it easier😎⚡️
echo "alias play='python /the/path/you/cloned/macaron/play.py' >> ~/.bashrc"
source ~/.bashrc
play michael
Instant Playlist is a list of path to music files. macaron creates Instant Playlist through commands. For example,
python play.py michael
# Now playing 1 of 12 Michael's songs..
will create a playlist of Michale's songs if you have his songs. Here, 'michael' hits songs whose title has 'michael' in any part of it (lower case, upper case). For example,
python play.py michael
# Now playing michael.mp3 in ['michael.mp3', 'michael_jackson.mp3', 'michaeljackson.mov', 'George_Michael.mp3', 'Michael.mp3', 'MICHAEL.mp4']
You can also set multiple arguments.
python play.py michael justin
# Now playing michael.mp3 in ['michael.mp3', 'michael_jackson.mp3', 'michaeljackson.mov', 'George_Michael.mp3', 'Michael.mp3', 'MICHAEL.mp4', 'justin.mp3']
Or you can remove 'George_Michael.mp3'.
python play.py michael justin --dislikes george
# Now playing michael.mp3 in ['michael.mp3', 'michael_jackson.mp3', 'michaeljackson.mov', 'Michael.mp3', 'MICHAEL.mp4', 'justin.mp3']
🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵🎵