Commit Graph

497 Commits

Author SHA1 Message Date
cthelight
39dad7666c Subtitles: Auto-select default option
On other players (web/andriod app) the user perferences for
subtitle behavior are taken into account, and used to make an
assumption about subtitle behavior.

This patch ports most of that logic here. "Smart" selection is not
yet fully-featured, as it requires additional knowledge about audio
language preferences. Rather it uses the fallback mechanism, which
emulates the "Default" subtitle option.

The logic for the different options was based on the main jellyfin
repo (specifically sha 49d5fdb33fc9792147c1df03e1d1b051e6b7ec79 in
file Emby.Server.Implementations/Library/MediaStreamSelector.cs)

Additionally, this implementation specifically prefers text-based
subtitles (assuming they match the user's preference) as they are
the only ones natively supported by Roku.

Also, the subtitle changing mechanism is reworked slightly to make
use of the new implementation herein
2022-05-22 17:08:54 -05:00
Neil Burrows
5251c46270
Merge branch 'master' into add-screen-events 2022-05-19 21:41:29 +01:00
Nick Wallace
1a1fd242f3
Favorite a Live TV Channel (#584) 2022-05-14 11:13:28 +01:00
candry7731
91ed00dd41
Add Series, Season and episode navigation (#557) 2022-05-12 19:11:59 +01:00
Neil Burrows
fac1b95497 Ensure Movie Details focus returns to button row after popup 2022-05-10 08:04:23 +01:00
Neil Burrows
ab6dc6fe39 Fix maxWidth property on ScrollingLabel 2022-05-02 07:40:00 +01:00
Neil Burrows
395b6153bb Move MPEG 2 support from system setting to user setting, and into new setting screen 2022-05-01 11:53:39 +01:00
Neil Burrows
2cf45677c6 User setting screen 2022-05-01 11:51:28 +01:00
Jimi
dde60c9fd0 Prevent crashes. 2022-04-30 07:02:03 -06:00
Jimi
10cfcabea7 Merge branch 'master' into feature/jf-478-audio-track-for-tv-shows 2022-04-26 06:27:43 -06:00
whiteowl3
be1d4a579c
Support strms (#548)
Authored-by: @whiteowl3
2022-04-26 09:12:00 +01:00
Jimi
5ffa09f602 Allow selection of different audio tracks for tv shows 2022-04-24 09:10:18 -06:00
whiteowl3
dbf2c3c5c5
add profile for .sub subtitles
otherwise they are encoded into directstreams
2022-03-29 15:54:46 -04:00
whiteowl3
1c268ff2a7 check if we can decode hevc before we say we can 2022-03-29 02:21:02 +01:00
whiteowl3
cdc7939a09
add h265/hevc to deviceCapabilities.tsVideoCodecs
fixes #513
2022-03-28 15:40:34 -04:00
Jimi
1cf1af8bc0 Formatting (gets me everytime) 2022-03-13 08:24:08 -06:00
Jimi
1e1b396f85 Fix to alternate version playback 2022-03-13 08:22:55 -06:00
Jimi
129be19a07 Merge branch 'master' into feature/531-mulitple-movie-video-streams 2022-03-13 05:49:36 -06:00
debmint
0f18add523
Movie extras (#520) 2022-03-13 08:46:03 +00:00
Jimi
ecde74cd3e Implement Version selection for Movies 2022-03-12 18:10:50 -07:00
Jimi
2d79b74fcc Merge branch 'master' into feature/211-Support-For-Photos 2022-02-13 13:53:50 -07:00
Jimi
68df29c6ca Hide overhang when viewing photos. 2022-02-06 15:37:40 -07:00
Jimi
593f863949 Cleanup and stubbed out shuffle option 2022-02-06 10:10:29 -07:00
Jimi
bc5c61a519 Initial support for photo viewing 2022-02-06 08:37:02 -07:00
Jimi
ce7e30b873 Add video and audio codec info to TV show details 2022-02-04 18:53:54 -07:00
Neil Burrows
4b87511372
Merge branch 'master' into feature/jf-roku-404-record-livetv 2022-01-20 17:41:58 +00:00
Neil Burrows
06186d8cf5
Merge branch 'master' into audio-track-selection-2 2022-01-15 17:03:01 +00:00
Neil Burrows
6525bcf83c Set appropriate Audio Stream to use for Direct Play 2022-01-15 17:02:43 +00:00
Neil Burrows
f6d9695761 Revert "Merge pull request #504 from neilsb/set-mediasourceid-correctly"
This reverts commit 0e2d621263, reversing
changes made to d5c316586b.
2022-01-09 15:55:31 +00:00
jimiatnymbl
6290a9e407 Formatting 2022-01-09 07:56:52 -07:00
jimiatnymbl
572963e28f Don't show buttons when user doesn't have access. 2022-01-08 23:31:27 -07:00
jimiatnymbl
76c96ab1e7 WIP 2022-01-08 22:43:17 -07:00
Neil Burrows
0921e26114
Merge branch 'master' into feature/save-servers 2022-01-02 16:25:42 +00:00
jimiatnymbl
611e19e030 Formatting 2021-12-29 20:55:02 -07:00
jimiatnymbl
1876dd29bd Working with new checkbox 2021-12-29 20:51:39 -07:00
jimiatnymbl
32cfd72d44 WIP 2021-12-29 18:00:13 -07:00
jimiatnymbl
450448ac96 Efficient stuff 2021-12-26 14:03:59 -07:00
jimiatnymbl
897338b9dc Fix formatting 2021-12-26 13:41:32 -07:00
jimiatnymbl
a0feb86bbf Working version 2021-12-26 13:25:58 -07:00
jimiatnymbl
2aece6ef5d WIP (added server name to saved list) 2021-12-26 11:52:43 -07:00
Cody Robibero
718ea567b8
Merge branch 'master' into feature/save-servers 2021-12-24 04:22:20 +00:00
jimiatnymbl
48c81f97d7 Formatting 2021-12-23 21:08:43 -07:00
jimiatnymbl
6a38b7b598 Working version 2021-12-23 21:07:35 -07:00
Anthony Lavado
5fedcb4fdb
Merge branch 'master' into feature/482-add-livetv-onnow 2021-12-23 18:52:25 -05:00
jimiatnymbl
c3cb43ad4d Working v1 (no username or pass) 2021-12-23 15:17:38 -07:00
Neil Burrows
a7eadeb42b Fix case of AND in IF statement 2021-12-23 07:56:57 +00:00
Neil Burrows
0aff3c46f6 Remove rale tracker comment (commited in error) 2021-12-23 07:54:46 +00:00
Neil Burrows
96bd2ccada Get correct video node now that it is nested 2021-12-23 07:51:53 +00:00
jimiatnymbl
b56bc03d90 Working v1 2021-12-17 23:03:33 -07:00
Anthony Lavado
83cc8bd5a1
Merge branch 'master' into handle-missing-transcode-url 2021-12-03 14:54:16 -05:00
Neil Burrows
3812ff2446 Remove redundant setting of property 2021-12-03 17:54:56 +00:00
Neil Burrows
3262eaaf38 Display dialog when a required transcode url is not provided by the server 2021-12-03 09:40:15 +00:00
Neil Burrows
f1b753911d Set MediaSourceId to the correct value, no videoId 2021-12-03 07:15:08 +00:00
Neil Burrows
fc91237af9
Merge branch 'master' into login-screen-visiblity 2021-11-14 15:31:28 +00:00
Neil Burrows
167e536b30 Prevent Login Screens hiding main Scene 2021-11-14 11:35:49 +00:00
Neil Burrows
a5474b0dc2 Fixed Mark Watched functionality 2021-11-13 10:47:13 +00:00
Neil Burrows
6d239cd671
Merge branch 'master' into group-stack 2021-10-17 10:59:47 +01:00
JD Layman
44064aff2b Push scenes onto the stack quickly to prevent extra button presses when retriving series/movie info 2021-10-16 15:03:10 -05:00
Neil Burrows
f86bc56673 formatting 2021-10-12 08:21:39 +01:00
Neil Burrows
f27c5e206a Add Max Audio Channel condition to supported codecs 2021-10-12 08:13:25 +01:00
JD Layman
0937265139 Implement ability to clear scenes in SceneManager and move login flow to use scene manager 2021-10-09 21:14:32 -05:00
JD Layman
f5dbeb5205 Rename GroupStack to SceneManager to make functionality more obvious 2021-10-09 21:14:32 -05:00
JD Layman
6eb283de1b Abstract remaining overhang functionality with groupStack so overhang is never accessed directly 2021-10-09 21:14:32 -05:00
JD Layman
59370a2d4a Always request active group before performing operations in main loop 2021-10-09 21:14:31 -05:00
JD Layman
6c03736e41 Apply focus after attaching node to scene
This fixes problems where focus was not properly applied to videos resulting in lack of controls
2021-10-09 21:14:31 -05:00
JD Layman
692cb8e922 Add filter information to title when browsing a collection 2021-10-09 21:14:31 -05:00
JD Layman
be24a19c8f Add groups to stack to manage active group for main scene 2021-10-09 21:14:31 -05:00
Neil Burrows
d727f0b924 Update Authorization header 2021-09-12 15:43:25 +01:00
JD Layman
3bb85157e6 Move video playstate reporting into video component. 2021-09-05 00:09:55 -05:00
JD Layman
4a0907ca21 Report playback progress in a separate thread to reduce render latency. 2021-09-01 20:10:44 -05:00
JD Layman
641056435e Avoid double processing of options key after certain video types 2021-09-01 20:10:44 -05:00
JD Layman
a7c6737e1f Support MPEG2 codec when available
Support playing video using the MPEG-2 codec when supported by the device. Enabled
by option since MPEG-2 requires high bandwidth and some users report issues with
MPEG-2 decoding on some Roku models.
2021-08-31 19:56:49 -05:00
Neil Burrows
568e81c040 Support AEC3 in mp3 and direct audio containers 2021-08-01 12:33:07 +01:00
Neil Burrows
2224e08a10 Fix hvec transcoding when not required 2021-08-01 11:45:32 +01:00
Bronley
43b4ac3fc9 Format all brs files 2021-07-28 06:51:15 -04:00
Bronley
30377d3ebd Fix crash when validating serverUrl 2021-07-15 22:32:34 -04:00
Bronley
acdb635f7a Fix lint issues. 2021-07-09 15:16:43 -04:00
Bronley
fa2452c037 Merge branch 'master' of https://github.com/jellyfin/jellyfin-roku into ssdp-scan 2021-07-09 06:53:16 -04:00
Bronley
6ca6603a57 Undo hardcoded "always show config screen" 2021-07-09 06:42:26 -04:00
Bronley
ebd49cefb3 Finished with initial flow 2021-07-09 06:17:04 -04:00
Bronley
44bf6d2b12 Add ui components and focus handling 2021-07-09 06:12:19 -04:00
Anthony Lavado
ec4177eaa3
Remove then from IF line 2021-06-28 20:17:34 -04:00
Anthony Lavado
ba1a8f649d
Merge branch 'master' into add-brightscript-linter 2021-06-28 20:15:34 -04:00
Neil Burrows
6d757653da Linter: Consistent IF statement format
No parentheses.  Use THEN if it's a one line statement.  Don't use THEN if it's a block statement
2021-06-26 14:52:16 +01:00
Neil Burrows
13c2391ba7 Linter Fixes: Use of unassigned variables 2021-06-26 14:51:19 +01:00
Neil Burrows
579475a34c Linter: Code style: remove parenthesis around conditions 2021-06-26 11:24:38 +01:00
Neil Burrows
da54bc86fe Linter: Change any function that doesn't return a value to a sub 2021-06-26 11:18:09 +01:00
Neil Burrows
38fa383b4d Linter Warnings
Variable Capitalization, Unused Variables, Unreachable Code
2021-06-26 11:04:32 +01:00
Neil Burrows
10a3b1d4b1
Merge branch 'master' into subtitle-variable-error 2021-06-26 08:12:43 +01:00
Neil Burrows
2bc6c7923d Correct typo in variable name 2021-06-26 08:09:59 +01:00
Neil Burrows
a92ef61d43 Remove return value from ReportPlayback sub 2021-06-24 09:28:28 +01:00
Neil Burrows
fcbb284a7b
Merge branch 'master' into transcoding-logic-rework 2021-06-16 08:40:36 +01:00
Neil Burrows
26fe8afb1d
Add MaxStaticBitrate to PlaypackInfo post
Co-authored-by: Cody Robibero <cody@robibe.ro>
2021-06-16 08:38:16 +01:00
Anthony Lavado
cdfb470c6e
Merge branch 'master' into forget-user-on-signout 2021-06-15 09:55:21 -04:00
Anthony Lavado
b878193f56
Merge branch 'master' into transcoding-logic-rework 2021-06-15 09:54:40 -04:00
Neil Burrows
81232e1de7
Update source/api/Items.brs 2021-06-14 21:03:24 +01:00
Neil Burrows
c58fa3cfb5
Merge branch 'master' into transcoding-logic-rework 2021-06-12 17:19:14 +01:00
Neil Burrows
b4c09a6700 Fix incorrect selection when pressing back in subtitle dialog 2021-06-12 16:30:32 +01:00
Neil Burrows
2fd45dddc9 Move subtitle code to Subtitle.brs file 2021-06-12 16:09:41 +01:00
Neil Burrows
4a51923816 Remove unused functions 2021-06-12 16:04:21 +01:00