Skip to content

fix(iptv): reload EPG during manual playlist refresh - #601

Merged
ProdigyV21 merged 1 commit into
ProdigyV21:mainfrom
Saelon600:fix/iptv-manual-refresh-epg
Aug 24, 2026
Merged

fix(iptv): reload EPG during manual playlist refresh#601
ProdigyV21 merged 1 commit into
ProdigyV21:mainfrom
Saelon600:fix/iptv-manual-refresh-epg

Conversation

@Saelon600

Copy link
Copy Markdown

Summary

  • Makes Settings → Refresh IPTV force both playlist and EPG network reloads.
  • Allows EPG source discovery/network fetch during an explicit refresh instead of purging guide data and then performing a cache-only load.
  • Keeps automatic/non-forced settings loads cache-friendly and defers broad network EPG work.

Why

The refresh action could finish very quickly while leaving the guide empty or stuck on “Guide pending”, because it forced the playlist but explicitly disabled EPG reload/network fetching.

Testing

  • IptvRefreshPolicyTest
    • manual refresh forces playlist, EPG, and network EPG flags
    • automatic load keeps those flags disabled
  • ./gradlew :app:compileSideloadDebugKotlin
  • ./gradlew :app:testSideloadDebugUnitTest
  • git diff --check
  • Manual phone verification on the fork build: EPG populated noticeably faster after refresh.

Behavior note

An explicit manual refresh may take longer than before because it now performs the EPG work the UI promises. Normal startup remains cache-first.

Scope

Android Settings IPTV refresh orchestration only. No startup cache policy, backend, player interaction, catalog, or app version changes.

Make forced Settings refresh reload playlist and EPG data from the network while preserving cache-only behavior for non-forced loads. Add focused policy coverage for both paths.
@github-actions github-actions Bot added the area: android Changes to the Android app or Gradle build label Aug 24, 2026
@ProdigyV21
ProdigyV21 merged commit 545206d into ProdigyV21:main Aug 24, 2026
1 check 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.

3 participants