mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 02:01:27 +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 ;;
|
||||
"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" ;;
|
||||
|
|
Loading…
Reference in a new issue