aboutsummaryrefslogtreecommitdiff
path: root/src/stream_command.sh
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-22 16:40:55 -0700
committerFuwn <[email protected]>2023-09-22 16:41:18 -0700
commit8d0afde92c498add2d32bc8b275eb415041df45a (patch)
tree2bdecfa31adc1d116a8aa34bca9e9c230aec45cc /src/stream_command.sh
parentfeat(stream): implement url streamer (diff)
downloadkaguya-8d0afde92c498add2d32bc8b275eb415041df45a.tar.xz
kaguya-8d0afde92c498add2d32bc8b275eb415041df45a.zip
feat(stream): use memento
Diffstat (limited to 'src/stream_command.sh')
-rw-r--r--src/stream_command.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream_command.sh b/src/stream_command.sh
index 9ae913c..32b1e65 100644
--- a/src/stream_command.sh
+++ b/src/stream_command.sh
@@ -66,8 +66,8 @@ if [ -n "${args['--username']}" ]; then
media_command+=(-p "${args['--password']}")
fi
-mplayer \
- -sub /tmp/skyla_subtitles.*.ass \
+memento \
+ --sub-file="/tmp/skyla_subtitles.en-US.ass" \
"$("${media_command[@]}")"
rm /tmp/skyla_subtitles.*.ass