curl more effective get attachments on slow connection

This commit is contained in:
localhost_frssoft 2022-05-03 01:36:53 +03:00
parent 714fd120db
commit 5c08b9de1a

View file

@ -451,7 +451,7 @@ statuses_render()
"Next") next=1; clear ;; "Next") next=1; clear ;;
"Media") "Media")
for one_media in $attachments; do for one_media in $attachments; do
mpv "$one_media" curl -s --tcp-fastopen "$one_media" --output - | mpv -
done done
;; ;;
"Share and favorite") share_and_favorite_mode "$id_status" ;; "Share and favorite") share_and_favorite_mode "$id_status" ;;