feat(iptv): group Live TV categories by playlist order - #603
Conversation
Keep provider filters and TV/touch category sections aligned with configured playlist order, including paged channel counts, while preserving playlist-scoped groups and focus navigation.
|
Thanks for this contribution. Grouping categories by playlist is a useful improvement for multi-playlist setups, and the ordering/isolation logic looks good. The exact merge also compiles and the focused tests pass. There are two things to fix before merging:
Once those are handled, this should be a strong improvement and ready for another check. |
Keep unmatched Stalker/other categories in dedicated sections for hybrid setups, while retaining the legacy flat category list when only one populated source exists.
|
Addressed both review items in
|
Summary
Why
Multi-playlist setups can contain the same category names from different providers. Flattening those categories makes navigation ambiguous and can mix channels from the wrong playlist.
Testing
PlaylistCategorySectionsTest./gradlew :app:compileSideloadDebugKotlin./gradlew :app:testSideloadDebugUnitTestgit diff --checkScope
Android Live TV provider/category navigation only. No EPG actions, VOD lookup, playback rules, responsive layout, backend, or app version changes.