config:beets
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| config:beets [2024/09/25 13:02] – Wuff | config:beets [2025/12/08 14:04] (current) – [Beets tips] Wuff | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| pip install https:// | pip install https:// | ||
| pip install discogs-client | pip install discogs-client | ||
| - | pip install beets-web-import | ||
| pip install python3-discogs-client | pip install python3-discogs-client | ||
| # see notes below to patch copyartifacts | # see notes below to patch copyartifacts | ||
| Line 30: | Line 29: | ||
| sudo apt-get install python3-acoustid libchromaprint1 mp3val flac | sudo apt-get install python3-acoustid libchromaprint1 mp3val flac | ||
| pipx install beets | pipx install beets | ||
| - | pipx inject beets flask=2.2.5 | + | pipx inject beets discogs_client requests pylast pyacoustid pycairo pygobject python3-discogs-client discogs-client beets-copyartifacts beets-extrafiles |
| - | pipx inject beets beets-yearfixer | + | pipx inject beets beets-yearfixer |
| pipx inject beets git+https:// | pipx inject beets git+https:// | ||
| + | #for lyrics plugin: | ||
| + | pipx inject beets langdetect bs4 | ||
| + | pipx inject beets beets[kodiupdate] | ||
| </ | </ | ||
| Line 45: | Line 47: | ||
| pip uninstall beets | pip uninstall beets | ||
| pip install https:// | pip install https:// | ||
| + | </ | ||
| + | |||
| + | Uninstall plugins from pipx: | ||
| + | < | ||
| + | Show all pipx envs and injected packages to find exact package names | ||
| + | pipx list --include-injected | ||
| + | |||
| + | then run: | ||
| + | pipx uninject beets beets-web-import | ||
| + | </ | ||
| + | |||
| + | ====== shell completion ====== | ||
| + | add to .bashrc or similar: | ||
| + | < | ||
| + | eval " | ||
| </ | </ | ||
| Line 50: | Line 67: | ||
| < | < | ||
| 2to3-2.7 -w ~/ | 2to3-2.7 -w ~/ | ||
| + | |||
| + | #Mint22: | ||
| + | sudo apt-get install 2to3 | ||
| + | 2to3 -w ~/ | ||
| </ | </ | ||
| then adjust as following: | then adjust as following: | ||
| Line 187: | Line 208: | ||
| If you want a temporary configuration for any reason, you can always use '' | If you want a temporary configuration for any reason, you can always use '' | ||
| + | |||
| + | |||
| + | ===== Custom Compilation Workflow ===== | ||
| + | |||
| + | * beet import folder and Use as-is. Beets detects this is a “Various Artists” Compilation and stores this information in the database, but does not write the information to the files. | ||
| + | * beet write writes “Various Artists” to the files and the album/ | ||
| + | * beet modify -a album=" | ||
| + | |||
| ====== Config File ====== | ====== Config File ====== | ||
| Line 247: | Line 276: | ||
| # files matching these patterns are deleted from source after import | # files matching these patterns are deleted from source after import | ||
| - | clutter: [" | + | clutter: [" |
| # files/ | # files/ | ||
| ignore: [" | ignore: [" | ||
| Line 291: | Line 320: | ||
| track: [] | track: [] | ||
| - | plugins: [fetchart, | + | plugins: [substitute, |
| # | # | ||
| pluginpath: [] | pluginpath: [] | ||
| Line 471: | Line 500: | ||
| #Note this takes about 10 seconds for 7 files which is about 6h for 15k songs. | #Note this takes about 10 seconds for 7 files which is about 6h for 15k songs. | ||
| - | web: | ||
| - | host: 0.0.0.0 | ||
| - | port: 8337 | ||
| - | |||
| - | webimport: | ||
| - | host: 0.0.0.0 | ||
| - | port: 8338 | ||
| - | |||
| bpd: | bpd: | ||
| host: 127.0.0.1 | host: 127.0.0.1 | ||
| Line 487: | Line 508: | ||
| acoustid: | acoustid: | ||
| apikey: 9NQqkUUg6p | apikey: 9NQqkUUg6p | ||
| + | |||
| + | kodi: | ||
| + | host: 192.168.1.11 | ||
| + | port: 8080 | ||
| + | user: kodi | ||
| + | pwd: kodi | ||
| # null/remove specific tag fields on import (not when importing as-is) | # null/remove specific tag fields on import (not when importing as-is) | ||
| Line 542: | Line 569: | ||
| beet import -A -C -W -I -s / | beet import -A -C -W -I -s / | ||
| </ | </ | ||
| + | Update id3 tags after changing db | ||
| + | < | ||
| + | beet write | ||
| + | </ | ||
| ====== Addons ====== | ====== Addons ====== | ||
| Line 549: | Line 579: | ||
| https:// | https:// | ||
| - | Web Import: | ||
| - | < | ||
| - | pip install beets-webimport | ||
| - | </ | ||
| - | ~/ | ||
| ====== Submit album to MusicBrainz ====== | ====== Submit album to MusicBrainz ====== | ||
| Line 571: | Line 596: | ||
| - Submit the edit. | - Submit the edit. | ||
| After a few moments, try re-tagging the album with beets. If everything worked properly, beets should find the release you contributed and finish tagging it. Repeat this process for any albums you wish to add to MusicBrainz. | After a few moments, try re-tagging the album with beets. If everything worked properly, beets should find the release you contributed and finish tagging it. Repeat this process for any albums you wish to add to MusicBrainz. | ||
| - | |||
| - | |||
| - | ====== beets web ====== | ||
| - | |||
| - | depends on flask | ||
| - | < | ||
| - | pip install flask | ||
| - | </ | ||
| - | |||
| - | add web to plugins in beets config.yaml | ||
| - | Define port in [web] section | ||
| - | < | ||
| - | [web] | ||
| - | host: 127.0.0.1 #or 0.0.0.0 | ||
| - | port: 8337 | ||
| - | </ | ||
| - | |||
| - | for a remote web interface, CORS is required | ||
| - | < | ||
| - | pip install flask-cors | ||
| - | </ | ||
| - | |||
| - | start server on localhost: | ||
| - | < | ||
| - | beet web | ||
| - | </ | ||
| - | or | ||
| - | < | ||
| - | beet web hostname port | ||
| - | </ | ||
| - | |||
| - | |||
| - | https:// | ||
| Line 655: | Line 647: | ||
| ====== Puddletag ====== | ====== Puddletag ====== | ||
| ID3 Tag editor with embed cover support | ID3 Tag editor with embed cover support | ||
| + | |||
| + | https:// | ||
| + | |||
| < | < | ||
| - | sudo add-apt-repository ppa: | ||
| - | sudo apt-get update | ||
| sudo apt-get install puddletag | sudo apt-get install puddletag | ||
| </ | </ | ||
config/beets.1727265746.txt.gz · Last modified: by Wuff