mirror of
http://gitea.phreedom.club/localhost_frssoft/pleroma-cli
synced 2024-11-25 11:51:28 +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,
|
"reversed_statuses": false,
|
||||||
"quoting_reply": true,
|
"quoting_reply": true,
|
||||||
"copy_mentions": true,
|
"copy_mentions": true,
|
||||||
|
"default_media_player": "mpv",
|
||||||
"public_list_instances": [
|
"public_list_instances": [
|
||||||
"outerheaven.club",
|
"outerheaven.club",
|
||||||
"stereophonic.space",
|
"stereophonic.space",
|
||||||
|
|
|
@ -40,6 +40,7 @@ reversed_statuses=$(jj -i config.json reversed_statuses)
|
||||||
quoting_reply=$(jj -i config.json quoting_reply)
|
quoting_reply=$(jj -i config.json quoting_reply)
|
||||||
copy_mentions=$(jj -i config.json copy_mentions)
|
copy_mentions=$(jj -i config.json copy_mentions)
|
||||||
per_status_mode=$(jj -i config.json per_status_mode)
|
per_status_mode=$(jj -i config.json per_status_mode)
|
||||||
|
default_media_player=$(jj -i config.json default_media_player)
|
||||||
|
|
||||||
#[AUTH SECTION]
|
#[AUTH SECTION]
|
||||||
mkdir -m 711 -p .app_sessions
|
mkdir -m 711 -p .app_sessions
|
||||||
|
@ -494,7 +495,7 @@ statuses_render()
|
||||||
;;
|
;;
|
||||||
"Media")
|
"Media")
|
||||||
for one_media in $attachments; do
|
for one_media in $attachments; do
|
||||||
mpv "$one_media"
|
$default_media_player "$one_media"
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
"Share and favorite") share_and_favorite_mode "$id_status" ;;
|
"Share and favorite") share_and_favorite_mode "$id_status" ;;
|
||||||
|
|
Loading…
Reference in a new issue