1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Refactor media session to playback subscriber

This commit is contained in:
Bill Thornton 2024-10-27 01:22:23 -04:00
parent c3614a0c8c
commit 68bac124af
12 changed files with 268 additions and 383 deletions

View file

@ -1,8 +1,11 @@
/** The number of milliseconds per second */
export const MILLISECONDS_PER_SECOND = 1_000;
/** The number of ticks per millisecond */
export const TICKS_PER_MILLISECOND = 10_000;
/** The number of ticks per second */
export const TICKS_PER_SECOND = 1_000 * TICKS_PER_MILLISECOND;
export const TICKS_PER_SECOND = MILLISECONDS_PER_SECOND * TICKS_PER_MILLISECOND;
/** The number of ticks per minute */
export const TICKS_PER_MINUTE = 60 * TICKS_PER_SECOND;