Modified old jellyfin wrapper for feishin

This commit is contained in:
Siina Mashek 2024-04-19 11:58:27 +03:00
parent 9388a66727
commit dd25a91ce8

View File

@ -1,11 +1,11 @@
#!/bin/sh
# Wrapper for Jellyfin Media Player to auto start/stop jellyfin-rpc
# 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 &
/usr/bin/jellyfinmediaplayer
/opt/feishin/feishin
kill -9 $(pgrep -f jellyfin-rpc)
exit