From e431d829ac3cf30e2c6195d4129f41ea6988a9fd Mon Sep 17 00:00:00 2001 From: coolnsx Date: Sat, 16 Aug 2025 18:58:37 +0530 Subject: [PATCH] wrapping should work properly. Probably. --- jellyfin | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jellyfin b/jellyfin index 673d753..58519b1 100755 --- a/jellyfin +++ b/jellyfin @@ -99,10 +99,12 @@ mpv_jellyfin() { 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" if uname -o | grep -q 'ndroid'; then - text="Title: $2\nURL: $url\n" + text="Title: $2\nURL: $url" [ -n "$sub_arg" ] && text="$text\nSub URL: $sub" - printf "\n%s" "$text" - printf "%s" "$text" | termux-clipboard-set + #shellcheck disable=SC2059 + printf "\n$text" + #shellcheck disable=SC2059 + printf "$text" | termux-clipboard-set return 0 fi #shellcheck disable=SC2086