| album_art.sh | ||
| convert_to_mp3.sh | ||
| fetch_album_lyrics.sh | ||
| README.md | ||
| tag_music.sh | ||
Music Utils
This repository is heavily based on this repository by ericmckevitt on GitHub. You can check it out for a more detailed rmpc config.
📂 Recommended Directory Structure
~
└── Music
└── Artist
└── Album
├── Track 1
├── Track 2
├── Track 3
└── ...
This structure allows the scripts to work with minimal changes, but adapting the scripts to your directory structure should not be too hard.
Required Dependencies
ffmpegcurl(Forfetch_album_lyrics.sh)jq(Forfetch_album_lyrics.sh)
Utilities
tag_music.sh
By setting the variables at the top of the file, you can easily tag all the music tracks in a specified directory.
album_art.sh
Provide the album directory and album art as follows:
./album_art.sh <path-to-album-directory> <path-to-album-art>
It requires the audio files to be in .mp3 format
convert_to_mp3.sh
Provide the track directory and original extension as follows:
./convert_to_mp3.sh <path-to-album-directory> <original-extension>
fetch_album_lyrics.sh
Provide the album directory and original extension as follows:
./fetch_album_lyrics.sh "/path/to/Artist/Album"
It uses the Artist and Album directories to infer the correct album and artist for an API call.