Commit Graph

209 Commits

Author SHA1 Message Date
Dmitry Lyzo d80650e0dd Make rating button look like other buttons 2023-05-21 01:05:43 +03:00
fishbigger a84bee544a Added ability to favorite item from video playback 2023-05-21 01:05:43 +03:00
Xavier-Do a928b12c44 Fix white background on video refresh
When refreshing a /video page, since no player is available,
`getCurrentPlayer` will be empty and `bindToPlayer` will crash leading
to a redirect with `appRouter.goHome();`
This is also the case when navigating with previous then next in the
browser.

Before that that, the background is set in `viewbeforeshow` using
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);`

This will leave unexpected classes in the dom leading to a white
background on the main page.

This fixes proposes to reset the transparency before going to home
using `setBackdropTransparency(TRANSPARENCY_LEVEL.None);`
Anyway, this looks a little fragile and a deeper fix may be preferable
in the future.

Another solution would be to move the
`setBackdropTransparency(TRANSPARENCY_LEVEL.Full);` when the player is
ready but my understanding of the flow is not enough to now if it would
have any unexpected results.
2023-05-09 17:03:14 +02:00
Bill Thornton d7d0d7305c Merge pull request #4556 from thornbill/routes-cleanup
Cleanup routes
2023-05-04 13:02:33 -04:00
Dmitry Lyzo 81a2d878ca Fix query selector target
Cherry-picked from: https://github.com/jellyfin/jellyfin-web/commit/1fb5c4d95d4607ed33b00be2d8cee1ae35d5631b
2023-05-03 01:23:44 +03:00
Bill Thornton f96166657d Move remaining router components 2023-05-02 16:40:31 -04:00
Bill Thornton f2726653ae Fix indentation issues 2023-04-19 01:56:05 -04:00
Bill Thornton 8cbb4f8cc0 Merge pull request #4435 from robert-hamilton36/VolumeScroll
Add video volume change on mouse scroll
2023-04-14 17:12:19 -04:00
FireGamer3 b56f83df9a Adds Ratings to both Video Player and Up Next Dialog Window 2023-04-13 20:14:30 -05:00
Bill Thornton 1451e4ece0 Merge pull request #4423 from thornbill/pluginify-syncplay 2023-03-29 23:15:04 -04:00
Bill Thornton 6f3aa2f1df Fix eslint issues 2023-03-29 00:38:22 -04:00
robert-hamilton36 b97d6d3441 add volume adjust onwheel scroll event 2023-03-17 10:59:21 +13:00
Bill Thornton 732ef8fdad Update SyncPlay references to use plugin 2023-03-15 16:55:34 -04:00
Bill Thornton 329cf77c81 Add eslint radix rule for parseInt 2023-03-09 00:20:11 -05:00
Netanel Henya 494c0ed434 cleanup: reorganized sass files to be in src/styles instead of src/assets/css 2023-02-26 01:01:31 +02:00
Ivan Schurawel c3b50c6d73 fix code styling
Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
2023-02-21 09:16:32 -05:00
Ivan Schurawel b1e397c4bc fix: use correct stream, code safety, race conditions, update css 2023-02-21 09:16:32 -05:00
Ivan Schurawel f3865f0dac chore: move logic from method to const 2023-02-21 09:16:32 -05:00
Ivan Schurawel abc663f6f6 fix: update ssa/ass checks, custom track location, offsets 2023-02-21 09:16:32 -05:00
Ivan Schurawel 9ddafb063b fix: limit secondary to non-SSA/ASS subtitles 2023-02-21 09:16:32 -05:00
Ivan Schurawel f33699ad8a fix: only show secondary if primary sill valid, remove resolveOnClick 2023-02-21 09:16:32 -05:00
Ivan Schurawel 145aea184f feat: add native secondary subtitle support 2023-02-21 09:16:32 -05:00
Davide Maggio f78f2c7094 Update src/controllers/playback/video/index.js
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2023-02-08 10:18:23 +01:00
dvdandroid c33dc8cd7a Added toggle to show/hide remaining video time in video player
Toggle applied to the remaining time label of the video player and added
`-` as a prefix of the remaining time, both behaviours like in VLC.

Toggle preference as user setting.
2023-02-04 16:54:48 +00:00
Bill Thornton 19f416580c Add eslint rules for sonar issues 2022-12-16 21:12:05 -05:00
Bill Thornton 84c007fa0b Merge pull request #3743 from hadicharara/hadicharara/added-support-for-rtl-layouts
Add Initial support for RTL layouts
2022-10-15 02:50:48 -04:00
Bill Thornton 0a0e45d155 Replace apiclient event bus with local version 2022-10-14 10:58:16 -04:00
Hadi Charara 104ad71ea7 Merge branch 'master' into hadicharara/added-support-for-rtl-layouts 2022-10-12 08:29:53 -04:00
Bill Thornton 1ac326d40b Merge pull request #3745 from Viperinius/chapter-markers
Add chapter markings to video player slider
2022-10-06 11:45:50 -04:00
Bill Thornton 4972f50a06 Fix sonarjs no-identical-functions 2022-10-05 15:31:15 -04:00
Viperinius c4bd4d0a05 Keep chapter markers visible whenever the OSD is shown.
(Does not require hovering over the slider anymore.)
2022-10-05 17:49:34 +02:00
Viperinius 9aea7e3927 Update getMarkerInfo syntax as suggested 2022-10-01 16:09:25 +02:00
Bill Thornton 496508ee4d Move SyncPlay code to plugin directory 2022-10-01 02:57:30 -04:00
Hadi Charara ece21d0de0 Deployed music player fixes 2022-07-08 22:25:41 -04:00
Hadi Charara cb234bf8ee Removed useless declarations 2022-07-05 15:28:13 -04:00
Viperinius 3aff30055d Remove explicit call to show the OSD. 2022-07-05 17:15:23 +02:00
Viperinius 04072523ca Update function and class names as suggested.
More generic name without the inclusion of "chapters" allows potential
reuse in the future.
2022-07-05 17:11:58 +02:00
Viperinius ba2c365ac9 Use object to return multiple info instead of array. 2022-07-05 16:31:48 +02:00
Viperinius b78d6439b0 Change chapter mark classes to include name info.
In order to use different icons depending on the chapter name, the name
is provided as a class with the prefix scm-.
2022-07-04 22:07:34 +02:00
Hadi Charara df39a9a1ff Uses now proper toLocaleString function 2022-07-03 14:03:39 -04:00
Hadi Charara 4530e44e62 Small fix for video player as the progress bar shouldn't be rtl 2022-07-03 09:10:02 -04:00
Hadi Charara 0f994ccb5b Initial support for RTL layouts 2022-07-02 15:50:52 -04:00
Viperinius 49f1f1fae3 Add chapter markings to video player timeline.
These labels show the start of each chapter when interacting with the
slider the same way that activates the slider bubble. They follow the
same color scheme as the slider (watched chapters turn blue).

Inspired by https://features.jellyfin.org/posts/397/chapter-markers-in-timeline
2022-06-26 01:10:20 +02:00
Joshua M. Boniface e6b31e3e85 Merge pull request #3668 from dmitrylyzo/show-play-settings
(cherry picked from commit 0701c4dff395bde4e87b99155d2f8de74f82b71c)
Signed-off-by: crobibero <cody@robibe.ro>
2022-06-10 23:44:16 -04:00
San dbae8afe48 fix nesting
Co-authored-by: Bill Thornton <thornbill@users.noreply.github.com>
2022-05-30 20:46:20 -07:00
San a2fe92f192 Merge branch 'master' into eslint-no-sequences 2022-05-20 01:40:57 -07:00
Bill Thornton babc425fdb Merge pull request #3603 from ryan-hartzell/eslint-no-nested-ternary
add eslint no-nested-ternary rule and fix violations
2022-05-17 11:44:32 -04:00
Ryan Hartzell f58d7b0beb small fixes to cleanup no-nested-ternary 2022-05-16 12:23:22 -07:00
Jesse Seeligsohn 631284e56f Append year to title of content in video playback if possible. 2022-05-10 17:51:06 -04:00
sancodes 9f19170dec fix no-sequence lint 2022-04-30 13:04:58 -07:00