Wholphin/app/schemas/com.github.damontecres.wholphin.data.AppDatabase
Damontecres 3f60fa7550
Add option to override user profile settings for audio & subtitle languages (#1680)
## Description
Adds settings under the "User profile settings" section which allows for
specifying preferred languages for audio and subtitles and the preferred
subtitle mode.

By default (matching existing Wholphin behavior), the preferred
languages and subtitle mode are derived from the user's profile settings
provided by the server which can be set on the WebUI:
User->Settings->Playback or Subtitles. However, this isn't well
understood and Wholphin doesn't display these values anywhere, so many
users were confused.

The preferred languages and subtitle mode can now be configured from
within Wholphin. Setting these will **not** update the server. The
settings are **only** used locally.

### Related issues
Related to #319
Closes #790

### Testing
Emulator manually changing some settings, added additional unit tests to
ensure the overrides are respected when choosing tracks

## Screenshots
### Settings page
<img width="1280" height="720" alt="settings_01 Large"
src="https://github.com/user-attachments/assets/28cc2f6b-3a60-42a4-b268-48695086d566"
/>

### Clicking into "More user profile settings"
<img width="1280" height="720" alt="settings_02 Large"
src="https://github.com/user-attachments/assets/6c3be3aa-c177-4d44-8060-b76d15fb10d7"
/>

### Language choice dialog

Can filter languages by typing in the search box at the top

<img width="1280" height="720" alt="settings_03 Large"
src="https://github.com/user-attachments/assets/c014d0ba-8d5b-4201-a6ee-4876b478148c"
/>


## AI or LLM usage
None
2026-07-14 14:17:31 -04:00
..
2.json Remember playback choices & fix some track selection issues (#26) 2025-10-17 17:19:44 -04:00
3.json Remember playback choices & fix some track selection issues (#26) 2025-10-17 17:19:44 -04:00
4.json Remember playback choices & fix some track selection issues (#26) 2025-10-17 17:19:44 -04:00
5.json Add ability to customize the navigation drawer menu (#60) 2025-10-23 15:57:26 -04:00
6.json Remember library/collection sorting (#150) 2025-11-03 12:15:41 -05:00
7.json Update device profile for Jellyfin 10.11 (#293) 2025-11-21 20:16:49 -05:00
8.json Add ability to filter libraries, collection, etc (#308) 2025-11-23 10:40:18 -05:00
9.json Customize display of library grid pages (#368) 2025-12-04 12:20:50 -05:00
10.json Add setting to protect a user profile with a PIN (#356) 2025-12-04 14:37:27 -05:00
11.json Persist audio & subtitle track changes for series if in different language (#405) 2025-12-11 10:16:45 -05:00
12.json MPV: Adjust subtitle delay/offset (#470) 2025-12-15 10:06:36 -05:00
20.json Add integration with Jellyseerr/Seerr (#558) 2026-01-12 16:35:27 -05:00
30.json Add support for viewing photos in photo albums (#703) 2026-02-04 20:04:46 -05:00
31.json Add ability to order navigation drawer items (#886) 2026-02-12 19:55:12 -05:00
32.json Add option to require server login for user profile (#1367) 2026-05-20 12:00:02 -04:00
33.json Support configuring interface language per user (#1406) 2026-05-24 09:55:08 -04:00
34.json Store remembered tabs in app database instead of preferences (#1541) 2026-06-08 13:45:38 -04:00
35.json Add option to override user profile settings for audio & subtitle languages (#1680) 2026-07-14 14:17:31 -04:00