mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-18 05:32:06 +00:00
- Display only the main artist. - Display the title in its original language without romanization. - fix #3358 - fix #3641
26 lines
777 B
TypeScript
26 lines
777 B
TypeScript
/**
|
|
* Application ID registered by @th-ch/youtube-music dev team
|
|
*/
|
|
export const clientId = '1177081335727267940';
|
|
/**
|
|
* Throttle time for progress updates in milliseconds
|
|
*/
|
|
export const PROGRESS_THROTTLE_MS = 15_000;
|
|
/**
|
|
* Time in milliseconds to wait before sending a time update
|
|
*/
|
|
export const TIME_UPDATE_DEBOUNCE_MS = 5000;
|
|
/**
|
|
* Filler character for padding short Hangul strings (Discord requires min 2 chars)
|
|
*/
|
|
export const HANGUL_FILLER = '\u3164';
|
|
|
|
/**
|
|
* Enum for keys used in TimerManager.
|
|
*/
|
|
export enum TimerKey {
|
|
ClearActivity = 'clearActivity', // Timer to clear activity when paused
|
|
UpdateTimeout = 'updateTimeout', // Timer for throttled activity updates
|
|
DiscordConnectRetry = 'discordConnectRetry', // Timer for Discord connection retries
|
|
}
|