Update device profile for Jellyfin 10.11 (#293)

## Details

This PR updates the device profile used by ExoPlayer. It should more
accurately report support for HDR formats.

## Acknowledgements
This PR contains a commit (cd6351912af72d274b0baf50af4d777b986f0f46)
that has code copied and slightly modified from
https://github.com/jellyfin/jellyfin-androidtv `v0.19.4`.

Major acknowledgement & credit to the Jellyfin Android TV developers for
this code!

## Issues
Related to #15
This commit is contained in:
damontecres 2025-11-21 20:16:49 -05:00 committed by GitHub
parent ec852906b1
commit 20ab146c97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 472 additions and 150 deletions

View file

@ -145,6 +145,7 @@ class SwitchServerViewModel
id = id,
name = serverInfo.serverName,
url = serverUrl,
version = serverInfo.version,
)
serverRepository.addAndChangeServer(server)
val quickConnect =
@ -198,6 +199,7 @@ class SwitchServerViewModel
server.id.toUUID(),
server.name,
server.address,
null,
),
)
}