Skip to content

[REFACTOR] - Refactor audio player service architecture#47

Open
atlet99 wants to merge 794 commits intomainfrom
feature/beta_1.2.7
Open

[REFACTOR] - Refactor audio player service architecture#47
atlet99 wants to merge 794 commits intomainfrom
feature/beta_1.2.7

Conversation

@atlet99
Copy link
Member

@atlet99 atlet99 commented Dec 6, 2025

Extract player logic into separate manager classes for better maintainability and separation of concerns.

  • Extract playback control logic to PlaybackController
  • Extract position management to PositionManager
  • Extract player state handling to PlayerStateHelper
  • Extract metadata management to MetadataManager
  • Extract notification handling to NotificationHelper
  • Extract playlist management to PlaylistManager
  • Extract sleep timer logic to SleepTimerManager
  • Extract unload logic to UnloadManager
  • Add FileDurationDatabaseService for caching file durations
  • Add chapterNumber support from native player
  • Improve error handling by using Object instead of Exception
  • Update version to 1.2.7+2;

@atlet99 atlet99 added this to the 1.2.7-beta milestone Dec 6, 2025
@atlet99 atlet99 self-assigned this Dec 6, 2025
@atlet99 atlet99 added the enhancement New feature or request label Dec 6, 2025
Abdurakhman R. added 27 commits January 1, 2026 01:47
…d mirror health checks, distinguishing expected failures from errors;
… with detailed information and empty result checks;
…mplement notification permission request, and display indexing progress UI;
…foreground service notification, and show clearing index status;
…ueries and add debug commands/logging for indexing;
…t, and library improvements across the application;
…te parser and repository tests accordingly;
…est detection, and enhance author extraction from titles;
…il UI with new metadata rows, and update string resources;
…data extraction and enhancing fallback logic for topic details and search results;
… a new helper function, accompanied by a new test;
Abdurakhman R. added 30 commits January 12, 2026 20:29
…ance error handling and readability by standardizing the logging format. This includes updating logger calls to use structured logging practices in various services, ensuring consistent error reporting and improved clarity in log messages.
…ds, simplify torrent creation date assignment, and remove audiobook-specific forum indexing validation;
…unction signatures, and simplifying type imports;
…x when play is invoked after book completion;
… checks to use coroutines for debouncing and improved cancellation;
… Coil3 and re-enable the NotificationManager;
… with new UI components for lyrics and settings, and update the navigation drawer;
…sion, removing the custom NotificationManager;
…yback speed from user preferences, and ensure explicit foreground notification cancellation on service termination;
…icit release calls and listener removal for audio components;
…e audio player controller initialization with connection state tracking and retries;
…new playback-related dependencies into constructors;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant