synclounge/config/defaults.js

62 lines
1.5 KiB
JavaScript
Raw Normal View History

const defaults = {
servers: [
{
name: 'Local Server',
location: 'Local',
url: '',
image: 'synclounge-white.png',
},
],
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,
// 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,
// Buffering goal in seconds
slplayer_buffering_goal: 120,
slplayer_soft_seek_threshold: 200,
sidebar_time_update_interval: 500,
// 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,
synclounge_max_recent_room_history: 100,
// TODO: investigate the average length of closing credits
synclounge_upnext_trigger_time_from_end: 45000,
synclounge_upnext_popup_lifetime: 60000,
force_slplayer: false,
// Skip ahead time in ms
skip_ahead_time: 10000,
// Sync flexibility when players are paused
paused_sync_flexibility: 10,
};
module.exports = defaults;