User Tools

Site Tools


config:beets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
config:beets [2025/11/23 12:01] Wuffconfig:beets [2025/12/08 14:04] (current) – [Beets tips] Wuff
Line 18: Line 18:
 pip install https://github.com/ocelma/python-itunes/archive/master.zip pip install https://github.com/ocelma/python-itunes/archive/master.zip
 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 discogs_client requests pylast pyacoustid pycairo pygobject python3-discogs-client discogs-client beets-copyartifacts beets-extrafiles+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://github.com/edgars-supe/beets-importreplace.git pipx inject beets git+https://github.com/edgars-supe/beets-importreplace.git
 #for lyrics plugin: #for lyrics plugin:
 pipx inject beets langdetect bs4 pipx inject beets langdetect bs4
 +pipx inject beets beets[kodiupdate]
  
 </code> </code>
Line 208: Line 208:
  
 If you want a temporary configuration for any reason, you can always use ''beet -c /path/to/file.yaml'' instead of copying around files. If you want a temporary configuration for any reason, you can always use ''beet -c /path/to/file.yaml'' instead of copying around files.
 +
 +
 +===== 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/compilation name of the first track and actually sets the comp flag to True
 +  * beet modify -a album="Compilation_name"  various artists album_name updates the compilation name
 +
  
 ====== Config File ====== ====== Config File ======
Line 312: Line 320:
   track: []   track: []
  
-plugins: [fetchart,lyrics,lastgenre,embedart,bucket,the,chroma,ftintitle,discogs,scrub,inline,fromfilename,edit,importadded,duplicates,replaygain,web,bpd,yearfixer,zero,badfiles,importreplace]+plugins: [substitute,musicbrainz,fetchart,lyrics,lastgenre,embedart,bucket,the,chroma,ftintitle,discogs,scrub,inline,fromfilename,edit,importadded,duplicates,replaygain,bpd,yearfixer,zero,badfiles,importreplace,fuzzy,deezer,kodiupdate]
 #copyartifacts broken #copyartifacts broken
 pluginpath: [] pluginpath: []
Line 492: 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 
- 
 bpd: bpd:
     host: 127.0.0.1     host: 127.0.0.1
Line 504: 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 586: 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 
-<code> 
-pip install flask 
-</code> 
- 
-add web to plugins in beets config.yaml 
-Define port in [web] section 
-<code> 
-[web] 
-host: 127.0.0.1 #or 0.0.0.0 
-port: 8337 
-</code> 
- 
-for a remote web interface, CORS is required 
-<code> 
-pip install flask-cors 
-</code> 
- 
-start server on localhost:8337 using 
-<code> 
-beet web 
-</code> 
-or 
-<code> 
-beet web hostname port 
-</code> 
- 
- 
-https://github.com/irskep/summertunes 
  
  
config/beets.1763899314.txt.gz · Last modified: by Wuff