Commit Graph

160 Commits

Author SHA1 Message Date
70514ea146 Added Profile dropdown menu 2026-03-27 14:52:27 +01:00
9eccf859bc Added logic for Searching through available medias and basic ui 2026-03-26 22:22:56 +01:00
3aa8b2cce4 Refactor navigation logic into separate container AppScreen 2026-03-26 20:12:19 +01:00
ea50a0c30e Fix library items black mark bug 2026-03-26 19:52:09 +01:00
473e780417 Remove add button from Episode and Movie Screen 2026-03-26 19:46:56 +01:00
e335cde887 Fix PlayerAdjustmentIndicator changing size when percentage gets one number 2026-03-26 19:44:07 +01:00
8afae8a71c Fix: Enhance NavDisplay transitions with fade animations and background color 2026-03-26 18:00:42 +01:00
dd3d8c044e Fix: Player seekbar ui blocking by only seeking when the seek bar is released 2026-03-26 17:19:27 +01:00
995913fef3 Fix TrackButtons to hide PersistentOverlay on outside touch 2026-03-25 21:03:11 +01:00
303c0e7c7f Fix buttons for navigation on SeriesScreen 2026-03-25 20:55:17 +01:00
2665b34b63 Fix MediaActionButton size on SeriesScreen 2026-03-25 20:23:09 +01:00
262d2624ea Add screen previews 2026-03-24 21:34:49 +01:00
f85624b159 Fix interactive episode navigation buttons 2026-03-24 21:34:38 +01:00
5137fd9893 code cleanup 2026-03-24 21:05:12 +01:00
Balogh Barnabás
291738d178 Return to episode screen after playback 2026-03-24 21:03:49 +01:00
Balogh Barnabás
2e8c864522 Fix playback progress updates on exit 2026-03-24 20:54:07 +01:00
Balogh Barnabás
ada0e9600a Refactor player track selection overlay 2026-03-24 20:32:36 +01:00
e37006486e Add series link to episode top bar 2026-03-20 16:55:37 +01:00
08cc4589c2 Refine series download actions 2026-03-20 16:55:37 +01:00
3941c67d8b feat: add smart download feature for series
Automatically manages downloaded episodes per series — keeps 5 unwatched
episodes downloaded, removing watched ones and fetching new ones on
HomeScreen open or pull-to-refresh. A single download button on the
Series screen opens a dialog to choose between downloading all episodes
or enabling smart download.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 16:55:37 +01:00
2d278bd348 feat: add batch download for seasons and entire series
Wire up the existing download button on the Series screen to download
all episodes, and add a per-season download button next to the season
tabs. Episode metadata is fetched in parallel for faster queuing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 16:55:37 +01:00
cf078c760e fix: always navigate to Series screen when exiting playback from Episode
Instead of just popping the EpisodeRoute (which could land on Home if
opened from ContinueWatching), pop and push a SeriesRoute so playback
exit consistently returns to the SeriesScreen.
2026-03-20 16:55:37 +01:00
12fdf977a4 feat: navigate back to Series screen when exiting playback
Pop the EpisodeRoute from the navigation stack when playback starts,
so finishing PlayerActivity returns to the SeriesScreen instead of
the EpisodeScreen.
2026-03-20 16:55:37 +01:00
5ca127434d feat: add pull-to-refresh gesture to HomeScreen
Wrap HomeContent with PullToRefreshBox to allow refreshing library,
continue watching, and next up sections by pulling down. Also fix
refreshHomeData to suspend until loading completes so the refresh
indicator dismisses properly.
2026-03-20 16:55:37 +01:00
cc972e0e89 feat: add play next up button to Series screen
Adds a MediaResumeButton to the Series screen action bar that directly
launches playback for the next unwatched episode. Shows "Resume" with
progress fill if partially watched, or "Play" for unwatched episodes.
2026-03-20 16:55:37 +01:00
b4b500d5dd fix: request POST_NOTIFICATIONS permission before episode downloads
EpisodeScreen called viewModel.onDownloadClick() directly without first
requesting the POST_NOTIFICATIONS runtime permission. On Android 13+
(API 33+), foreground service notifications are suppressed without this
permission, so downloads ran silently with no notification shown.

Mirrors the existing permission pattern from MovieScreen: on Android 13+
the system dialog is shown before the first download; on denial the
download still proceeds (notification is nice-to-have).
2026-03-20 16:55:37 +01:00
2a7874806d feat: show in-progress downloads with progress bar and cancel in DownloadsContent
- Add ActiveDownloadItem data class to represent a download in progress
- Add observeActiveDownloads() to MediaDownloadManager, polling the Media3
  download index every 500ms on Dispatchers.IO for reliable real-time progress
  (listener callbacks alone do not fire on every progress update)
- DownloadsViewModel exposes activeDownloads (StateFlow) and cancelDownload();
  the completed downloads flow filters out items currently in progress
- DownloadsContent shows a "Downloading" section with thumbnail, title,
  progress bar + percentage, and a cancel button above the completed grid
2026-03-20 16:55:37 +01:00
fce5a981a2 fix: use absolute seek position for gesture seeking to prevent snap-back
Capture the player position when the horizontal drag starts and compute
an absolute seek target instead of using relative seekBy, which could
drift or snap back due to playback advancing during the gesture.
2026-03-20 16:55:37 +01:00
cccb20312b fix: Prevent tap gesture handler from interfering with seek drag
The detectTapGestures and drag awaitEachGesture handlers competed for
pointer events, causing drag() to sometimes end prematurely and the
seek to not fire. A shared dragActive flag now gates tap/double-tap
callbacks so they are suppressed during active drags.
2026-02-27 16:22:54 +01:00
318b190061 Code cleanup 2026-02-22 19:08:28 +01:00
d90612a056 feat: Remove quick play content on the Nextup section 2026-02-22 15:48:16 +01:00
8c7ddab9c2 feat: Implement Episode download functionality 2026-02-22 15:41:42 +01:00
9ec09a0e94 feat: Allow offline mode in Purefin 2026-02-22 15:41:08 +01:00
d5c0bbded6 feat: add DownloadsViewModel for managing offline media downloads 2026-02-22 13:41:52 +01:00
ce126988d9 feat: add images to libraries on LibrariesContent screen 2026-02-22 12:50:56 +01:00
843bd749b1 feat: remove offline state toggle button 2026-02-22 11:17:03 +01:00
c72283c566 refactor: replace NavigationDrawer with NavigationBar on HomeScreen
Converts the mobile home screen from a ModalNavigationDrawer to a
bottom NavigationBar with three tabs: Home, Libraries, and Downloads.
2026-02-22 11:05:27 +01:00
7333781f83 refactor: modularize app into multi-module architecture 2026-02-22 11:05:26 +01:00
feb2bdd9e9 fix: do not show next up section header if no content available 2026-02-22 11:05:26 +01:00
455d8957fd fix: remove left in background for gesture testing 2026-02-22 11:05:26 +01:00
72982a0f48 fix: fix gesture layout 2026-02-22 11:05:26 +01:00
969f6dc5fd revert: restore separate ContinueWatching and NextUp sections
Manually reverts c5b613e which combined the two sections. Restores
the NextUp UI section, data flow, and dedicated API call.
2026-02-22 11:05:15 +01:00
a86d496ff9 fix: consume vertical drag events to prevent overlay toggle
Vertical drag gestures (brightness/volume) were not consuming pointer
events, causing detectTapGestures to fire onTap and toggle the player
overlay when the gesture ended.
2026-02-22 11:05:05 +01:00
6191098158 feat: use MediaResumeButton with progress in Movie and Episode screens
Replace MediaPlayButton with MediaResumeButton in both MovieComponents
and EpisodeComponents, converting Double progress (0-100) to Float (0-1).
2026-02-22 11:04:25 +01:00
17ddc0b160 feat: update WatchStateIndicator and UnwatchedEpisodeIndicator sizes and styles 2026-02-19 17:51:22 +01:00
f3dd2a0783 feat: remove quick play button from the ContinueWatchingCard on Homepage 2026-02-19 11:03:41 +01:00
62606fc7a4 cleanup: remove unused component 2026-02-19 11:01:20 +01:00
90a66ef7e3 fix: Change SearchField bg color so it is can be seen easier 2026-02-19 10:57:27 +01:00
7d564c2470 feat: Generated MUI3 Color scheme 2026-02-19 10:56:37 +01:00
ed7d0f23d6 fix: Prevent rendering empty Continue Watching section 2026-02-18 20:13:02 +01:00