Skip to content

Instantly share code, notes, and snippets.

View mia-riezebos's full-sized avatar
🥶
this is my film, you're an extra

Mia Riezebos mia-riezebos

🥶
this is my film, you're an extra
View GitHub Profile
@mia-riezebos
mia-riezebos / artist-album-title-ext
Last active February 15, 2022 01:30
MusicBrainz Picard tagger script (artist/album/title.ext)
$set(__year,$left(%date%,4))
$set(__publisher,$if($and($eq(%albumartist%,Various Artists),%label%),$rreplace(%label%,[/_:],-),$rreplace(%albumartist%,[/_:],-)))
$set(__releasegroup,$if(%albumartist%,$rreplace(%album%,[/_:],-)))
$set(__trackno,$if($gt(%totaldiscs%,1),%discnumber%-,)$if($and(%albumartist%,%tracknumber%),$num(%tracknumber%,2) , ))
$set(__title,$rreplace($if(%_multiartist%,%artist% - ,)%title%,[/_:],-))
%__publisher%/%__year% - %__releasegroup%/%__trackno%%__title%
@mia-riezebos
mia-riezebos / reconvert.sh
Last active January 6, 2022 20:41
Recursive converter using ffmpeg (example uses flac -> m4a/alac)
#!/bin/bash
# assembled & improved by mia-cx
# sources used:
# - https://superuser.com/a/1307579
# - https://stackoverflow.com/a/31605674
# - https://stackoverflow.com/a/965072
# read relative "working" directory
read -e -p "Working directory: " -i "./" RELDIR
@mia-riezebos
mia-riezebos / exiftool-music-organizer.sh
Last active August 14, 2023 17:34
organizing your music using exiftool
#!/bin/bash
# exiftool music organizer
# this generates an "artist/album/song"-organized music library (based on metadata)
# it also moves and renames songs into this library based on metadata
# IN/OUT
read -p "Input Directory: " -e INPUT_DIR
read -p "Output Directory: " -e OUTPUT_DIR

The Abyss

A place meant for anonymously venting your daily struggles, no matter how severe.

Interface

dark grey web page with subtle twinkling stars in the background, a message fades in and stays a certain duration depending on the length of the message. after that duration, a next button and a text box appear so that you can read more vents or even post your own vent. Every time a vent is read, a shooting star will shoot across the screen. A possibility to anonymously reply to a vent you've read, if on the receiving end of such a reply, a slightly slower and bigger shooting star will shoot across the screen and drop into a little envelope at the bottom left just above the textbox, where the receiver can click the envelope and read the reply. the envelope is hidden until a user receives their first reply. when there are unread replies, the envelope will have a white fill, if there are no new replies, the envelope will only have a white stroke.