some video attachments not playable with curl pipe

This commit is contained in:
localhost_frssoft 2022-05-04 21:24:20 +03:00
parent eb5a57dd35
commit 902b5a40b2

View file

@ -455,7 +455,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
curl -s --tcp-fastopen "$one_media" --output - | mpv - mpv "$one_media"
done done
;; ;;
"Share and favorite") share_and_favorite_mode "$id_status" ;; "Share and favorite") share_and_favorite_mode "$id_status" ;;