Category: Personal

Using eyeD3 to change a bunch of mp3’s information in bulk.

I needed to modify a ton of mp3 files today, and thought I would document it for me, and, for you.

rename all files based on id3 tags ** use with caution

eyeD3 --rename '$artist - $album - $title' *.mp3


find . -name \*.mp3 -execdir eyeD3 --rename '$artist - $album - $title' *.mp3 {} \;


find . -type f -name ".*" -delete
find . -type f -name "*.m3u" -delete
find . -type f -name "*.nfo" -delete
find . -type f -name "*.sfv" -delete
find . -type f -name "*.zip" -delete

SET ALL TAGS TO ID3 Version 2.4

find . -name \*.mp3 -execdir eyeD3 --to-v2.4 {} \;


find . -name \*.mp3 -execdir eyeD3 --genre= --remove-object Comments {} \;


find . -name \*.mp3 -execdir eyeD3 --genre "Drum & Bass" {} \;
find . -name \*.mp3 -execdir eyeD3 --genre "Breakbeat" {} \;
find . -name \*.mp3 -execdir eyeD3 --genre "Rock" {} \;


detox -n -r -v -s utf_8 /mnt/gluster/Music


detox -r -v -s utf_8 /mnt/gluster/Music


find . -name \*.mp3 -exec rename - _ '{}' \;


# eyeD3 --plugin=genres

  0: Blues                               96: Big Band
  1: Classic Rock                        97: Chorus
  2: Country                             98: Easy Listening
  3: Dance                               99: Acoustic
  4: Disco                              100: Humour
  5: Funk                               101: Speech
  6: Grunge                             102: Chanson
  7: Hip-Hop                            103: Opera
  8: Jazz                               104: Chamber Music
  9: Metal                              105: Sonata
 10: New Age                            106: Symphony
 11: Oldies                             107: Booty Bass
 12: Other                              108: Primus
 13: Pop                                109: Porn Groove
 14: R&B                                110: Satire
 15: Rap                                111: Slow Jam
 16: Reggae                             112: Club
 17: Rock                               113: Tango
 18: Techno                             114: Samba
 19: Industrial                         115: Folklore
 20: Alternative                        116: Ballad
 21: Ska                                117: Power Ballad
 22: Death Metal                        118: Rhythmic Soul
 23: Pranks                             119: Freestyle
 24: Soundtrack                         120: Duet
 25: Euro-Techno                        121: Punk Rock
 26: Ambient                            122: Drum Solo
 27: Trip-Hop                           123: A Cappella
 28: Vocal                              124: Euro-House
 29: Jazz+Funk                          125: Dance Hall
 30: Fusion                             126: Goa
 31: Trance                             127: Drum & Bass
 32: Classical                          128: Club-House
 33: Instrumental                       129: Hardcore
 34: Acid                               130: Terror
 35: House                              131: Indie
 36: Game                               132: BritPop
 37: Sound Clip                         133: Negerpunk
 38: Gospel                             134: Polsk Punk
 39: Noise                              135: Beat
 40: AlternRock                         136: Christian Gangsta Rap
 41: Bass                               137: Heavy Metal
 42: Soul                               138: Black Metal
 43: Punk                               139: Crossover
 44: Space                              140: Contemporary Christian
 45: Meditative                         141: Christian Rock
 46: Instrumental Pop                   142: Merengue
 47: Instrumental Rock                  143: Salsa
 48: Ethnic                             144: Thrash Metal
 49: Gothic                             145: Anime
 50: Darkwave                           146: JPop
 51: Techno-Industrial                  147: Synthpop
 52: Electronic                         148: Abstract
 53: Pop-Folk                           149: Art Rock
 54: Eurodance                          150: Baroque
 55: Dream                              151: Bhangra
 56: Southern Rock                      152: Big Beat
 57: Comedy                             153: Breakbeat
 58: Cult                               154: Chillout
 59: Gangsta Rap                        155: Downtempo
 60: Top 40                             156: Dub
 61: Christian Rap                      157: EBM
 62: Pop / Funk                         158: Eclectic
 63: Jungle                             159: Electro
 64: Native American                    160: Electroclash
 65: Cabaret                            161: Emo
 66: New Wave                           162: Experimental
 67: Psychedelic                        163: Garage
 68: Rave                               164: Global
 69: Showtunes                          165: IDM
 70: Trailer                            166: Illbient
 71: Lo-Fi                              167: Industro-Goth
 72: Tribal                             168: Jam Band
 73: Acid Punk                          169: Krautrock
 74: Acid Jazz                          170: Leftfield
 75: Polka                              171: Lounge
 76: Retro                              172: Math Rock
 77: Musical                            173: New Romantic
 78: Rock & Roll                        174: Nu-Breakz
 79: Hard Rock                          175: Post-Punk
 80: Folk                               176: Post-Rock
 81: Folk-Rock                          177: Psytrance
 82: National Folk                      178: Shoegaze
 83: Swing                              179: Space Rock
 84: Fast Fusion                        180: Trop Rock
 85: Bebob                              181: World Music
 86: Latin                              182: Neoclassical
 87: Revival                            183: Audiobook
 88: Celtic                             184: Audio Theatre
 89: Bluegrass                          185: Neue Deutsche Welle
 90: Avantgarde                         186: Podcast
 91: Gothic Rock                        187: Indie Rock
 92: Progressive Rock                   188: G-Funk
 93: Psychedelic Rock                   189: Dubstep
 94: Symphonic Rock                     190: Garage Rock
 95: Slow Rock                          191: Psybient

Making a cheap bookshelf using milk-crates

A couple weekends ago, my fiance and myself came up with the idea to make custom bookshelf using milk-crates. We didn’t actually have any milk crates, so we had to scour sites like Kijiji and Craigslist to find people in our area giving them away, or selling them cheaply. We also aquired some from a small corner store we visit frequently, first for free, then having to pay small amounts for them until we cleared them out!

Making this bookshelf will be pretty straightforward, and you don’t need many tools or additional items to make it. And, all you really need for this design is a total of 6 milk crates. However, this can change based on your design or what you plan on extending it to. 

First we had to figure out how wide the two milkcrates pushed together would be, so my fiance decided to use a small lighter to visualize the width before heading over to the home store. Not sure if this is the best method, but it seemed to work – lol!

So, let’s get down to business and start building this thing!

Here’s the list of stuff we had to procure.

  • Box of 1.5″ by 1/4″ stove bolts, with nuts. We got the box of 100 total nuts and bolts.
  • Box of 5/16″ fender washers (small hole, big disc)
  • Drill + drill bit (depending on bolt location)
  • Vice Grips, Wrench or (ugh!) Pliers to hold the bolt
  • 1 or 2 bottles of spray paint of your choosing. We picked Gold cause bling!

Now that you have parts procured and ready

So, now you’re going to want to lay out your shelf. Make sure to keep in mind that you may need to get it up, and down stairs or around tight corners. So, don’t make it too long, or, assemble it in it’s final resting place.

For our design, we chose to make a ‘staircase’ or ‘triangle’ out of the milk-crates, using 6 crates in total. This allows us to have it sitting in a triangle formation on the ground with shoe or other storage below, and 6 large spaces for books that will show up on an angle. You could also put it in a ‘staircase’ format up the wall, and have top shelves available for plants or other accessories.

You can do stepped shelves
Or, be fun like us and do a triangular shape !

So, once you have your design finalized (maybe you want to make an atari spaceship, or a rectangle, or whatever) lay out your milk crates in the design you want to get together.

Figure out where you want to put the bolts into the milk crates that will join them together securely, and easily. We chose to put 3 bolts per join, so in total we used this to secure ours (6 join spots):

  • 18 Bolts
  • 18 Nuts
  • 18 Washers

This is what we did to join ours together

First, we held them together and drilled a hole for the bolts.
Then, we tightened down with a screwdriver and vice-grips, or whatever they are called 🙂
Ended up looking like this, nice and tight!

What did it all cost?

  • Milk Crates – Free + $10
  • 2 Cans of spray paint  – $25.58
  • Fender Washers – $11.65 (50 qty) ($4.14 cost for the whole shelf)
  • Stove Bolts + Nuts – $15.61 (100 qty)  ($2.88 cost for this whole shelf)

Grand total of $42.60 with plenty of nuts/bolts/washers for more shelves!



Adding Speed Test and a Dark Theme to Pi-Hole Ad Blocker

Just keeping these notes here for anyone else that might find them useful.

First, install Pi-Hole as per regular.

Then, You’ll want to get the Dark Theme going with pi-hole.

  1. Open a terminal (or SSH if you’re remoting in) ( Ctrl + Alt + T )
  2. Type: cd /var/www/html/
  3. Type: sudo wget
  4. Type: sudo chmod +x
  5. Type: sudo ./
  6. Follow the onscreen instructions!

Then, verify it is working (you might have to clear cache) and that you see the dark theme.

Now you can install the Speed Test Module for Pi-Hole.

sudo apt install python-pip

sudo pip install speedtest-cli

sudo apt install sqlite3

#Configure correct timezone for graph *Need for graph to work correctly

sudo dpkg-reconfigure tzdata

#select your timezone

Find php version 

if it is 5.x

if it is 7.x

Restart Pi

You can try run it using

If Everything is ok, proceed to next step

Get the new set of admin Code from github ( New method  or try old one here)


Then do this to test your installation, and then reload the Pi-Hole interface.

You should be good to go! Let me know in the comments if you’re not.