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

Rename to ask to skip

This commit is contained in:
viown 2024-10-15 15:09:54 +03:00
parent 0008f89267
commit 198d4b157c
3 changed files with 3 additions and 3 deletions

View file

@ -3,6 +3,6 @@
*/
export enum MediaSegmentAction {
None = 'None',
PromptToSkip = 'PromptToSkip',
AskToSkip = 'AskToSkip',
Skip = 'Skip'
}

View file

@ -78,7 +78,7 @@ class MediaSegmentManager extends PlaybackSubscriber {
const action = this.mediaSegmentTypeActions[mediaSegment.Type];
if (action === MediaSegmentAction.Skip) {
this.skipSegment(mediaSegment);
} else if (action === MediaSegmentAction.PromptToSkip) {
} else if (action === MediaSegmentAction.AskToSkip) {
this.promptToSkip(mediaSegment);
}
}