Commit Graph

220 Commits

Author SHA1 Message Date
Austin Crandall
5b508e7024
Update source/utils/misc.brs
Co-authored-by: Charles Ewert <cewert@gmail.com>
2023-06-26 22:32:21 -04:00
Charles Ewert
013b37621c Merge remote-tracking branch 'upstream/unstable' into global-regex 2023-06-23 12:23:47 -04:00
Charles Ewert
4969cc7a13 remove aac from list of surround sound codecs 2023-06-23 10:23:21 -04:00
Charles Ewert
67424ae7b1 update possible direct play codecs 2023-06-06 22:14:17 -04:00
Charles Ewert
9acf98fba4 remove empty lines 2023-06-06 21:53:26 -04:00
Charles Ewert
3e26aabe01 remove uneeded code + update surround sound codec logic 2023-06-06 00:42:33 -04:00
Charles Ewert
9c6201b25e update prefered codecs and maxAudioChannel logic 2023-06-06 00:24:54 -04:00
Charles Ewert
adc769c625 update maxAudioChannel logic + update codecProfiles 2023-06-02 23:47:16 -04:00
Jimi
85739a1b00 Fix to crash 2023-06-02 08:40:30 -06:00
Charles Ewert
56bb2108b5 fix syntax error 2023-06-02 10:26:49 -04:00
Charles Ewert
8c3605c01a include video codec profile and level + include chCnt for audio codec 2023-06-02 00:37:22 -04:00
Charles Ewert
ff8e7c3471 update UpdateURL() to delete server session when connection failed 2023-06-01 23:21:42 -04:00
Charles Ewert
94bcf10231 update startover var and session if saver serverurl has no connection at s tartup 2023-06-01 23:08:56 -04:00
Charles Ewert
90ca547020 Merge remote-tracking branch 'upstream/unstable' into update-device-profile 2023-06-01 09:42:50 -04:00
Charles Ewert
bdfcac74e6
Implement global session var (#1224)
Co-authored-by: Jimi <jimi@thedodgefamily.com>
2023-06-01 08:43:27 -04:00
Charles Ewert
bb499cabd3 turn SupportsPersistentIdentifier off 2023-06-01 00:38:31 -04:00
Charles Ewert
0027295dad save to variable to prevent calling join() twice 2023-06-01 00:37:04 -04:00
Charles Ewert
9c0228a7e8 refactor GetDirectPlayProfiles to make no assumptions about codec 2023-06-01 00:35:08 -04:00
Charles Ewert
ba31ab7372 update hevc and mpeg2 CodecProfiles + always include container when checking a codec for ts container 2023-05-31 23:19:03 -04:00
Charles Ewert
04dbd2d010
Update device profile when device capabilities change + enable all device events (#1217) 2023-05-27 16:43:05 -04:00
sevenrats
459f0c6d10 function doc comments 2023-05-26 23:25:06 -04:00
sevenrats
1368fd855d use function per team conversation 2023-05-22 00:31:35 -04:00
sevenrats
8c3b980daf add reused regexes to globals 2023-05-21 12:49:08 -04:00
Charles Ewert
ccf60236d8 Merge remote-tracking branch 'upstream/unstable' into fix-crash-logs 2023-05-11 12:37:29 -04:00
Charles Ewert
b7b8a3461b Move setConstants() to globals.brs 2023-04-23 13:31:31 -04:00
Charles Ewert
ece472b91c Use functions to save app and device data to global 2023-04-22 14:57:35 -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
c4d5a7de0a
Setup rooibos test framework (#1141) 2023-04-22 09:03:44 -04:00
Charles Ewert
bb011f21f1 Remove unused global functions 2023-04-21 19:02:59 -04:00
Charles Ewert
089708c6d9 ensure selectedSubtitle is valid before using - fixes crash on line 87 2023-04-19 18:55:31 -04:00
1hitsong
c0a7c834f1 Add timestamps to sides of progress bar 2023-04-06 13:51:30 -04:00
Charles Ewert
cefbefaaa6 save deviceInfo to global var + use new vars whereever possible 2023-03-27 12:50:44 -04:00
Charles Ewert
25f03915ff
Remove optional chaining operators from code (#1085)
* remove optional chaining operators + use isValid() + remove extra white space
* address reviewer feedback
2023-03-09 14:35:29 -05:00
1hitsong
2eff1401d8
Add Genres, Parental Ratings, and Years as Movie Filters (#928)
* Add Movie Filters
* Add filter names to translations file.
* Only jump up if content is reloaded
2023-02-25 14:51:36 -05:00
1hitsong
a33ce8bd57
Playlist support & TV Shuffle (#986)
* Add TV Episode Shuffle
* Reuse playback info
* Get Subtitle Popup working
* Get Subtitle Popup working
* Get Resume/Restart popup working
* Playlist poster, bug fixes
* Remove commented out code
* Start from beginning if playing queue
* Fix Playback Info issue
* Remove optional chaining to fix formatter
* Fix playlist content list. Code cleanup.
* Remove commented out code
2023-02-25 11:43:36 -05:00
Jinho Kim
45dc9e5fa0
Merge branch 'unstable' into unstable 2023-02-21 12:42:22 -05: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
candry7731
96593813a1 Stop spinner, from continue watching option 2023-02-10 21:57:46 -06:00
candry7731
654c0b8aaf
Merge branch 'Add-Loading-ux-to-movies-details-screen' into candry-loadingux 2023-02-04 21:53:50 -06:00
Jimi
9d91ea942b Updates based on PR comments. 2023-02-04 07:21:27 -07:00
Jimi
dbf5bc8dcb Allow user to set a max bitrate 2023-02-04 06:54:39 -07:00
sevenrats
b54b5bdcc4 unbreak details spinners 2023-02-04 01:15:40 -05:00
sevenrats
3b00d3ab28 simpler spinner 2023-02-04 00:26:55 -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
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
0bee595dc3 Replace global caption with JF video caption 2023-01-26 19:12:52 -05:00
Jimi
686b5a1259 More straightfoward now that it's "maxlimited" instead of "unlimited" 2023-01-25 20:25:22 -07:00
Jimi
af43378a50 PR suggestions 2023-01-25 07:42:24 -07:00
Jimi
a1348f7b1a Allow for unlimited bitrate 2023-01-25 06:44:26 -07:00
1hitsong
e634227c2a
Merge pull request #920 from ApexArray/fix-crash-on-empty-contentId
Fix crash on empty contentId
2022-12-31 08:31:23 -05:00
1hitsong
aed417630e
Merge pull request #909 from ApexArray/set-maximum-bitrates
set maximum bitrates according to roku docs
2022-12-31 07:57:29 -05:00
Alex Wardle
9406003dc0 re-use inputType and lowercase string comparison 2022-12-29 13:28:03 -07:00
1hitsong
e7466d2e4a
Merge pull request #877 from 1hitsong/fixEpisodeFocus
Fix TV Episode focus issues
2022-12-29 08:25:07 -05:00
Alex Wardle
c0f0a605c1 add isValidAndNotEmpty() function 2022-12-28 17:50:50 -07:00
Alex Wardle
7fe0dbd0d0 fix crash if channel launched with bad arguments 2022-12-28 10:03:21 -07:00
Alex Wardle
8568668741 set maximum bitrates according to roku docs 2022-12-18 17:15:10 -07:00
Jimi
84bba357da
Merge branch 'unstable' into nobadsubs 2022-12-13 19:03:30 -07:00
sevenrats
5961f16087 no more bad subs 2022-12-13 20:47:26 -05:00
1hitsong
4f4b1d5748 Fix TV Episode focus issues
1. Pressing back on resume dialog on episode list
2. Choosing resume and pressing back from video playback
2022-12-09 20:26:32 -05:00
1hitsong
a762e714ea
Merge pull request #686 from whiteowl3/patch-2
Support for HDR, VP9, AV1
2022-12-06 08:11:37 -05:00
Neil Burrows
d5120396c8 Add AV1 playback user preference 2022-12-01 08:38:08 +00:00
Neil Burrows
7c4a1b8b21 Change codec order (Patch from @nijave) 2022-12-01 08:37:59 +00:00
1hitsong
4d761c9315 Convert MPEG4 direct play to user setting 2022-11-28 13:29:58 -05:00
Neil Burrows
17d05812b6
Merge branch 'unstable' into patch-2 2022-10-16 13:39:29 +01:00
Neil Burrows
a079664261 Fix separator for conditional properties and change defautl supported videoLevels
Also make linter happy
2022-10-16 11:45:53 +01:00
1hitsong
7135272120
Merge pull request #678 from Fyb3roptik/hotfix/stream
Fixing mpeg4 streams
2022-10-08 08:28:46 -04:00
Neil Burrows
57191ccb0c Fix display title and transcode codecs 2022-10-07 15:46:19 +01:00
Nick Wallace
cb5d310bab Reverting some stuff 2022-08-15 12:39:29 -05:00
Nick Wallace
024539cdb2 Added mpeg4 to direct play profiles 2022-07-26 14:43:55 -05:00
Nick Wallace
19005b2e47 Merge remote-tracking branch 'upstream/unstable' into hotfix/stream 2022-07-26 14:33:48 -05:00
1hitsong
b728c4b224 Add user setting: Hide Clock
#273
2022-07-24 11:59:07 -04:00
whiteowl3
67ce600eba
remove duplicate line 2022-07-07 16:23:49 -04:00
whiteowl3
6de17618eb
Update deviceCapabilities.brs 2022-07-07 16:13:30 -04:00
whiteowl3
bce88287be
add missing hevc profile block 2022-07-07 16:05:58 -04:00
whiteowl3
e049fb9c1f
vp9, av1, hdr 2022-07-07 15:58:01 -04:00
Neil Burrows
3f0e7a73fc Correct min Profile Level value for hevc 2022-07-05 08:26:01 +01:00
Neil Burrows
2aca107281 Formatting 2022-07-04 10:34:09 +01:00
Neil Burrows
055c4e5021 Allow attempting to direct play video with invalid profile level 2022-07-04 10:09:16 +01:00
Neil Burrows
c6e294afff Update Device Profile for correct h264 level 2022-07-01 17:02:27 +01:00
Jimi
daed2cbc01
Update source/utils/Subtitles.brs
Co-authored-by: Neil Burrows <neil@pawprint.co.uk>
2022-07-01 06:43:18 -06:00
Nick Wallace
435a7219df jk everyone, mp4v isnt a codec 2022-06-30 15:41:02 -05:00
Nick Wallace
0fa10f824d adding mp4v 2022-06-30 15:15:49 -05:00
Nick Wallace
582d2d8e45 Fixing mpeg4 streams 2022-06-30 14:25:23 -05:00
Jimi
349c5894bc Crash when trying to read subtitle track for live tv. 2022-06-25 15:48:19 -06:00
Jimi
2ccff77357 Fix to my bad merge commit 2022-06-01 17:34:04 -06:00
Jimi
49cb5483d9
Merge branch 'master' into addmusic 2022-06-01 17:27:59 -06:00
Jimi
07737bd7e7 Update source/utils/misc.brs
Co-authored-by: Neil Burrows <neil@pawprint.co.uk>
2022-06-01 17:02:47 -06:00
Jimi
40ece2d240 Add version checker. 2022-06-01 17:02:47 -06:00
1hitsong
c1295a0ba3 Fix ci validate errors 2022-05-31 16:27:26 -04:00
1hitsong
5347214fd4
Merge branch 'jellyfin:master' into addmusic 2022-05-31 15:58:54 -04:00
Charles Ewert
b3008e045c Remove optional commas 2022-05-30 09:00:14 -04:00
Charles Ewert
9dabf4891b Add missing commas 2022-05-30 08:59:24 -04:00
1hitsong
2d0743f935 Code Cleanup 2022-05-23 19:55:11 -04:00
cthelight
7ee5411095 Subtitles: Search by URL not assumed index
Currently, when populating subtitleTracks, we assume that the ordering
and list of populated subtitle tracks will not change when Roku moves
the list into availableSubtitleTracks. This causes an issue with some
videos as it is not always consistent.

This patch modifies the logic to no-longer inject assumed final indices
into our list of text-based subtitles, but instead search through the
availableSubtitleTracks array and locate the actual subtitle that
refers to the same URL as in our list. In this way we are guaranteed
to always tell Roku to play the subtitle we want, no matter how re-
ordered the options get.

NOTE: The URL gets mildly mangled in the process of copying from
subtitleTracks to availableSubtitleTracks, so we need so search via
substring, rather than doing a full string comparison.
2022-05-22 17:54:56 -05:00
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
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
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