From 5c08b9de1a5c8e407a145e16aa5b25d25f8ffa23 Mon Sep 17 00:00:00 2001 From: localhost_frssoft Date: Tue, 3 May 2022 01:36:53 +0300 Subject: [PATCH] curl more effective get attachments on slow connection --- pleroma-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pleroma-cli.sh b/pleroma-cli.sh index da1d44d..e6c1b7f 100755 --- a/pleroma-cli.sh +++ b/pleroma-cli.sh @@ -451,7 +451,7 @@ statuses_render() "Next") next=1; clear ;; "Media") for one_media in $attachments; do - mpv "$one_media" + curl -s --tcp-fastopen "$one_media" --output - | mpv - done ;; "Share and favorite") share_and_favorite_mode "$id_status" ;;