mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-22 02:01:27 +00:00
Default media player variable inserted in config
This commit is contained in:
parent
eeb88482f6
commit
95d04e57d1
|
@ -17,6 +17,7 @@
|
|||
"reversed_statuses": false,
|
||||
"quoting_reply": true,
|
||||
"copy_mentions": true,
|
||||
"default_media_player": "mpv",
|
||||
"public_list_instances": [
|
||||
"outerheaven.club",
|
||||
"stereophonic.space",
|
||||
|
|
|
@ -40,6 +40,7 @@ reversed_statuses=$(jj -i config.json reversed_statuses)
|
|||
quoting_reply=$(jj -i config.json quoting_reply)
|
||||
copy_mentions=$(jj -i config.json copy_mentions)
|
||||
per_status_mode=$(jj -i config.json per_status_mode)
|
||||
default_media_player=$(jj -i config.json default_media_player)
|
||||
|
||||
#[AUTH SECTION]
|
||||
mkdir -m 711 -p .app_sessions
|
||||
|
@ -494,7 +495,7 @@ statuses_render()
|
|||
;;
|
||||
"Media")
|
||||
for one_media in $attachments; do
|
||||
mpv "$one_media"
|
||||
$default_media_player "$one_media"
|
||||
done
|
||||
;;
|
||||
"Share and favorite") share_and_favorite_mode "$id_status" ;;
|
||||
|
|
Loading…
Reference in a new issue