Skip to content

Instantly share code, notes, and snippets.

View DevER-M's full-sized avatar
💤
learning

Mithun DevER-M

💤
learning
View GitHub Profile
@DevER-M
DevER-M / BeetsGuide.md
Created January 16, 2026 06:56
A guide on how to use beets, a media library manager

Basic configuration

  • Discogs for metadata is recommended so get an api key for it
  • Discogs adds a cover_art_url column in the db which fetchart can use instead of doing another new request from cover art archive/any other
  • When importing using beets do beet import -t YOURALBUM this will always ask on whether if the metadata is ok
image image image
  • Use Foobar2000 or harmonoid for synced lyrics
@DevER-M
DevER-M / flactoaac.sh
Created May 31, 2025 14:13
flac to aac batch transcoder
#!/bin/bash
set -e
newdir="${PWD##*/}"
mkdir -p "$newdir"
process_file() {
local i="$1"
@QinMing
QinMing / .zshrc
Last active June 21, 2024 02:06
.zshrc (lazy loading shell functions)
# Copyright (c) 2016-2018 Ming Qin (覃明) <https://github.com/QinMing>
# Open source under MIT LICENSE.
lazy_load() {
# Act as a stub to another shell function/command. When first run, it will load the actual function/command then execute it.
# E.g. This made my zsh load 0.8 seconds faster by loading `nvm` when "nvm", "npm" or "node" is used for the first time
# $1: space separated list of alias to release after the first load
# $2: file to source
# $3: name of the command to run after it's loaded
# $4+: argv to be passed to $3