12 lines
291 B
Bash
Executable File
12 lines
291 B
Bash
Executable File
#!/bin/sh
|
|
# Wrapper for Feishin to auto start/stop jellyfin-rpc
|
|
|
|
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
|
|
kill -9 $(pgrep -f jellyfin-rpc)
|
|
exit
|