From a895af6c89333ad1bf8b7569f8c22bdf4cd6a1ec Mon Sep 17 00:00:00 2001 From: Travis Shivers Date: Wed, 9 Sep 2020 00:05:00 -0500 Subject: [PATCH] feat(config): add party pause and auto host default config options --- config/defaults.js | 3 +++ src/store/modules/synclounge/actions.js | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/defaults.js b/config/defaults.js index 4ee5995c..e0dcc99f 100644 --- a/config/defaults.js +++ b/config/defaults.js @@ -49,6 +49,9 @@ const defaults = { synclounge_upnext_trigger_time_from_end: 45000, synclounge_upnext_popup_lifetime: 60000, + default_party_pause_enabled: true, + default_auto_host_enabled: true, + force_slplayer: false, // Skip ahead time in ms diff --git a/src/store/modules/synclounge/actions.js b/src/store/modules/synclounge/actions.js index 85afdd90..37780e9c 100644 --- a/src/store/modules/synclounge/actions.js +++ b/src/store/modules/synclounge/actions.js @@ -69,8 +69,8 @@ export default { roomId: getters.GET_ROOM, password: getters.GET_PASSWORD, desiredUsername: getters.GET_DISPLAY_USERNAME, - desiredPartyPausingEnabled: getters.IS_PARTY_PAUSING_ENABLED, - desiredAutoHostEnabled: getters.IS_AUTO_HOST_ENABLED, + desiredPartyPausingEnabled: rootGetters.GET_CONFIG.default_party_pause_enabled, + desiredAutoHostEnabled: rootGetters.GET_CONFIG.default_auto_host_enabled, thumb: rootGetters['plex/GET_PLEX_USER'].thumb, syncFlexibility: rootGetters['settings/GET_SYNCFLEXIBILITY'], ...joinPlayerData,