mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-25 11:51:28 +00:00
curl more effective get attachments on slow connection
This commit is contained in:
parent
714fd120db
commit
5c08b9de1a
|
@ -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" ;;
|
||||||
|
|
Loading…
Reference in a new issue