Add setting to force transcoding above a max resolution (#1955)

## Description
Adds a new setting to pick a maximum resolution (by height). Any
playback that has a larger resolution will be transcoded down to the
maximum resolution.

Playback equal or less than the maximum resolution will not be affected
and will direct play if otherwise able. This setting is also independent
of the maximum bitrate (ie if max resolution is 4K and max bitrate is
2mbps, playing 4K will transcode).

This setting is pretty much equivalent to the Web UI setting "Maximum
Allowed Video Transcoding Resolution" with "Limit maximum supported
video resolution" enabled.

Note: this setting does not affect which version is chosen by default

### Related issues
Closes #756
Closes #1594

### Testing
Manual emulator testing

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-10-03 18:41:18 -04:00 • committed by GitHub
parent b0d270380d
commit 559abe2458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 105 additions and 45 deletions

View file

@ -927,6 +927,25 @@
<string name="remove_from_playlist">Remove from playlist</string>
<string name="login_credentials_expired">Credentials expired, please login in again</string>
<string name="login_not_authorized">You are not authorized to access the server at this time</string>
<string name="max_resolution">Max resolution before transcoding</string>
<string name="resolution_8k">8K</string>
<string name="resolution_4k">4K</string>
<string name="resolution_1080">1080</string>
<string name="resolution_720">720</string>
<string name="resolution_576">576</string>
<string name="resolution_480">480</string>
<string name="resolution_360">360</string>
<string-array name="max_resolution_options">
<item>@string/no_limit</item>
<item>@string/resolution_8k</item>
<item>@string/resolution_4k</item>
<item>@string/resolution_1080</item>
<item>@string/resolution_720</item>
<item>@string/resolution_576</item>
<item>@string/resolution_480</item>
<item>@string/resolution_360</item>
</string-array>
<plurals name="episodes_count">
<item quantity="zero">%1$d Episodes</item>
<item quantity="one">%1$d Episode</item>