update path

This commit is contained in:
sudacode 2025-03-24 22:53:04 -07:00
parent c1718bc086
commit 1b62414392
Signed by: sudacode
SSH Key Fingerprint: SHA256:lT5C2bB398DcX6daCF/gYFNSTK3y+Du3oTGUnYzfTEw

View File

@ -1,8 +1,9 @@
#!/usr/bin/env bash
EP="$1"
DIR="/truenas/sudacode/japanese/nihongo-con-teppei/Nihongo-Con-Teppei-E$EP.mp3"
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
if mpv --profile=builtin-pseudo-gui --vid=1 --external-file=pod/cover.jpg "$DIR"; then
echo "Finished playing Nihongo Con Teppei E$EP"
else
echo "Failed to play Nihongo Con Teppei E$EP"