Skip to content

feat(playback): add SafeTrackSelector and improve preference components#502

Merged
rukamori merged 1 commit into
ArchiveTuneApp:devfrom
sang765:settings/internet/proxy/port
Apr 24, 2026
Merged

feat(playback): add SafeTrackSelector and improve preference components#502
rukamori merged 1 commit into
ArchiveTuneApp:devfrom
sang765:settings/internet/proxy/port

Conversation

@sang765

@sang765 sang765 commented Apr 23, 2026

Copy link
Copy Markdown
Member
  • Implement SafeTrackSelectionFactory and SafeExoTrackSelection to provide bounds-checking for track exclusions, preventing potential index out of bounds errors.
  • Add NumberEditTextPreference to Preference.kt for a more consistent numeric input experience.
  • Update EditTextPreference and TextFieldDialog to support custom KeyboardOptions.
  • Use NumberEditTextPreference for proxy port settings in InternetSettings.
  • Apply numeric keyboard type to the port selection dialog in MusicTogetherScreen.
  • Integrate SafeTrackSelectionFactory into MusicService via DefaultTrackSelector.

Also this branch changed small thing for proxy port from slidebar to input because sildebar so much laggy (value issue)

- Implement `SafeTrackSelectionFactory` and `SafeExoTrackSelection` to provide bounds-checking for track exclusions, preventing potential index out of bounds errors.
- Add `NumberEditTextPreference` to `Preference.kt` for a more consistent numeric input experience.
- Update `EditTextPreference` and `TextFieldDialog` to support custom `KeyboardOptions`.
- Use `NumberEditTextPreference` for proxy port settings in `InternetSettings`.
- Apply numeric keyboard type to the port selection dialog in `MusicTogetherScreen`.
- Integrate `SafeTrackSelectionFactory` into `MusicService` via `DefaultTrackSelector`.

Signed-off-by: Hà Tiến Sáng <bemimnitran@gmail.com>
@rukamori rukamori merged commit 93be13b into ArchiveTuneApp:dev Apr 24, 2026
1 check passed
@sang765 sang765 deleted the settings/internet/proxy/port branch April 24, 2026 14:25
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.

2 participants