API_KEY constant in the userscript – the key is set only via the Manager icon.GM_getValue / GM_setValue).player.user.js).@updateURL / @downloadURL (player.user.js).user_twitch_auth; key in auto-created twitch-hls.secret.php.$twitchAuthToken in config.php / twitch-hls.config.php.twitch_auth_modal.php).$defaultMaxServers setting in config.php, exposed as the DEFAULT_MAX_SERVERS constant (can be overridden in twitch-hls.config.php).DEFAULT_MAX_SERVERS.max_servers set explicitly from the config value.$hlsRewindMinutes using the real segment lengths; segments outside the window are deleted.$hlsRewindMinutes in config.php with the real 2s segment length.?servers_json=1 every 5 seconds.?export_pls=1).!all, !favs, !last, !clear, !fav <channel>.last_activity about once per minute and prevent false auto-cleanup.$tcpHlsBaseDir.last_activity are stopped automatically (inactivity detected via player + external clients).external_client.