Removing StreamRanker reduced track matching to direct index reuse. When a
next episode has a different audio/subtitle track layout (common with anime
multi-sub releases or mixed sources), the stored index points at the wrong
track. StreamRanker scores by codec/language/title/relative index and only
applies a match above threshold, otherwise falls back to media defaults.
Restores utils/streamRanker.ts and its use in getDefaultPlaySettings so the
cleanup PR stays behavior-preserving for playback.
Removes extensive dead code including unused components, utilities, and augmentations that were no longer referenced in the codebase.
Simplifies play settings logic by removing complex stream ranking algorithm in favor of direct previous index matching for audio and subtitle selections.
Removes aspectRatio prop from video player as it was set to a constant "default" value and never changed.
Inlines POSTER_CAROUSEL_HEIGHT constant directly where used instead of importing from centralized constants file.
Eliminates unused features including image color extraction for TV platforms, M3U8 subtitle parsing, and various Jellyfin API helpers that were no longer needed.
Cleans up credential management by making internal helper functions private that should not be exposed to external consumers.