mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-24 23:11:28 +00:00
Attachments links in statuses
This commit is contained in:
parent
34439334f1
commit
bf4e53e8ad
|
@ -347,7 +347,8 @@ statuses_render()
|
||||||
attachments=$(echo $status | jj -l media_attachments.#.remote_url | delq)
|
attachments=$(echo $status | jj -l media_attachments.#.remote_url | delq)
|
||||||
if [ -n "$attachments" ]; then
|
if [ -n "$attachments" ]; then
|
||||||
echo "#EXTINF:-1, $uri" >> attachments.m3u8
|
echo "#EXTINF:-1, $uri" >> attachments.m3u8
|
||||||
echo "$attachments" >> attachments.m3u8
|
echo '[Attachments:]'
|
||||||
|
echo "$attachments" | tee -a attachments.m3u8
|
||||||
fi
|
fi
|
||||||
echo "$statuses_separator"
|
echo "$statuses_separator"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue