Commit graph

36 commits

Author SHA1 Message Date
ferezvi
5aed96e43c
fix: exclude mp4 container from AC3 surround passthrough fallback
AC3 audio in an MP4 container is an invalid codec/container
combination. Restrict the surround passthrough fallback to
containers other than mp4 to avoid producing invalid direct
play profiles.
2026-06-13 16:53:07 -06:00
Ferezvi
1426f36e8c fix: force AC3 passthrough when 5.1 surround output is active
Some devices incorrectly report AC3 passthrough as unsupported via
CanDecodeAudio() even when 5.1 surround output is enabled. Work around
this by assuming AC3 support whenever surround output is active.

EAC3 and DTS passthrough detection is left unchanged — CanDecodeAudio()
correctly reports those on tested hardware.
2026-06-07 15:58:46 -06:00
ferezvi
13ebeecdba fix: scope audio passthrough to codecs reported by GetAudioDecodeInfo
The previous implementation assumed all passthrough codecs (ac3, eac3, dts)
were supported whenever surround output was active, regardless of the actual
device audio configuration.

Instead, use GetAudioDecodeInfo() to check whether each passthrough codec is
available in the current audio configuration. This respects the user's digital
output selection in Roku system settings — for example, a device configured
for Dolby Digital only will have AC3 but not DD+ or DTS in the decode info.

Note: GetAudioDecodeInfo uses 'DD+' as the key for eac3, not 'eac3'.
2026-06-07 09:46:14 -06:00
Ferezvi
9ec484e2a8 feat: declare AC3/EAC3/DTS as supported when system audio is set to 5.1 surround 2026-05-17 08:34:29 -06:00
Jimi
7fbe867419 Code cleanup 2026-03-12 18:19:21 -06:00
Jimi
6e6f974a39
Update source/utils/deviceCapabilities.bs
Co-authored-by: 1hitsong <3330318+1hitsong@users.noreply.github.com>
2026-03-12 06:39:16 -06:00
Jimi
387c1a81d9 Add missing h264 profiles and levels. 2026-03-08 05:39:17 -06:00
Jimi
435d38d9e9 Add anamorphic choice to mpeg2, av1, vp9 2026-02-26 16:44:05 -07:00
Jimi
cd63c4129f New setting for anamorphic video 2026-02-24 06:42:29 -07:00
Marc Reisner
5d2e3887b1 Allow anamorphic video to direct play 2026-02-22 19:12:33 -06:00
Marc Reisner
fe0bf876c1 Add link to Jellyfin server video range type code 2026-02-14 18:35:24 +00:00
Marc Reisner
3e47596b4a Add DOVI with SDR fallback range type 2026-02-14 18:35:24 +00:00
Marc Reisner
d6c642294a Add HDR10+ to VP9 video range types 2026-02-14 18:35:24 +00:00
Marc Reisner
564fa867a8 Add HDR10+ to HEVC video range types 2026-02-14 18:35:23 +00:00
Marc Reisner
f71134bff8 Change range type from HDR10+ to HDR10Plus
Reference: https://github.com/jellyfin/jellyfin/blob/master/Jellyfin.Data/Enums/VideoRangeType.cs#L72
2026-02-14 18:35:23 +00:00
Marc Reisner
500ccda7f4 Add DOVI with fallback range types 2026-02-14 18:35:23 +00:00
Brian Pardy
5381023777 Add Maximum Audio Channels setting 2025-10-09 16:33:24 -04:00
1hitsong
c002810813 Add options for Remux and No Remux for force transcoding 2025-09-02 14:26:26 -04:00
1hitsong
391475642d Change Force Transcode setting to be radio with 3 options.
Convert previously selected option to new format
2025-09-02 08:52:35 -04:00
1hitsong
bc30e7ce4b Update force transcode to disallow remux. Burn subtitles if transcode 2025-08-29 17:21:24 -04:00
1hitsong
45db36d800 Change branding from viv to Jellyfin 2025-03-22 12:02:59 -04:00
Jimi
bac96ac1eb Fix error with long movies when transcoding (but not Force Transcoding) 2025-02-03 20:38:22 -07:00
1hitsong
e390519e36 Main code clean up 2024-11-23 17:09:49 -05:00
1hitsong
5afcf1be64 Create setting and option to force transcoding
Fixes #71
2024-11-01 23:44:29 -04:00
1hitsong
375514bafc Create a force transcoding user setting 2024-11-01 22:04:37 -04:00
1hitsong
c8c451d9e7 Update device profile name
Fixes #50
2024-09-25 14:28:26 -04:00
1hitsong
4ca76733b0 Don't directplay AAC if profile is main. Transcode to AC3
Fixes #36
2024-09-19 11:31:39 -04:00
1hitsong
31665265b4 Further code cleanup. Update readme. 2024-08-07 20:46:03 -04:00
1hitsong
5e1ecb1b6a Remove more console logging 2024-08-07 08:28:09 -04:00
1hitsong
5fa4c733fd Remove unused and duplicated functions 2024-08-07 08:19:10 -04:00
Chris Forte
ed5d73de4b combine audio codec settings 2024-02-15 09:57:37 -05:00
Chris Forte
425512b00f add preferred audio codec option 2024-02-12 14:59:06 -05:00
Charles Ewert
a592bd8f07 Merge remote-tracking branch 'upstream/unstable' into rename-files 2023-11-10 19:36:58 -05:00
Charles Ewert
323b147401 Merge remote-tracking branch 'upstream/unstable' into rename-files 2023-11-04 21:01:11 -04:00
Charles Ewert
a6a242e661 rename all brs files to bs and update import calls 2023-10-03 12:11:25 -04:00
Charles Ewert
d4b9510326 rename all files to use .bs file extension 2023-10-03 11:42:10 -04:00
Renamed from source/utils/deviceCapabilities.brs (Browse further)