scripts/teppei/open.sh
2025-03-21 02:52:28 -07:00

10 lines
305 B
Bash
Executable File

#!/usr/bin/env bash
EP="$1"
export FONTCONFIG_FILE="$HOME/.config/mpv/mpv-fonts.conf"
if mpv --profile=builtin-pseudo-gui --vid=1 --external-file=pod/cover.jpg "pod/Nihongo-Con-Teppei-E$EP.mp3"; then
echo "Finished playing Nihongo Con Teppei E$EP"
else
echo "Failed to play Nihongo Con Teppei E$EP"
fi