=====Music Tagging=====
====Setup====
FIXME: Don't let this add the Author tag because it messes with Plex. (This shows up as ''lyricist'' in dbPowerAmp, and doesn't show in Mp3tag)
* If not already installed:
* Install [[https://www.dbpoweramp.com/dmc.htm|dBpoweramp Music Converter]]
* Install [[https://www.dbpoweramp.com/codec-central-utility.htm|Replay Gain Codec]]
* Install [[win:Python]]
* Install [[http://beets.io|Beets]] using ''pip install beets''.
* Setup plugins:
* [[https://beets.readthedocs.io/en/latest/plugins/fetchart.html|FetchArt]]
* [[https://beets.readthedocs.io/en/latest/plugins/chroma.html|Chromaprint]]
* Copy the following file to ''%APPDATA%\beets\'' and change the directory option
directory: 'CHANGE_THIS\Processing\3 Convert'
library: library.db
plugins: [fetchart, embedart, ftintitle, chroma]
embedart:
remove_art_file: yes
import:
timid: yes
paths:
default: $format/$track $title
singleton: Fix/$track $title
comp: $format/$track $title
match:
preferred:
countries: ['GB|UK', 'AU', 'US']
original_year: yes
ignored_media: ['Data CD', 'DVD', 'DVD-Video', 'Blu-ray', 'HD-DVD', 'VCD', 'SVCD', 'UMD', 'VHS']
* Download the following files:
beet import "2 Beets Import"
pause
beet import "3 Convert\Fix"
pause
beet rm
pause
@echo off
cd "2 Beets Import"
for %%f in ("*.*") do (
if not exist "%%~nf" MD "%%~nf"
move "%%f" "%%~nf"
)
pause
* Create a folder structure for managing the files, here is my suggestion:
Processing\
1 Remove Tags
2 Beets Import
3 Convert
4 Add to iTunes
beets.bat
beets-fix.bat
beets-rm.bat
folderize.bat
There is an issue of colours in the windows console not working when using Python 3 [[https://github.com/beetbox/beets/issues/2607]], you can either disable them by adding the following lines to the config.yaml file:
ui:
color: no
Or by performing the following changes to the code, this can cause encoding issues in some cases though.
FIXME
====Process====
* Move wanted music into ''1 Remove Tags''
* Copy into ''2 Beets Import''
* Copy any groups of songs that form albums into folders (folder name doesn't matter)
* Use dBpoweramp edit ID-Tag to remove all the tags from all songs in ''2 Beets Import''
* Run ''folderize.bat''
* Run ''beets.bat''
* Tag each of the songs or albums with the desired tags
* If none of the suggested albums are correct, use the ''Enter search'' option to search musicBrainz
* If a song still isn't getting the correct suggested tags use the ''as Tracks'' option to tag the song without an album, which will be fixed in a later step
* Run ''beets-rm'' to remove all the songs from the library
* If there are any songs in the ''3 Convert\Fix'' folder
* Run ''beets-fix.bat'' and process the songs again
* Run ''beets-rm'' again
* Use dBpoweramp Music Converter to convert resulting folders in ''3 Convert''
* Should only have to configure this once
* For the songs in lossless formats that aren't Apple Lossless:
* Select the Apple Lossless encoding setting
* Select ''Verify Written Audio''
* Output to ''Single Folder > Processing\4 Add to iTunes''
* Add ''ReplayGain'' DSP Effect
* Write > ''Track, Album Gain & iTunes Album Normalization''
* Advanced Options > Gain Calculation > ''EBU R128'', ''-18''
* Add ''ID Tag Processing'' DSP Effect
* Additions > Add New > ''Comment'' with the content ''ReplayGain'd''
* For other formats:
* Select the ''ReplayGain'' encoding
* Use same ReplayGain settings as above
* Use dBpoweramp edit ID-Tag to add a comment tag containing ''ReplayGain'd'' to the files
* Copy the files into ''4 Add to iTunes''
* Sort the songs that are quality upgrades of songs already in iTunes from the new songs
* Copy the new songs in ''4 Add to iTunes'' to ''iTunes\iTunes Media\Automatically Add to iTunes\''
* Wait until the next day to add the upgrade songs (This allows them to be in a separate date category)
* Fix any issues with metadata/artwork for all the added songs
* ''File > Library > Show Duplicate Items''
* Create a playlist (Called ''Duplicates'') from all the songs shown (This may not get all the upgraded songs)
* ''View > View As > Songs''
* Add ''Date Added'' column (If not already there), then sort by date added
* Delete the upgraded files from iTunes, selecting ''Keep Files''
* Right-click > Copy the old songs in the duplicates playlist
* Close iTunes
* Paste the old songs into a temp folder to be deleted after the process has worked (Careful not to move the new files instead)
* Open iTunes
* Try playing the old songs, iTunes will ask to locate the files, give it the new files