2023-07-24 09:27:57 +03:00
|
|
|
#!/bin/sh
|
2024-04-19 11:58:27 +03:00
|
|
|
# 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 &
|
2024-04-19 11:58:27 +03:00
|
|
|
/opt/feishin/feishin
|
2023-07-24 09:27:57 +03:00
|
|
|
kill -9 $(pgrep -f jellyfin-rpc)
|
|
|
|
exit
|