Files
App/player/config.ts
Violet Caulfield cad499913f Hotfix for fixing previous track button
at over 3 seconds of playback, this will seek to the beginning of the track

else we will skip to the previous track if there is one
2025-04-22 06:04:48 -05:00

8 lines
227 B
TypeScript

export const UPDATE_INTERVAL: number = 50 // 8 milliseconds
/**
* Indicates the seconds the progress position must be
* less than in order to do a skip to the previous
*/
export const SKIP_TO_PREVIOUS_THRESHOLD: number = 4