Commit Graph

1393 Commits

Author SHA1 Message Date
renovate[bot]
8a9c4d84a5
chore(deps): update npm (runtime) (#2472) 2024-10-23 08:00:40 +00:00
Fernando Fernández
66364dae7a
refactor: pause an effectScope instead of using watchPausable
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-23 09:38:48 +02:00
Weblate
2ab0a8e975 chore(i18n): translate terms
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
Co-authored-by: Blackspirits <blackspirits@gmail.com>
Co-authored-by: Justin <derjustin05@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-22 16:58:24 -04:00
Fernando Fernández
12d6bc5376 perf: pause patching while navigating
This also fixes some data changes that happened hile navigating like:

* When using search and clicking on an item, the "No results available" message would appear
* When navigating to a liibrary, the transparency effects of the navdrawer or appbar would match those of the entering route.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
Fernando Fernández
67d03099c0 style: automatic eslint fix
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
Fernando Fernández
97d6aa5a40 refactor: use useId from vue instead of uuid
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-22 22:46:16 +02:00
Weblate
7198fcb9b7 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Co-authored-by: AfmanS <andres.c.fernandes@gmail.com>
Co-authored-by: Roi Gabay <roigby@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/he/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-19 13:03:51 -04:00
Weblate
c746c20bbd chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Has been cancelled
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Has been cancelled
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Has been cancelled
Push & Release 🌍 / Deploy 🚀 (push) Has been cancelled
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Has been cancelled
Co-authored-by: Gábor Pikó <pikogabor008@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/hu/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-16 05:03:58 -04:00
renovate[bot]
a47a7d589b
chore(deps): update npm (development) (#2458) 2024-10-14 11:33:38 +00:00
renovate[bot]
a20caa6673
chore(deps): update npm (runtime) (#2467) 2024-10-14 13:24:45 +02:00
Fernando Fernández
cb89d94228
chore: finish monorepo setup
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:34:51 +02:00
Fernando Fernández
4c4cdbc9db refactor: extract configs into its own package
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Fernando Fernández
4fa0a56ce2 refactor: extract vite plugins into its own package
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Fernando Fernández
e954d2ec3f fix: small lint fixes
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-10-14 12:24:01 +02:00
Weblate
472adcbd80 chore(i18n): translate terms
Some checks are pending
Push & Release 🌍 / Automation 🎛️ (push) Waiting to run
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Waiting to run
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Waiting to run
Push & Release 🌍 / Deploy 🚀 (push) Blocked by required conditions
Co-authored-by: Justin <derjustin05@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-12 19:43:08 -04:00
Weblate
d0be419ec8 chore(i18n): translate terms
Co-authored-by: BromTeque <weblate@bromteque.com>
Co-authored-by: Cavon Lee <cavonxx@gmail.com>
Co-authored-by: Sh_Cby <cby@live.cn>
Co-authored-by: 皇甫朝云 <hfzy2014@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nb_NO/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/zh_Hans/
Translation: Jellyfin Vue/Jellyfin Vue
2024-10-02 15:49:30 -04:00
Weblate
7d76b12e68 chore(i18n): translate terms
Co-authored-by: BromTeque <weblate@bromteque.com>
Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/nb_NO/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-30 00:41:34 -04:00
Weblate
28d1163800 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 35s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 34s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Failing after 0s
Co-authored-by: Lukáš Kucharczyk <lukas@kucharczyk.xyz>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/cs/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-20 08:04:29 -04:00
ToastKiste21
ccb0754ae0
fix(router): don't use replace on every route when going back (#2464)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 35s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Co-authored-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-18 12:45:15 +00:00
renovate[bot]
43c3d5d1b9
chore(deps): update npm (runtime) (#2463) 2024-09-18 09:41:42 +00:00
renovate[bot]
33544d9d5b
chore(deps): update dependency vite to v5.4.6 [security] (#2465) 2024-09-18 11:29:35 +02:00
Weblate
2343dd8b6a chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 43s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 39s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 41s
Co-authored-by: Kityn <kitynska@gmail.com>
Co-authored-by: Tiago Gaspar <tiagogaspar8@gmail.com>
Co-authored-by: stanol <stanol777@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pt/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/uk/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-18 00:12:11 -04:00
Weblate
2d34a37873 chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 33s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 32s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 32s
Co-authored-by: Larvitar <chrycm1995@gmail.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/pl/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-15 14:38:16 -04:00
Weblate
1720a9bd0f chore(i18n): translate terms
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 34s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 33s
Co-authored-by: Justin <derjustin05@gmail.com>
Co-authored-by: bene toffix <benetoffix@gmail.com>
Co-authored-by: queeup <queeup@zoho.com>
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/ca/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/de/
Translate-URL: https://translate.jellyfin.org/projects/jellyfin-vue/jellyfin-vue/tr/
Translation: Jellyfin Vue/Jellyfin Vue
2024-09-14 10:41:38 -04:00
renovate[bot]
240d7d39f6
chore(deps): update npm (runtime) (#2461)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 34s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 33s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 32s
Scheduled tasks 🕒 / GitHub CodeQL 🔬 (push) Failing after 0s
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 18:24:23 +02:00
sean
f526149631
fix(findSubtitle): add start index to final index after slice (#2460)
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 34s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 34s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 34s
2024-09-12 09:32:19 +02:00
Fernando Fernández
6f8e7c3777
chore: remove you-dont-need-lodash eslint plugin
lodash has been already removed from the codebase, so this plugin is no longer necessary

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:48:44 +02:00
seanmcbroom
f3a68368b0 refactor: improvements and fixes for jassub rendering
Some checks failed
Push & Release 🌍 / Automation 🎛️ (push) Failing after 41s
Push & Release 🌍 / ${{ github.event_name == 'push' && 'Unstable 🚀⚠️' || 'Stable 🏷️✅' }} (push) Failing after 32s
Push & Release 🌍 / Deploy 🚀 (push) Has been skipped
Push & Release 🌍 / GitHub CodeQL 🔬 (push) Failing after 32s
2024-09-12 03:32:14 +02:00
seanmcbroom
d87cf56dc4 refactor: fix displaying subtitle tracks 2024-09-12 03:32:14 +02:00
Fernando Fernández
75cea0dc73 refactor: address review comments
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
ff0a5ff0bd refactor(store): skip syncing font family
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
e7fa5bfcc3 perf: optimize subtitle finding
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
c6b3105852 refactor: extract all logic to webworker
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
1a9b6c2cb4 feat: don't apply subtitle settings if customization is disabled
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
f196578911 refactor&fix: font
* Reduce unnecessary verbosity of the stores
* Extract the current typography of the application as a CSS variable
* Make font selector truly generic and also able to change the typography of the whole app

There are now 3 internal values:
- auto: for following app's font
- system: for following system's font
- default: default app's font

This way subtitles can be truly configurable independently from the app.

App typography follows the same schema, but without 'auto' since it's not applicable there.

Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
Fernando Fernández
87376e34ca refactor: simplify subtitle store
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
2024-09-12 03:32:14 +02:00
seanmcbroom
7da329a5c0 refactor: extract all subtitle setting functionality to new store 2024-09-12 03:32:14 +02:00
seanmcbroom
d658969c8c feat: implement useFont compostable 2024-09-12 03:32:14 +02:00
Sean McBroom
3a43fa9c48 refactor: fix sonarcloud issues 2024-09-12 03:32:14 +02:00
Sean McBroom
3fb8c197fe refactor(playback-manager): reduce shared code 2024-09-12 03:32:14 +02:00
Sean McBroom
9435f46dfd refactor(player-element): cleanup & standardize applying subtitles 2024-09-12 03:32:14 +02:00
Sean McBroom
c5058a823a fix: handle cases where ssa sub dialogue include newline character 2024-09-12 03:32:14 +02:00
Fernando Fernández
5c5526aaab style: automatic eslint fix 2024-09-12 03:32:14 +02:00
Sean McBroom
99a250e597 feat(font-settings): query font from document css 2024-09-12 03:32:14 +02:00
Sean McBroom
ac424696e8 feat(FontSelector): refactor font selector logic and move to component 2024-09-12 03:32:14 +02:00
Sean McBroom
84dcbe2260 refactor: link fontsize & position sliders directly to client settings 2024-09-12 03:32:14 +02:00
Sean McBroom
d7db912380 refactor: add logic for basic sass subtitles 2024-09-12 03:32:14 +02:00
Sean McBroom
458fde7de2 refactor: check if useFullscreen is supported to apply custom subtitle track 2024-09-12 03:32:14 +02:00
Sean McBroom
03e3ac5fb7 refactor: use uno css for subtitle track styles 2024-09-12 03:32:14 +02:00
Sean McBroom
a1e3b044c7 fix: general tag formatting changes for rendering as html 2024-09-12 03:32:14 +02:00