Skip to content

feat(tv): unify IPTV, Xtream, and Stalker portal setup into widescreen modal - #647

Merged
ProdigyV21 merged 9 commits into
ProdigyV21:mainfrom
Himanth-reddy:feat/unified-tv-source-modal
Sep 5, 2026
Merged

feat(tv): unify IPTV, Xtream, and Stalker portal setup into widescreen modal#647
ProdigyV21 merged 9 commits into
ProdigyV21:mainfrom
Himanth-reddy:feat/unified-tv-source-modal

Conversation

@Himanth-reddy

@Himanth-reddy Himanth-reddy commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Overview

Unifies all TV source setup workflows (M3U Playlists, Xtream Codes, and Stalker Portals) into a single cohesive modal, tailored for both TV and Mobile experiences:

  • TV: A widescreen two-column 10-foot UI with remote D-pad navigation, inline paste, and live content selection.
  • Mobile: A clean, single-column vertical card matching the Add Addons (InputModal) design language with full-width fields, touch subtitle "Tap to edit • Paste anywhere", and a dedicated full-width paste button.

Changes

1. Mobile Experience (Matches Add Addons / InputModal)

Adaptive Layout: On touchscreen devices (isTouchDevice), uses the single-column centered dialog matching InputModal.
Touch Subtitle: Includes "Tap to edit • Paste anywhere" under the dialog title.
Full-Width Roomy Fields: Replaced crowded inline buttons with clean full-width input boxes and numbered badges [1], [2], [3], etc.
Dedicated Full-Width Paste Button: Added [ 📋 Paste into [Target] ] at the bottom of the fields that dynamically targets whichever field was tapped (or defaults to the URL field).
Pinned Action Buttons: Cancel and Save Playlist buttons (weight(1f)) are anchored at the bottom.
URL Keyboard Optimization: Added InputType.TYPE_TEXT_VARIATION_URI for URL fields.

2. TV Experience (10-Foot Widescreen Layout)

Unified 3-Way Source Switcher: Combined M3U, Xtream, and Stalker setups under one "Add Playlist" modal in Settings.
Left Sidebar: Provides source tabs and import content toggles (Live TV, Movies, Series).
Right Pane: Provides input fields, contextual inline paste buttons, and action buttons.
Fine-tuned TV Remote D-pad Navigation:
• Navigating across source tabs with arrow keys only moves focus and does not switch sourceType until OK / Enter is pressed.
• Symmetrical sequential D-pad flow: [ M3U ][ Xtream ][ Stalker ][ Playlist Name ].
• Focused tabs feature an outer focus ring with a dark separation gap and 1.05x scale elevation for visibility on all backgrounds.

3. General Enhancements

Prefilled Defaults: New M3U and Xtream playlists prefill with "Playlist 1"; new Stalker portals prefill with "Portal 1".
Settings Screen Cleanup: Removed redundant "Add Stalker Portal" button in TV and mobile settings rows.

@github-actions github-actions Bot added the area: android Changes to the Android app or Gradle build label Sep 5, 2026
@Himanth-reddy
Himanth-reddy marked this pull request as draft September 5, 2026 11:44
… modal

- Introduce unified IptvPlaylistModal supporting M3U, Xtream Codes, and Stalker portals
- Provide responsive two-column 10-foot layout with source tab switcher
- Implement inline contextual paste buttons for URLs, credentials, and MAC addresses
- Refine D-pad focus flow across tabs and input fields without accidental auto-selection
- Prefill default playlist name (Playlist 1) and portal name (Portal 1)
- Replace separate IPTV and Stalker modals in SettingsScreen
@Himanth-reddy
Himanth-reddy force-pushed the feat/unified-tv-source-modal branch from e65a714 to 1edf605 Compare September 5, 2026 11:46
@Himanth-reddy
Himanth-reddy marked this pull request as ready for review September 5, 2026 12:09
@ProdigyV21
ProdigyV21 merged commit e114d16 into ProdigyV21:main Sep 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: android Changes to the Android app or Gradle build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants