Commit Graph

559 Commits

Author SHA1 Message Date
Jimi
c3bfab4af5 Works with Music/Artists/Albums and Music/Artists/Song 2022-05-23 19:54:41 -04:00
1hitsong
938777dea4 Format and Validate 2022-05-23 19:54:03 -04:00
1hitsong
158b7623ba Play song when selected 2022-05-23 19:54:03 -04:00
1hitsong
183ada1f5c Remove test AudioPlayer code 2022-05-23 19:54:03 -04:00
1hitsong
cc4f6ef3a6 Run format script 2022-05-23 19:54:03 -04:00
1hitsong
d01a477bb3 Include artist name in top text of album 2022-05-23 19:54:03 -04:00
1hitsong
e48a663a93 Enable album selection from home screen 2022-05-23 19:54:03 -04:00
1hitsong
1d608ea840 Code Cleanup 2022-05-23 19:54:03 -04:00
1hitsong
b884cba356 Change song list display. Begin work on audio playback 2022-05-23 19:54:03 -04:00
1hitsong
6d61084823 Display songs when album selected 2022-05-23 19:54:03 -04:00
1hitsong
8f516926ef Create music artist view 2022-05-23 19:54:03 -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
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
Neil Burrows
d8d1745720 Rework Subtitle Code 2021-06-12 16:03:47 +01:00
Neil Burrows
91036339f1 Ignore change changes made to Roku OS Global Subtitle settings 2021-06-12 15:23:50 +01:00
Neil Burrows
1801a5b1db
Merge branch 'master' into master 2021-06-10 19:33:11 +01:00
candry7731
ed769e3cf5
Update Main.brs
Added Loading dialog to the search component
2021-06-09 22:17:27 -05:00
candry7731
df5cafa030
Update Items.brs
Updates Search Api to include all items including live TV
2021-06-09 09:11:58 -05:00
Neil Burrows
442669d75f Ensure username and password forgotten on Sign Out 2021-05-09 09:27:53 +01:00
Neil Burrows
389f320d9d Change ReportPlayback() function to sub 2021-05-01 12:19:37 +01:00
Neil Burrows
4647f16fe9 Use subtitle URL provided by server rather than generating our own 2021-05-01 11:13:34 +01:00
Neil Burrows
a856a4d5b5 Update BuildUrl() to handle intial '/' correctly 2021-05-01 11:10:44 +01:00
Kenny Wottrich
b6374f52dd Fix issues identified by Eclipse Brightscript linter 2021-04-30 20:09:33 -05:00
Anthony Lavado
930de5e299
Merge branch 'master' into fix-trakt-mark-played 2021-04-30 09:15:45 -04:00
Neil Burrows
ee3f8810da Handle invalid result from CanDecodeVideo 2021-04-30 08:23:38 +01:00
Neil Burrows
2081334581
Merge branch 'master' into fix-trakt-mark-played 2021-04-30 06:51:09 +01:00
Neil Burrows
29e9960fc8 Sent time in UTC when marking item played 2021-04-29 17:02:26 +01:00
Neil Burrows
c8943318d5 Do not mark item played when video finishes
Handled by server automatically
2021-04-29 17:02:03 +01:00
Neil Burrows
1a37452227 Better checking of CanDecodeVideo call for OS10 2021-04-24 09:23:26 +01:00
Neil Burrows
798ca7d557 Fix boxset browsing 2021-04-21 20:04:27 +01:00
Neil Burrows
96520c40c0 Enable basic deep linking 2021-04-14 08:03:15 +01:00
Anthony Lavado
97660c6734
Merge branch 'master' into report-playback-crashes 2021-04-10 21:40:08 -04:00
Anthony Lavado
20ba9a4f99
Merge branch 'master' into remove-unused-code 2021-04-10 21:37:07 -04:00
Neil Burrows
b6a772184b Check video and position are both valid before reporting playback info 2021-04-10 16:03:20 +01:00
Neil Burrows
58972c5ece Remove unsed/unreferenced code 2021-04-10 15:30:33 +01:00
Neil Burrows
f1118dc7b8 Fixes for Lazyman Plugin 2021-04-10 11:20:02 +01:00
Anthony Lavado
ce5290582f
Merge branch 'master' into improved-server-connection-feedback 2021-04-04 11:36:02 -04:00
Neil Burrows
d3f8fa8f4c Correct order of if statement check to prevent null error 2021-04-04 14:46:42 +01:00
Neil Burrows
666fe2cf38 Improve server connection feedback 2021-04-04 14:41:44 +01:00
Neil Burrows
b3036134a9 Make checks for http and https case insensitive 2021-04-04 12:12:48 +01:00
Neil Burrows
f929daef2c Add protection to avoid eating valid button presses 2021-03-26 16:12:38 +00:00
Anthony Lavado
b6df996503
Merge branch 'master' into autoplay-playback-info 2021-03-20 00:36:53 -04:00
Anthony Lavado
8b2bf0afcc
Merge branch 'master' into ok-closes-dialogs 2021-03-20 00:34:28 -04:00
Anthony Lavado
0447d89e52
Merge branch 'master' into remove-legacy-itemgrid 2021-03-20 00:00:25 -04:00
thomabx
6928781f94 Fix subtitle URL 2021-03-15 18:53:41 -07:00
Neil Burrows
398b2cbf11 Set group to be new video object when autoplaying next ep 2021-03-07 15:53:40 +00:00
Neil Burrows
9e77bc9a60 Close dialogs with unhandled button pressed 2021-03-07 12:35:32 +00:00
Neil Burrows
fd36765696 Rename ItemGrid2 to ItemGrid 2021-03-07 11:11:28 +00:00
Neil Burrows
ef748eba18 Remove Legacy ItemGrid pages and simplify main event loop 2021-03-07 11:11:28 +00:00
Anthony Lavado
bac5e8da3c
Merge branch 'master' into hdmi_wontplay_issue353 2021-03-06 14:25:55 -05:00
scattertv
78a7061c14 remove field observer on video.position 2021-03-06 12:12:38 -05:00