From 40671c80a745750a1b7361c5f2476f0ee3eada96 Mon Sep 17 00:00:00 2001 From: Cooper Ransom Date: Thu, 28 Mar 2024 14:19:10 -0400 Subject: [PATCH] Set 4K to higher priority --- src/components/player/atoms/NextEpisodeButton.tsx | 2 +- src/stores/player/utils/qualities.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/player/atoms/NextEpisodeButton.tsx b/src/components/player/atoms/NextEpisodeButton.tsx index da1dd110..517ecfd5 100644 --- a/src/components/player/atoms/NextEpisodeButton.tsx +++ b/src/components/player/atoms/NextEpisodeButton.tsx @@ -1,5 +1,5 @@ import classNames from "classnames"; -import React, { useCallback, useEffect } from "react"; +import React, { useCallback } from "react"; import { useTranslation } from "react-i18next"; import { Icon, Icons } from "@/components/Icon"; diff --git a/src/stores/player/utils/qualities.ts b/src/stores/player/utils/qualities.ts index afd90d25..5531fc63 100644 --- a/src/stores/player/utils/qualities.ts +++ b/src/stores/player/utils/qualities.ts @@ -38,7 +38,7 @@ const qualitySorting: Record = { "480": 20, "720": 30, "1080": 40, - "4k": 25, // 4k has lower priority, you need faster internet for it + "4k": 35, // 4k has lower priority, you need faster internet for it }; const sortedQualities: SourceQuality[] = Object.entries(qualitySorting) .sort((a, b) => b[1] - a[1])