feat(config): add party pause and auto host default config options

This commit is contained in:
Travis Shivers 2020-09-09 00:05:00 -05:00
parent df7828f738
commit a895af6c89
No known key found for this signature in database
GPG Key ID: EE4CC2891B8FCD33
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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,