2020-06-29 06:05:07 +00:00
|
|
|
const defaults = {
|
|
|
|
servers: [
|
|
|
|
{
|
|
|
|
name: 'SyncLounge AU1',
|
|
|
|
location: 'Sydney, Australia',
|
|
|
|
url: 'https://v3au1.synclounge.tv/slserver',
|
|
|
|
image: 'flags/au.png',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'SyncLounge EU1',
|
|
|
|
location: 'Amsterdam, Netherlands',
|
|
|
|
url: 'https://v2eu1.synclounge.tv/server',
|
|
|
|
image: 'flags/eu.png',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'SyncLounge US1',
|
|
|
|
location: 'Miami, United States',
|
|
|
|
url: 'https://v2us1.synclounge.tv/server',
|
|
|
|
image: 'flags/us.png',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'SyncLounge US2',
|
|
|
|
location: 'Miami, United States',
|
|
|
|
url: 'https://v3us1.synclounge.tv/slserver',
|
|
|
|
image: 'flags/us.png',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'SyncLounge US3',
|
|
|
|
location: 'Miami, United States',
|
|
|
|
url: 'https://v3us2.synclounge.tv/slserver',
|
|
|
|
image: 'flags/us.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-06-30 21:47:12 +00:00
|
|
|
|
|
|
|
slplayer_plex_timeline_update_interval: 10000,
|
|
|
|
slplayer_controls_visible_checker_interval: 500,
|
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-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-19 20:40:47 +00:00
|
|
|
synclounge_max_recent_room_history: 100,
|
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-06-29 06:05:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = defaults;
|