Skip to content

MoritzRS/music-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

music-manager

Version License

A quick wrapper around yt-dlp to manage your music collection. Written in rust.

Features

  • Manage music by declaring it
  • Set important meta data
  • Download tracks as mp3
  • Download album covers

What is this?

This is just a simple wrapper around to yt-dlp to download music tracks based on a manifest file. You can specify some meta data like artist, title, or release (album). The manager can download and bundle your collection with applied meta data.

Created because yt-dlp kept messing up meta data and names.

When should I use this?

This project is useful if you want to manage an offline collection of your music. If your fine with using other downloaders, you probably won't need this.

Usage

Install

You need to have yt-dlp and ffmpeg installed and available in your path.

Then install with cargo:

cargo install --git https://github.com/MoritzRS/music-manager

Commands

music-manager provides the mm command with the following subcommands:

init

Creates a new collection.json in your current directory.

mm init
add

Adds a track to your collection. Does not download the track.

Arguments --title, --artist, --release, --year can be used to overwrite meta data of origin.

mm add "https://URL/TO/TRACK"
sync

Syncs the collection with your file system by downloading missing tracks and covers.

Argument --threads can be used to define number of parallel tasks.

mm sync
bundle

Bundles your local collection in a tar archive, making it easy to transfer between devices.

mm bundle collection.tar.gz

License

MIT © Moritz R. Schulz

About

Music manager around yt-dlp

Topics

Resources

Stars

Watchers

Forks

Languages