Commit graph

395 commits

Author SHA1 Message Date
Pas
02a179b1d8 add Find Next Source button
replace edit order button
2026-01-10 18:29:00 -07:00
Pas
45e5abd00e routing fixes 2026-01-10 18:11:07 -07:00
vlOd
fedd414629
Merge branch 'production' into production 2026-01-10 14:30:59 +02:00
Pas
6331e69a2f fix quality switching bug 2026-01-08 13:19:21 -07:00
Pas
2f90617eee increase caption delay slider cap 2026-01-08 12:14:00 -07:00
Pas
4024aecd40 Revert "thumbs up or down skip intros"
This reverts commit 7ea4b1d23b.
2026-01-07 15:00:04 -07:00
vlOd
7716ec0058
Merge branch 'production' into production 2026-01-03 15:55:09 +02:00
Pas
7ea4b1d23b thumbs up or down skip intros 2026-01-02 13:53:11 -07:00
Pas
7370b4b5b0 allow 20s skips to be collected 2026-01-02 12:42:29 -07:00
vlOd2
ca61d3b966 Remove unused import 2025-12-29 00:02:32 +02: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
006a45a84a add support for multiple backends 2025-12-27 21:32:22 -07:00
vlOd2
17c0e7a768 Apply copilot fixes 2025-12-27 01:25:19 +02:00
vlOd2
b797200c3a increase language overlay width 2025-12-27 00:28:30 +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
Pas
b82c945b05 remove DisabledSources and DisableEmbeds since it doesnt work 2025-12-24 10:51:31 -07:00
Pas
afebab301f hide auto subtitle option if there are no subs 2025-12-23 23:27:41 -07:00
Pas
22ddddfe27 trucate caption title 2025-12-22 12:02:17 -07:00
Pas
d88feda474 add auto select subtitle button 2025-12-22 11:46:23 -07:00
Pas
5da9183260 Update CaptionsView.tsx 2025-12-21 22:47:10 -07:00
Pas
6242d78759 scroll to active subtitle and add random button 2025-12-21 22:00:21 -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
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
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
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
b875bc93aa add granite subtitle source 2025-12-01 15:35:32 -07:00
Pas
03d74e4ecd Revert "Inject popup ad for xprime sources"
This reverts commit b6be227ab3.
2025-11-30 11:14:12 -07:00
Pas
b6be227ab3 Inject popup ad for xprime sources
Xprime's own site has ads, but people have found pstream (which doesnt have ads) and moves here since there are no ads. Xprime is losing money and is finding it difficult to support the proxies and servers.

clean up ad for xprime when switching sources or destroying player

new method for tracking if ad is shown

Revert "Track XPrime ad script load state in player"

This reverts commit c50bdd9ad8.

Track XPrime ad script load state in player

Adds xprimeAdScriptLoaded state and setter to the player store. Updates XPrimeAdOverlay to only show when the ad script is loaded, and base display logic to set the load state based on script events. This ensures the overlay only appears when the ad script is ready.

remove infinite loop

When conditions are met → show becomes true → timer starts
Timer fires after 5s → show becomes false
Effect re-runs (because show changed) → show becomes true again → new timer starts
Loop repeats infinitely

Refactor XPrime ad injection so it loads when the source changes
2025-11-30 11:14:03 -07:00
Pas
c6182e6ebb simplify scrolling and cleanup some bugs 2025-11-26 12:59:40 -07:00
Pas
4151b2fdec add gradient to top and bottom 2025-11-26 12:52:41 -07:00
Pas
64abb25560 move to captions view 2025-11-26 12:33:24 -07:00
Pas
19af760317 Update TranscriptView.tsx 2025-11-26 12:26:00 -07:00
Pas
c74fbe385d Revert "Move to correct menu"
This reverts commit 5caae343df.
2025-11-26 12:23:19 -07:00
Isra
5caae343df Move to correct menu 2025-11-25 09:11:28 +08:00
Isra
d2acf73793 Merge branch 'production' of https://github.com/zisra/p-stream into production 2025-11-24 17:23:18 +08:00
Isra
7ae3c324b7 Proper scrolling 2025-11-24 17:23:17 +08:00
zisra
7ca6d31fb5
Merge branch 'p-stream:production' into production 2025-11-24 17:15:26 +08:00