adding apsalar/global links

This commit is contained in:
Siina Mashek 2023-07-24 09:27:57 +03:00
parent 81ae4a7022
commit 4dfe4dcac5

View File

@ -0,0 +1,11 @@
#!/bin/sh
# Wrapper for Jellyfin Media Player 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
kill -9 $(pgrep -f jellyfin-rpc)
exit