Skip to content

Conversation

@saieshshirodkar
Copy link

  1. Feature: Player Button Customization
    I added a new "Buttons" section in the player settings so you can customize which control buttons show up in the player UI.

What you can do now:
Toggle individual buttons:

Bottom-left: Lock, Zoom, Picture-in-Picture (PiP), and Background Play.

Top-right: Screen Rotation toggle.

Adaptive layout:
If you hide all the bottom-left buttons, the layout adjusts automatically — the progress bar and time indicators shift down to keep everything looking neat and clean.

  1. Bug Fix: Media Sync & Permission Handling
    I fixed a crash that happened when storage permission was revoked after being granted.

The issue:
The media sync process didn’t know how to handle the permission being taken away mid-session, and that caused the app to crash.

Also, once the sync was stopped (like after a permission change), it couldn’t restart properly.

The fix:
I made the synchronizer more robust so it can stop and restart cleanly.

The main screen now checks permission status properly — it starts syncing only when permission is granted and stops immediately when it’s not. No more crashes.

Overall, the app should now handle permission changes smoothly and stay stable no matter what.

Syndicate added 2 commits July 18, 2025 23:37
This commit introduces a new feature that allows users to customize the visibility of player control buttons.

- Adds a new 'Buttons' section in the player settings.
- Provides individual toggles to show or hide the Lock, Video Zoom, Picture-in-Picture, Background Play, and Screen Rotation buttons.
- The player layout dynamically adjusts to hide empty space when all bottom-left buttons are disabled.
This commit fixes a bug where the app would crash if the storage permission was revoked while the media synchronizer was running.

- The `LocalMediaSynchronizer` is updated to properly stop and restart.
- The `MainActivity` now manages the synchronizer's lifecycle based on the permission status.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant