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/03/25 18:06] – [Unicode in Tag Patch] Wulf Rajek | config:beets [2024/12/24 01:08] (current) – [Path template information] Wulf Rajek | ||
---|---|---|---|
Line 7: | Line 7: | ||
< | < | ||
#mint21 | #mint21 | ||
- | sudo apt-get install libchromaprint1 | + | sudo apt-get install libchromaprint1 mp3val |
- | sudo apt-get install | + | |
- | sudo apt-get install | + | |
sudo apt-get remove python-pip | sudo apt-get remove python-pip | ||
sudo apt-get install python3-setuptools | sudo apt-get install python3-setuptools | ||
Line 22: | Line 20: | ||
pip install beets-web-import | pip install beets-web-import | ||
pip install python3-discogs-client | pip install python3-discogs-client | ||
+ | # see notes below to patch copyartifacts | ||
pip install beets-copyartifacts | pip install beets-copyartifacts | ||
+ | |||
+ | #Buggy as of 19/ | ||
+ | pip install beets-copyartifacts3 | ||
+ | pip install beets-extrafiles | ||
+ | |||
+ | #Mint22: | ||
+ | sudo apt-get install python3-acoustid libchromaprint1 mp3val flac | ||
+ | pipx install beets | ||
+ | pipx inject beets flask=2.2.5 discogs_client requests pylast pyacoustid pycairo pygobject python3-discogs-client discogs-client beets-copyartifacts beets-extrafiles | ||
+ | pipx inject beets beets-yearfixer beets-web-import | ||
+ | pipx inject beets git+https:// | ||
+ | |||
+ | </ | ||
+ | |||
+ | to upgrade beets going forward, use: | ||
+ | < | ||
+ | pip install -U beets | ||
+ | </ | ||
+ | |||
+ | As beets 1.6.0 is a bit buggy and 3 years old, use latest source snapshot tarball installation: | ||
+ | < | ||
+ | pip uninstall beets | ||
+ | pip install https:// | ||
+ | </ | ||
+ | |||
+ | ====== copyartifacts python3 patch ====== | ||
+ | < | ||
2to3-2.7 -w ~/ | 2to3-2.7 -w ~/ | ||
- | #adjust as following: | + | #Mint22: |
+ | sudo apt-get install 2to3 | ||
+ | 2to3 -w ~/ | ||
+ | </ | ||
+ | then adjust as following: | ||
+ | < | ||
#line 104: | #line 104: | ||
file_ext = os.path.splitext(filename)[1].decode(' | file_ext = os.path.splitext(filename)[1].decode(' | ||
Line 37: | Line 68: | ||
#add line 127 | #add line 127 | ||
dest_file = beets.util.bytestring_path(dest_file) | dest_file = beets.util.bytestring_path(dest_file) | ||
- | |||
- | |||
- | vi ~/ | ||
- | change line 75 from | ||
- | def unidecode_punc_only(text): | ||
- | to | ||
- | def unicode_punc_only(text): | ||
- | |||
- | |||
- | |||
- | #Buggy as of 19/ | ||
- | pip install beets-copyartifacts3 | ||
- | pip install beets-extrafiles | ||
</ | </ | ||
- | + | Change the init: | |
- | to upgrade beets going forward, use: | + | |
< | < | ||
- | pip install | + | vi ~/ |
</ | </ | ||
- | |||
- | As beets 1.6.0 is a bit buggy and 3 years old, use latest source snapshot tarball installation: | ||
< | < | ||
- | pip uninstall beets | + | #change line 75 from |
- | pip install https:// | + | def unidecode_punc_only(text): |
+ | #to | ||
+ | def unicode_punc_only(text): | ||
</ | </ | ||
- | |||
====== Unicode in Tag Patch ====== | ====== Unicode in Tag Patch ====== | ||
Line 530: | Line 546: | ||
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 685: | Line 704: | ||
====== importreplace ====== | ====== importreplace ====== | ||
- | A plugin for beets to perform regex replacements during import, particularly useful to replace unicode apostrophes, | + | A plugin for beets to perform regex replacements during import, particularly useful to replace unicode apostrophes, |
https:// | https:// | ||
Line 707: | Line 726: | ||
</ | </ | ||
+ | As this plugin works for import only, use the following to retag/ | ||
+ | < | ||
+ | #for albums: | ||
+ | beet import -L ": | ||
+ | |||
+ | #for singletons: | ||
+ | beet import -L -s ": | ||
+ | </ |
config/beets.1711389962.txt.gz · Last modified: by Wulf Rajek