Music utility scripts heavily based on ericmckevitt's rmpc config utils on github
Find a file
2025-08-31 15:06:59 +02:00
album_art.sh initial commit 2025-08-31 14:40:36 +02:00
convert_to_mp3.sh Added README 2025-08-31 15:06:59 +02:00
fetch_album_lyrics.sh initial commit 2025-08-31 14:40:36 +02:00
README.md Added README 2025-08-31 15:06:59 +02:00
tag_music.sh initial commit 2025-08-31 14:40:36 +02:00

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.

~
└── 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

  • ffmpeg
  • curl (For fetch_album_lyrics.sh)
  • jq (For fetch_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.