I was told to leave it alone, but I have this thing called OCD, you see

This commit is contained in:
coolnsx
2025-08-16 18:49:53 +05:30
parent f71f117880
commit 672adfdd12

View File

@@ -99,7 +99,7 @@ mpv_jellyfin() {
sub="$JF_URL/Videos/$ITEM_ID/$1/Subtitles/0/0/Stream.ass?api_key=$JF_TOKEN" sub="$JF_URL/Videos/$ITEM_ID/$1/Subtitles/0/0/Stream.ass?api_key=$JF_TOKEN"
! curl -s "$sub" | grep -q "Error processing request" && sub_arg="--sub-file=$sub" ! curl -s "$sub" | grep -q "Error processing request" && sub_arg="--sub-file=$sub"
if uname -o | grep -q 'ndroid'; then if uname -o | grep -q 'ndroid'; then
printf "Title %s\n" "$2" printf "\nTitle: %s\n" "$2"
printf "URL: %s\n" "$url" printf "URL: %s\n" "$url"
[ -n "$sub_arg" ] && printf "Sub URL: %s\n" "$sub" [ -n "$sub_arg" ] && printf "Sub URL: %s\n" "$sub"
return 0 return 0