Did the bulk file changer and copied the Modified time stamp to the Accessed time stamp, ran foobar2000 to do track gain and then album gain. Looks like I've now got RG for Albums and Tracks with album peaks and track peaks. Looking at the files I see that foobar2000 preserved the Modified time stamp so now the Accessed and Modified timestamps are the same which I don't see as a big deal. Couldn't find any documentation on foobar2000 leaving the Modified timestamps alone! Anyone have any info on that?
Announcement
Collapse
No announcement yet.
Adding ReplayGain tags
Collapse
X
-
Main system - Rock Solid with LMS 8.3.1 on WHS 2011 - 2 Duets ( both WiFi, farthest unit gets 60% signal strength and always works since new power supply) and Squeeseslave
Cabin system - Rock solid with LMS 8.3.1 on Win10 Pro - 1 RPi 3 Model B (WiFi) /Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave
Squeezebox Boom - "At Large" player around both home and cabin
Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin)
-
Originally posted by w3wilkes View PostDid the bulk file changer and copied the Modified time stamp to the Accessed time stamp, ran foobar2000 to do track gain and then album gain. Looks like I've now got RG for Albums and Tracks with album peaks and track peaks. Looking at the files I see that foobar2000 preserved the Modified time stamp so now the Accessed and Modified timestamps are the same which I don't see as a big deal. Couldn't find any documentation on foobar2000 leaving the Modified timestamps alone! Anyone have any info on that?
I don’t run LMS on Windows but I expose my music files via Samba so it’s effectively the sameJim
VB2.4 storage QNAP TS419p (NFS)
Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
Dining Room SB Radio
Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
Comment
-
I just use metaflac to add replay gain.
This script I use will work (FLAC files only) IF you have your files organized by Artist/Album (where each album has its own folder) (not sure how else it could/should be organized)
This script will walk the directory entered in the FIRST line. My files are in ~/Music/FLAC, so starting there will process all FLAC files.
If you want to use this, test on one Album (or Artist) first:
Code:#!/bin/bash StartDir=$HOME/Music/FLAC # No trailing slash! count=0 function walk_tree { local directory="$1" local i for i in "$directory"/* do if [ -d "$i" ]; then # Process directory and then walk-down ls "$i/"*.flac | grep -i -q -s ".flac$" # Does directory contain FLAC files? if [ $? -eq 0 ] ; then echo "Adding replay gain tags to:" for j in "$i/"*.flac do echo "$j" let count++ done /usr/local/bin/metaflac --preserve-modtime --add-replay-gain "$i/"*.flac echo "$i done!" # echo directory that we're in echo $count files processed. fi walk_tree "$i" # DO NOT COMMENT OUT THIS LINE!! else continue # replace continue with command to process individual file "$i" (i.e. echo "$i") fi done } # Process FLAC files in starting directory cd "$StartDir" ls *.flac | grep -i -q -s ".flac$" # Does directory contain FLAC files? if [ $? -eq 0 ] ; then echo "Adding replay gain tags to:" for j in *.flac do echo "$j" let count++ done /usr/local/bin/metaflac --preserve-modtime --add-replay-gain *.flac echo "$StartDir done!" # echo directory that we're in echo $count files processed. fi # Now walk down tree in this directory walk_tree "$StartDir"
Tony
SBTouch ♪ SBRadio ♬
Comment
Comment