local-bin/apsalar/feishin

12 lines
291 B
Text
Raw Normal View History

2023-07-24 09:27:57 +03:00
#!/bin/sh
# Wrapper for Feishin to auto start/stop jellyfin-rpc
2023-07-24 09:27:57 +03:00
if [ ! -f "$HOME/.local/bin/jellyfin-rpc" ]; then
echo "Please ensure jellyfin-rpc is installed to ~/.local/bin/ and executable"
fi
$HOME/.local/bin/jellyfin-rpc &
/opt/feishin/feishin
2023-07-24 09:27:57 +03:00
kill -9 $(pgrep -f jellyfin-rpc)
exit