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
1 changed files with 1 additions and 1 deletions

View File

@ -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" ;;