Commit graph

3561 commits

Author SHA1 Message Date
Pas
70d226af70 disable velora skips 2025-12-28 13:53:06 -07:00
vlOd2
81f1272f7d Refactor translator service to be less jank and more modular 2025-12-28 22:36:47 +02:00
Pas
694b127165 add notice about backends not syncing 2025-12-28 12:14:10 -07:00
vlOd2
5539061ae4 Fix translated caption not applying when menu is closed 2025-12-28 15:14:52 +02:00
vlOd
44618524dd
Merge branch 'p-stream:production' into substranslate 2025-12-28 14:14:57 +02:00
Pas
41aaa4ec03 Update LargeCard.tsx 2025-12-27 22:28:40 -07:00
Pas
cf1527dc8a update error message 2025-12-27 22:27:52 -07:00
Pas
681172fe8e persist entered custom backend url when navigating the site 2025-12-27 22:16:52 -07:00
Pas
0d4c6471ab fix metric reporting with multiple servers 2025-12-27 22:12:33 -07:00
Pas
a019f3dab4 add disconnect from account option 2025-12-27 21:45:05 -07:00
Pas
006a45a84a add support for multiple backends 2025-12-27 21:32:22 -07:00
Pas
64bbc09e99 remove warning part and treat scraping error as playback error to auto resume 2025-12-27 14:05:16 -07:00
Pas
ecd5daeaa0 remove Provider API logic and OLD turnstile code 2025-12-27 13:07:32 -07:00
vlOd2
49f956918d Merge branch 'substranslate' of https://github.com/vlOd2/p-stream into substranslate 2025-12-27 01:25:21 +02:00
vlOd2
17c0e7a768 Apply copilot fixes 2025-12-27 01:25:19 +02:00
vlOd
bdf5cba98b
Update src/stores/player/utils/captionstranslation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-27 01:21:40 +02:00
vlOd
071bdeca0d
Update src/stores/player/utils/captionstranslation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-27 01:21:29 +02:00
vlOd
96b74aa169
Update src/stores/player/utils/captionstranslation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-27 01:18:17 +02:00
vlOd
eab6113a0f
Update src/pages/developer/VideoTesterView.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-27 01:15:53 +02:00
vlOd2
b797200c3a increase language overlay width 2025-12-27 00:28:30 +02:00
vlOd2
ed51c6d1e8 remove subtitles testing from testview 2025-12-26 23:25:34 +02:00
vlOd2
9ad28631e9 Cleanup translation console logs 2025-12-26 23:23:17 +02:00
vlOd2
edb9cad8dc adjust margin for translate button 2025-12-26 23:14:45 +02:00
vlOd2
48f72c228e Refactor translation task handling to improve error management and state updates 2025-12-26 22:57:59 +02:00
vlOd2
f71b659a70 Improve UX for translated subtitles 2025-12-26 22:35:38 +02:00
vlOd2
0d6aca41d0 actually set captions and also tweak main view to show translated from language as highlighted 2025-12-26 22:13:56 +02:00
vlOd
e02af4931c
Merge branch 'p-stream:production' into substranslate 2025-12-26 21:28:44 +02:00
vlOd2
a3dd8512bd implement translation task 2025-12-26 21:27:30 +02:00
Pas
eb7659caee fix uploading captions 2025-12-26 12:27:22 -07:00
vlOd2
f72c6214e8 Add languages to translation UI 2025-12-26 04:40:10 +02:00
vlOd2
6bc4907399 Begin work on translate subtitle view 2025-12-26 01:00:09 +02:00
vlOd2
50216a10d9 Add reset functionality to VideoTesterView on mount 2025-12-25 23:08:42 +02:00
vlOd
a2446cf931
Merge branch 'p-stream:production' into substranslate 2025-12-25 22:56:02 +02:00
Pas
9a846a8181 hide WatchPartyInputLink if backend requirement isnt met 2025-12-25 22:53:39 +02:00
vlOd2
5aea772477 Prepare for captions translation 2025-12-25 22:52:50 +02:00
Pas
2c9015dd57 hide WatchPartyInputLink if backend requirement isnt met 2025-12-25 13:00:59 -07:00
Pas
3cc98ebda5 Update VideoTesterView.tsx 2025-12-25 12:56:23 -07:00
Pas
25139cc4cc Update MediaCard.tsx 2025-12-24 11:31:22 -07:00
Pas
b82c945b05 remove DisabledSources and DisableEmbeds since it doesnt work 2025-12-24 10:51:31 -07:00
Pas
342219b461 add minimal cards setting 2025-12-24 10:12:49 -07:00
Pas
41947f8da8 refactor buffering 2025-12-24 09:33:12 -07:00
Pas
f4f2f9196e update auto level stuff 2025-12-24 09:27:46 -07:00
Pas
4143e97047 Update en.json 2025-12-24 09:04:08 -07:00
Pas
992e430e50 Update en.json 2025-12-23 23:33:59 -07:00
Pas
d3db10656e Update en.json 2025-12-23 23:30:21 -07:00
Pas
afebab301f hide auto subtitle option if there are no subs 2025-12-23 23:27:41 -07:00
Pas
cb504ccf55 customize keyboard shortcuts! 2025-12-23 23:26:59 -07:00
Pas
71852409c2 Update NotFoundPart.tsx 2025-12-23 10:31:15 -07:00
Pas
bf8e250492 Update SetupPart.tsx 2025-12-23 10:20:34 -07:00
Pas
22ddddfe27 trucate caption title 2025-12-22 12:02:17 -07:00
Pas
94921e58dd improve caption selection logic 2025-12-22 11:51:15 -07:00
Pas
d88feda474 add auto select subtitle button 2025-12-22 11:46:23 -07:00
Pas
bd40ad0582 add random subtitle key 2025-12-21 22:57:23 -07:00
Pas
5da9183260 Update CaptionsView.tsx 2025-12-21 22:47:10 -07:00
Pas
ac7e44f234 add sort media cards dropdown 2025-12-21 22:42:04 -07:00
Pas
605abb9aab add mark as watched to movie details modal 2025-12-21 22:10:44 -07:00
Pas
6242d78759 scroll to active subtitle and add random button 2025-12-21 22:00:21 -07:00
Pas
ee317b808d Update opensubtitles.ts 2025-12-21 21:51:36 -07:00
Pas
fab4703550 Delete LanguageSelectionView.tsx 2025-12-21 21:51:19 -07:00
Pas
2fc2718413 captions lables 2025-12-21 21:42:13 -07:00
Pas
7f232a02b1 fix languages routing 2025-12-21 21:28:17 -07:00
Pas
e912d2d157 Merge branch 'captions-revamp' into production 2025-12-21 21:14:09 -07:00
Pas
eca44987f7 change next and prev keyboard shortcuts 2025-12-21 21:10:58 -07:00
Pas
869e4fca78 add previous and next ep shortcuts 2025-12-21 10:30:54 -07:00
Pas
58594ae4b5 track failed sources and disable multiple 2025-12-20 12:23:17 -07:00
Pas
4f6e56fd22 show febbox usage 2025-12-19 15:58:54 -07:00
Pas
28527618a9 Update PlayerView.tsx 2025-12-17 15:47:53 -07:00
Pas
647a4e8279 add cobalt theme
replace skyrealm
2025-12-17 15:21:00 -07:00
Pas
36069f8193 Revert "refactor media failure tracking"
This reverts commit f68bb15c57.
2025-12-17 12:27:37 -07:00
Pas
f68bb15c57 refactor media failure tracking 2025-12-16 11:22:42 -07:00
Pas
8a622f0301 Update OnboardingExtension.tsx 2025-12-15 11:49:37 -07:00
Pas
f0ce33f3ca
Update OnboardingExtension.tsx 2025-12-15 11:45:46 -07:00
Pas
18d604478b add userscript to onboarding and notif 2025-12-14 14:55:21 -07:00
Pas
803bfc5df7 Update SupportBar.tsx 2025-12-09 12:27:17 -07:00
Pas
560a736e84
Update SupportBar.tsx 2025-12-09 12:11:49 -07:00
Pas
f2b39b046c Add support bar and donation modal to homepage
Introduces a support bar component on the homepage to display project funding progress and encourage donations. Adds a modal with more information about supporting the project. Updates configuration to allow toggling the support bar and setting funding values. Updates links to the new donation page and adds related translations.
2025-12-09 12:04:46 -07:00
Pas
dbf2c02a53 Update useProviderScrape.tsx 2025-12-08 12:16:05 -07:00
Pas
732d1d5ca3 Fix handling of undefined arrays in source selection
Updated filtering logic to safely handle cases where arrays like disabledSources, preferredSourceOrder, and preferredEmbedOrder may be undefined. This prevents runtime errors and ensures robust source and embed selection throughout the player and settings components.
2025-12-08 12:16:05 -07:00
Pas
e4b25d4a09 fix carousel padding even more 2025-12-06 21:54:32 -07:00
Pas
b24ada9b77 Handle 'not found' state in embed source selection
Adds a 'notFound' state to useEmbedScraping and updates SourceSelectingView, SourceSelectPart, and SelectableLink to display a distinct UI when an embed source is not found. This improves user feedback for unavailable sources and refines error handling logic.
2025-12-06 21:48:28 -07:00
Pas
10bde63575 Improve error handling in account metrics fetch
Added checks for missing BACKEND_URL and improved error handling in getAccountNumber and getAllAccounts functions. Now returns 'N/A' on fetch errors or missing data, and sets state to 'N/A' in catch blocks to prevent crashes.
2025-12-06 21:41:47 -07:00
Pas
b927c6971e fix random errors 2025-12-06 21:17:19 -07:00
Pas
685deb6d0e Refactor captions selection to group by language
Captions selection UI now groups subtitles by language, allowing users to select a language first and then choose a specific subtitle. Added LanguageSelectionView and LanguageSubtitlesView components, updated SettingsOverlay and CaptionsView to support the new flow, and enhanced ChevronLink to show selection state. This improves usability for users with multiple subtitle options per language.
2025-12-05 22:50:04 -07:00
Pas
862df50885 remove captions search bar 2025-12-05 21:56:21 -07:00
Pas
5a2160cf49 switch to base wyzie 2025-12-05 21:49:32 -07:00
Pas
84b1de91c4 fix PWA searchbar padding 2025-12-05 16:06:08 -07:00
Pas
c1bdcdf9df Adjust carousel title paddings and margins for layout consistency 2025-12-04 20:04:38 -07:00
Pas
bf359916b6 Add HIDE_PROXY_ONBOARDING config and onboarding UI updates
Introduces the HIDE_PROXY_ONBOARDING config option to conditionally hide proxy onboarding steps in the UI. Updates OnboardingPage to use this config for rendering logic and adjusts card layouts accordingly. Also adds support for displaying additional sources heading when relevant, and updates English locale strings for clarity.
2025-12-03 18:33:55 -07:00
Pas
0576c9fed0 Revert "feat: add skip source button during scraping"
This reverts commit bf14a85f34.
2025-12-03 18:20:04 -07:00
aq
bf14a85f34 feat: add skip source button during scraping
Implement user-initiated source skipping functionality:
- Add skipCurrentSource function to abort current source and all its embeds
- Create AbortController per source and propagate through provider stack
- Mark skipped sources and embeds with 'skipped' status
- Add skip button to scraping UI with translation support
- Filter out skipped source results in PlayerView to prevent playback
- Add fallback to direct fetch when proxy URL is unavailable
- Track failed sources and embeds in player store
- Add 'skipped' status type to ScrapeCard component

Technical details:
- AbortController is created per source in startEvent callback
- Signal is dynamically retrieved via wrapper functions
- Skipped sources continue to next source without showing error screen
- Skip button is passed through component hierarchy via callbacks
- Resume from specific source maintains skip state between attempts

Resolves user ability to manually skip slow or failing sources during media scraping
2025-12-04 01:02:20 +04:00
Pas
59ec3b78d1 prettier 2025-12-02 13:10:10 -07:00
Pas
ac722880c4 update media card skeleton and on recomented carousel 2025-12-02 10:13:08 -07:00
Pas
02291a3e37 wrong related tmdb endpoint 💀 2025-12-02 10:08:09 -07:00
Pas
c6c916f293 fix m3u8 proxy test error 2025-12-01 19:09:59 -07:00
Pas
00d0996b8f update some modal styles 2025-12-01 18:44:58 -07:00
Pas
24413a805d remove trailer button and move the imdb trailers to the new carousel 2025-12-01 18:41:28 -07:00
Pas
e7e49f81cc add similar media carousel to details modal 2025-12-01 18:26:21 -07:00
Pas
6997acd71a add trailer carousel to details modal 2025-12-01 17:43:44 -07:00
Pas
4d5a5151f1 fix rotten tomato scraper 2025-12-01 17:19:13 -07:00
Pas
ebdb931d59 Add lazy loading for media carousels using Intersection Observer
Introduces a reusable useIntersectionObserver hook and a LazyMediaCarousel component to defer rendering of carousels until they are near the viewport. Updates discoverContent and AllMovieLists to use LazyMediaCarousel, improving performance by only loading carousels as needed. Priority carousels (e.g., top of page) are loaded immediately.
2025-12-01 16:57:17 -07:00