🢀︎ archlinux :: dc6f0ab


commit dc6f0abbf94ce321f654c82ddabb931d63a95313
Author: acidvegas <acid.vegas@acid.vegas>
Date:   Tue Jul 16 03:57:01 2019 -0400

    Updated music stuff

diff --git a/home/acidvegas/.bashrc b/home/acidvegas/.bashrc
index 9dedb77..0885340 100644
--- a/home/acidvegas/.bashrc
+++ b/home/acidvegas/.bashrc
@@ -15,7 +15,6 @@ alias ..='cd ../'
 alias cpass='pass | tr " " " "'
 alias diff='diff --color=auto'
 alias exa='exa -aghl --git'
-alias idgaf='find $HOME/music -exec id3v2 --delate-all \;'
 alias grep='grep --color=auto'
 alias ls='ls --color=auto'
 alias menu='eval `/usr/local/bin/slmenu -p "Run:" < ~/.config/menu`'
diff --git a/home/acidvegas/.scripts/cmus-playing b/home/acidvegas/.scripts/cmus-now
similarity index 100%
rename from home/acidvegas/.scripts/cmus-playing
rename to home/acidvegas/.scripts/cmus-now
diff --git a/home/acidvegas/.scripts/mutag b/home/acidvegas/.scripts/mutag
new file mode 100755
index 0000000..9ffbc8c
--- /dev/null
+++ b/home/acidvegas/.scripts/mutag
@@ -0,0 +1,9 @@
+#!/bin/sh
+find $HOME/music -type f | while read SONG; do
+	DIR=$(dirname "$SONG")
+	ARTIST=$(basename "$DIR")
+	TITLE=$(basename "${SONG%.*}")
+	eyeD3 --remove-all-images "$SONG"
+	id3v2 --delete-all "$SONG"
+	id3v2 --artist "$ARTIST" --song "$TITLE" -2 "$SONG"
+done
\ No newline at end of file
diff --git a/scripts/root.sh b/scripts/root.sh
index 3f48871..113440c 100644
--- a/scripts/root.sh
+++ b/scripts/root.sh
@@ -30,7 +30,7 @@ pacman -Rns logrotate
 pacman -S --needed base-devel
 pacman -S abduco acpi dash exa git gnupg fbida go imagemagick iotop links mlocate mps-youtube ncdu pass powertop profanity python weechat yotube-dl # imagemagick ?
 pacman -S adapta-gtk-theme dmenu dunst feh firefox lxappearance slock surf unclutter xclip # run lxappearence to change theme
-pacman -S alsa-oss alsa-utils cmus id3v2 mplayer
+pacman -S alsa-oss alsa-utils cmus id3v2 mplayer python-eyed3
 pacman -S mesa lib32-mesa xf86-video-amdgpu xf86-video-fbdev xorg-server xorg-xrdb xorg-xsetroot # revamp
 
 ln -sfT dash /usr/bin/sh