The purpose of this script is to easily and quickly perform some commands in beets
Beets is the media library management system for obsessive music geeks.
The purpose of beets is to get your music collection right once and for all. It catalogs your collection, automatically improving its metadata as it goes. It then provides a bouquet of tools for manipulating and accessing your music..
Beets is a python project, we need to intall Python and create virtual env for beets and beets's dependencies. (for me to linux mint 22)
python3 --version
pip3 --version
usually python is installed by default
sudo apt update
sudo apt install python3-pip
python3 -m venv ~/beets-env
nor required but recommended
source ~/beets-env/bin/activate
alias beet="source ~/beets_env/bin/activate && beet"
in my .bashrc, when you'll tape "beet" in your prompt, the virtual environnement will be automatically activate.
beet
pip install beets
I use many plugins for beets : fetchart, embedart, scrub, lastgenre, lyrics, duplicates, hook, discogs, missing, permissions, keyfinder, mbsync, inline, ftintitle, autobpm, badfiles, deezer, beatport4.
pip install "beets[fetchart]"
pip install "beets[embedart]"
pip install "beets[scrub]"
pip install "beets[lyrics]"
pip install "beets[lastgenre]"
pip install "beets[autobpm]"
pip install "beets[discogs]"
pip install -U "discogs_client"
pip install "beets-beatport4"
Ressources : Beets plugins, beets-beatport4 0.3.4, Issue with Discogs
see mine in list files.
git clone https://github.com/u2pitchjami/beets_manuel.git
You need 2 Configurations files in your .config/beets/config.yalm and config.yalm.manuel
in the second (config.yalm.manuel), it must the same to normal config.yalm, exept for import option "quiet", here set to "no"
With this files, the beets_manuel script can switch from manual to automatic mode alternately.
bash ~/bin/beets_manuel/beets_manuel.sh
When you start, i made a tar save of configurations files and beets base.
You can choose between 6 possibilites :
After an auto import (with quiet "on" and quiet_fallback "skip"), all skipped albums are in the log file.
So, after auto import (option 4), the script extract skipped albums lines to beetsmanuel file.
When you take option 1, the script goes on manual mode (switch conf file) and use beets_manuel files for import manually skipped albums.
or auto to manual for doing what do you want.
for update all metadata of you beets base
the script switch to auto mode and start auto import
if you let beets move and renamme files, sometimes you can need to check if all files is in good place.
exit the script