Commit Graph

17 Commits

Author SHA1 Message Date
Charles Ewert
2389af0868
Enable brighterscript, create NPM build scripts, install and use roku-log, and use bsc import statements (#1173) 2023-05-03 17:21:04 -04:00
Charles Ewert
8939ecc9c5 Merge remote-tracking branch 'upstream/unstable' into expand-global-var 2023-04-22 09:57:27 -04:00
Charles Ewert
cefbefaaa6 save deviceInfo to global var + use new vars whereever possible 2023-03-27 12:50:44 -04:00
1hitsong
99958ab0c4 Don't init subs on intros. Rework fallback subs font. 2023-03-25 21:52:12 -04:00
1hitsong
de93258e3f Use fs.exists() instead of fs.find()
Fixes #1128
2023-03-25 20:18:59 -04:00
Jinho Kim
bd5a05563a Custom subtitles added to options
Custom subtitles can be enabled via * > Settings > Playback > Use Custom Subtitles

Fallback font downloaded only if it is enabled in system settings

Cleaned up various code
2023-02-19 13:30:48 -05:00
Jinho Kim
facec489ad Change Background/* settings to affect rectangle
Remove text outline
Add background rectangle
2023-02-10 12:18:17 -05:00
Jinho Kim
cc2b966570 Add captionStyle support 2023-02-07 18:37:03 -05:00
Jinho Kim
6e5e14444e Optimize parseVTT
Change back to gettofile

Fix default font in captionTask

Update captionTask.brs
2023-02-06 10:18:00 -05:00
Jinho Kim
305ac54d8d Fix variable initialization in captionTask 2023-02-04 16:54:05 -05:00
Jinho Kim
1ee4ef8d12 Move font download to Main.brs
Optimize parseVTT performance
2023-02-04 13:07:40 -05:00
Jinho Kim
15a25b14df Fix subtitle uri 2023-02-02 19:43:53 -05:00
Jinho Kim
09045c32c8 Change subtitle visibility to follow Roku
Subtitle now follows Roku config

Subtitle now updates immediately when changing languages
2023-02-02 01:53:36 -05:00
Jinho Kim
0bcb779507 Remove font files from pkg
Now it downloads from the fallback folder if available. Defaults to LargeBoldSystemFont. Subtitles are displayed with an outline instead of a background rectangle

TODO : take captionstyle into account
2023-01-31 20:32:02 -05:00
Jinho Kim
2b56ed5f8e remove "then" from if statements
The project should validate now
2023-01-29 19:52:10 -05:00
Jinho Kim
ec1bc7e0a0 Fix playerState
JFVideo updates playerState for captionTask

Moved pkg:/fonts to pkg:/components/fonts
2023-01-26 21:36:11 -05:00
Jinho Kim
2fc121fc50 Subtitle rendering using a task node
Crude subtitle renderer piggybacking on the JFVideo component
2023-01-26 19:03:09 -05:00