Attachments links in statuses

This commit is contained in:
localhost_frssoft 2022-04-15 21:18:30 +03:00
parent 34439334f1
commit bf4e53e8ad

View file

@ -347,7 +347,8 @@ statuses_render()
attachments=$(echo $status | jj -l media_attachments.#.remote_url | delq)
if [ -n "$attachments" ]; then
echo "#EXTINF:-1, $uri" >> attachments.m3u8
echo "$attachments" >> attachments.m3u8
echo '[Attachments:]'
echo "$attachments" | tee -a attachments.m3u8
fi
echo "$statuses_separator"
done