Damus

Recent Notes

menherahair :redeyeorb:  profile picture
@nprofile1q... @nprofile1q... I find the slav discourse in the Hitler Fandom is generally impossibly retarded. the friend-enemy distinction just goes haywire when they realize slavs are whiter than cocaine and don't give a shit about the west. then this has to confront all the dehumanization towards slavs made up for the purposes of eastern front and other ww2 era ambitions, numerous collaborations proving these wrong, and the eternal attitude of "KILL GERMANS KILL GERMANS" proving them right ("""right""") because judging some things by ancestry is a retarded fucking idea. so I think teto like most people of his sort hates slavs because it's a nazi vibe and then goes back home and eats bigos anyway
menherahair :redeyeorb:  profile picture
@nprofile1q... @nprofile1q... there's plenty of ancestry worth taking pride in in Europe, and it makes sense to favor the place you're living in, it's just silly because "pole german and russian walk into a bar" jokes used to be a cultural pillar here and together you form the trifecta. you could picture a flick where you two debate superiority of ww2 era germany and russia and then both go back home to eat momss bigos anyway
menherahair :redeyeorb:  profile picture
@nprofile1q... basically the user radio in My Summer Car has to be supplied vorbis encoded files named track${n}.ogg so it's a pain to add or remove tracks even given your collection is already vorbis encoded
so I toss my files in $inputdir, have script find them cached or reencode and cache with the hashed filename, then hardlink in $outputdir with the right filename. so I can easily use my file manager for editing my radio like a normal person. I'll welcome any better ideas

#!/bin/bash
#

[[ -d "in" ]] || exit 1
mkdir -vp "out" "cache" || exit 1
rm out/*

j=1
for i in in/*; do
n="out/track$((j++)).ogg"
h="cache/$(sha1sum <<< $i).ogg"

if [[ -f "$h" ]]; then
ln -v "$h" "$n"

elif [[ "$i" =~ ogg$ ]]; then
cp -v "$i" "$h" && ln -v "$h" "$n"

else
ffmpeg \
-i "$i" \
-acodec libvorbis \
-vn \
-b:a 128k \
-frame_duration 60 \
"$h" &&
ln -v "$h" "$n"

fi
done