2020-06-29 06:05:07 +00:00
|
|
|
const defaults = {
|
|
|
|
servers: [
|
|
|
|
{
|
2020-08-27 23:17:42 +00:00
|
|
|
name: 'Local Server',
|
|
|
|
location: 'Local',
|
|
|
|
url: '',
|
|
|
|
image: 'synclounge-white.png',
|
2020-06-29 06:05:07 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
|
|
|
|
authentication: {
|
|
|
|
mechanism: 'none',
|
|
|
|
},
|
|
|
|
|
|
|
|
default_slplayer_autoplay: true,
|
|
|
|
default_slplayer_force_transcode: false,
|
|
|
|
default_slplayer_volume: 1,
|
|
|
|
default_client_poll_interval: 1000,
|
|
|
|
default_sync_flexability: 3000,
|
|
|
|
default_sync_mode: 'cleanseek',
|
2020-08-14 00:38:29 +00:00
|
|
|
default_auto_skip_intro: false,
|
2020-06-30 21:47:12 +00:00
|
|
|
|
|
|
|
slplayer_plex_timeline_update_interval: 10000,
|
2020-07-31 02:08:44 +00:00
|
|
|
slplayer_controls_visible_checker_interval: 250,
|
2020-09-29 00:56:21 +00:00
|
|
|
slplayer_initial_skip_intro_visible_period: 8000,
|
2020-07-09 23:53:09 +00:00
|
|
|
|
|
|
|
// Controlls the max time difference cutoff for syncing by changing the playback speed
|
|
|
|
slplayer_speed_sync_max_diff: 10000,
|
|
|
|
|
|
|
|
// The playback rate (1 +/- rate) that is used when speed syncing
|
2020-07-19 01:04:01 +00:00
|
|
|
slplayer_speed_sync_rate: 0.5,
|
2020-07-28 02:00:36 +00:00
|
|
|
slplayer_seek_timeout: 15000,
|
2020-08-05 18:03:53 +00:00
|
|
|
|
|
|
|
// Buffering goal in seconds
|
|
|
|
slplayer_buffering_goal: 120,
|
2020-08-08 20:56:11 +00:00
|
|
|
slplayer_soft_seek_threshold: 200,
|
2020-07-04 00:13:23 +00:00
|
|
|
sidebar_time_update_interval: 500,
|
2020-07-05 23:42:38 +00:00
|
|
|
|
|
|
|
// If the plex client's time changes by this much from the expected time, trigger a state change
|
|
|
|
plex_client_time_delta_state_change_threshold: 500,
|
2020-07-17 23:52:27 +00:00
|
|
|
plex_auth_check_interval: 1000,
|
2020-07-19 00:58:44 +00:00
|
|
|
|
|
|
|
socket_server_health_timeout: 2000,
|
2020-07-23 02:06:46 +00:00
|
|
|
|
|
|
|
// TODO: investigate the average length of closing credits
|
|
|
|
synclounge_upnext_trigger_time_from_end: 45000,
|
|
|
|
synclounge_upnext_popup_lifetime: 60000,
|
2020-07-28 02:31:38 +00:00
|
|
|
|
2020-09-09 05:05:00 +00:00
|
|
|
default_party_pause_enabled: true,
|
2020-10-05 03:29:27 +00:00
|
|
|
default_auto_host_enabled: false,
|
2020-10-13 21:22:52 +00:00
|
|
|
default_are_notification_enabled: false,
|
|
|
|
default_are_sound_notification_enabled: false,
|
2020-09-09 05:05:00 +00:00
|
|
|
|
2020-07-28 02:31:38 +00:00
|
|
|
force_slplayer: false,
|
2020-08-08 20:56:11 +00:00
|
|
|
|
|
|
|
// Skip ahead time in ms
|
|
|
|
skip_ahead_time: 10000,
|
|
|
|
|
|
|
|
// Sync flexibility when players are paused
|
|
|
|
paused_sync_flexibility: 10,
|
2020-06-29 06:05:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = defaults;
|