Commit graph

197 commits

Author SHA1 Message Date
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
Pas
b464c2195e make sure enableAutoResumeOnPlaybackError syncs to backend 2025-12-01 16:22:02 -07:00
Pas
ad592edc65 Track and handle failed embeds in player sources
Introduces tracking of failed embeds per source in the player store, adds logic to mark embeds as failed on playback errors, and filters out failed embeds when selecting sources. Also ensures failed sources and embeds are cleared when a working source is found. This improves error handling and fallback behavior for sources with multiple embeds.
2025-12-01 12:47:15 -07:00
Pas
c460c15966 Track and skip failed sources during playback
Introduces a mechanism to track failed sources in the player store. When a playback error occurs, the current source is marked as failed and subsequent attempts will skip these sources. Failed sources are cleared when a working source is found. UI text is updated to reflect the new behavior.
2025-11-30 17:50:28 -07:00
Pas
4ced25623f Add auto-resume on playback error setting and logic
Introduces a new user preference to automatically resume playback from the next available source when a playback error occurs. Updates settings UI, preferences store, and player error handling to support this feature, including new translations and backend support. Manual resume remains available if the feature is disabled.
2025-11-30 17:28:41 -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
1e00777c64 update migration to support settings
groups and favorite eps are still broken
2025-11-29 14:41:52 -07:00
Pas
fa7b70b52a Update useSettingsState.ts 2025-11-19 17:56:36 -07:00
Pas
0a7816ff77 Update debrid key entry 2025-11-19 17:56:36 -07:00
Pas
04a08af5e9 fix account nickname not updating or displaying 2025-11-17 13:05:57 -07:00
Pas
067b6e43bc Add nickname to user account settings
Introduces a nickname field to user accounts, updates the backend user interface, and extends the settings UI to allow users to view and edit their nickname. Localization strings and state management have been updated accordingly to support this new field.
2025-11-17 10:49:20 -07:00
Isra
9da140444c Handle backtick earlier + Ignore commands when cmd/atl is pressed + prevent -0.0 as subtitle delay 2025-11-09 21:23:53 -07:00
Pas
3cfd44579c encode queries to fix some issues 2025-11-09 12:50:03 -07:00
Pas
2017cb2f26 Merge branch 'production' into dev 2025-11-07 16:36:57 -07:00
Pas
0e4724f9bd Revert "add drag and drop bookmark reordering"
This reverts commit c90e77ddf3.
2025-11-06 00:44:25 -07:00
Pas
c90e77ddf3 add drag and drop bookmark reordering 2025-11-06 00:28:38 -07:00
Pas
80d2ae13bd fix watchparty join shortcut on home page 2025-11-03 15:57:31 -07:00
Pas
d575d71108 add lastSuccessfulSource feature
to sort the last successful source to the top
2025-11-02 22:10:48 -07:00
Pas
1ab1b34187 Revert "Prevent settings from loading empty and rewriting to backend"
This reverts commit 3de8a35df4.
2025-10-28 11:16:00 -06:00
Pas
3de8a35df4 Prevent settings from loading empty and rewriting to backend
- No saves happen until backend settings are loaded and applied
- Automatic syncers wait for settings to be loaded before syncing
2025-10-25 12:07:15 -06:00
Pas
b46f618386 update packages 2025-10-25 00:21:34 -06:00
Pas
3a31d172b1 add keyboard shortcut modal 2025-10-24 22:18:24 -06:00
Pas
71a3d91b2a add save confirmation to admin page
fixes embed order not propagating to backend
2025-10-24 22:18:24 -06:00
Pas
52c1162f3c fix new settings with incorrect data
homeSectionOrder should never be empty.
2025-10-23 12:01:06 -06:00
Pas
8d7a61c5d4 increase watch party pull rate 2025-10-23 10:17:22 -06:00
Pas
d0db810e2a add remaining (missing) settings to all the parts 2025-10-19 18:43:35 -06:00
Pas
f0a35f6408 Add the ability to disable sources and embeds 2025-10-19 18:33:26 -06:00
Chris
47653c2906
Fix casting (#49)
* Tbh i tried adding it and it works but i cant fix the dual casting

* clean up chromecasting

* Apply Chromecast fixes

* Update Icon.tsx

---------

Co-authored-by: Pas <74743263+Pasithea0@users.noreply.github.com>
2025-10-12 11:16:16 -06:00
Pas
243314b12a restore manual source selection in auth 2025-10-10 14:05:13 -06:00
Pas
da67d85760 fix double click to seek build 2025-10-10 13:58:37 -06:00
Aykhan
c240ccefd5 add double-tap to seek feature 2025-10-10 20:50:25 +04:00
Pas
678a5e4806 add manual scrape setting 2025-10-08 19:30:12 -06:00
Pas
565e93fa73 Allow watching and bookmark section to be reordered 2025-09-29 19:03:25 -06:00
Pas
d5b8fbe408 Feat: close any modal with esc 2025-09-29 19:03:25 -06:00
Pas
b34e263369 add setting to disable speed boost 2025-09-03 21:14:04 -06:00
Pas
6a50fec37b add embed order on admin page 2025-08-14 09:41:36 -06:00
Pas
fbba8bc90f clear group order when logging out 2025-07-31 10:19:04 -06:00
Pas
0acb043960 fix groups and order initialization for new accounts 2025-07-31 10:14:50 -06:00
Pas
65ea4c5091 add edit group order 2025-07-30 22:41:49 -06:00
Pas
61c3b4acf0 change movie-web/providers to p-stream/providers and update 2025-07-15 20:13:36 -06:00
Pas
0edb4ece08 make native subtitles a proper setting 2025-07-07 22:44:18 -06:00
Pas
9b82d70a30 remove low performance url parameter 2025-06-25 09:27:41 -06:00
Pas
200d3e69ac add low performance mode 2025-06-24 17:59:13 -06:00
Pas
d6f132b4c9 add compact episodes view 2025-06-11 19:43:52 -06:00
Pas
715c26e6ab add realdebrid setup 2025-06-11 13:34:25 -06:00
Pas
52aa105aed add all preferences and fix
fixed febbox token account sync and add every other preference (except subtitle) to the backend sync
2025-06-06 10:14:22 -06:00
Pas
e8e9352e88 disable playback speed in watchparty 2025-06-05 13:00:30 -06:00
Pas
3cc435332c add carousel view for watching and bookmarks 2025-06-05 13:00:29 -06:00
Pas
3ce5053af5 Overhaul Discover Page and Featured
Add Featured Modal
Removed Individual Carousels for each genre
Recommended Carousel
View More page for viewing all
Improve several minor visuals
Update search and navigation

Full Commit Log:

add more carousel skeleton dots

bug fix and languages

remove provider translations

Add change button for recommended more content

add buttons to moreContent page

dropdown for changing recommended

Increase genres and providers

add home/search button to discover

Update FeaturedCarousel.tsx

fix recommended load more pages

increase number of featured items

clean up featured image fetch

maybe fix ff bug?

add dynamic blur to header

Update Dropdown.tsx

fix dropdown

add recommended carousel

animate dropdown

fix some visuals

random button

fix padding

reset timer when manually switching slides

fix editor picks more titles

add store for discover

fix editor picks

Update FeaturedCarousel.tsx

add view more card

move view more link

update carousel buttons and dropdown

finish 5 carousels

use 5 carousels

init carousel nav buttons

update dropdown

update featured sizing

update blurs

add clear blur to navigation

update padding and sizing

Update FeaturedCarousel.tsx

add loading skeleton

update discover navigation again

simplify featured media

Update SearchBar.tsx

tweak some minor visual stuff

fix button sizes

update carousel gradient

fix sticky

fix safari overlay bug

make search transparent

use secondary buttons on featured

fix up negative margins

fix searching classes

fix buttons because of the overlay

make it shorter

add featured section to home page

add toggle for image logos

fix details modal title overlay position

clean up some buttons

improve fed setup status check

update grid

Update FeaturedCarousel.tsx

dont show more content for providers

more stuff

clean and bugfix

update editor picks more content page

Update DetailsModal.tsx

more more more!

shuffle editor picks

discover update part 2

fix more info button

init discover v3
2025-06-05 13:00:29 -06:00