mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2026-01-07 07:07:54 -05:00
refactor: refactored 4k detection fix to be more consistent with how movie logic works
This commit is contained in:
@@ -278,10 +278,7 @@ class JobJellyfinSync {
|
|||||||
ExtendedEpisodeData.MediaSources?.some((MediaSource) => {
|
ExtendedEpisodeData.MediaSources?.some((MediaSource) => {
|
||||||
return MediaSource.MediaStreams.some((MediaStream) => {
|
return MediaSource.MediaStreams.some((MediaStream) => {
|
||||||
if (MediaStream.Type === 'Video') {
|
if (MediaStream.Type === 'Video') {
|
||||||
if (
|
if ((MediaStream.Width ?? 0) >= 2000) {
|
||||||
(MediaStream.Width ?? 0) >= 3840 &&
|
|
||||||
(MediaStream.Height ?? 0) >= 2160
|
|
||||||
) {
|
|
||||||
total4k += episodeCount;
|
total4k += episodeCount;
|
||||||
} else {
|
} else {
|
||||||
totalStandard += episodeCount;
|
totalStandard += episodeCount;
|
||||||
|
|||||||
Reference in New Issue
Block a user