diff --git a/teppei/open.sh b/teppei/open.sh index 4ce8bd5..4aada83 100755 --- a/teppei/open.sh +++ b/teppei/open.sh @@ -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"