[Android] WatchNext: add media paths to programs
Duncan McNamara
git at videolan.org
Mon Sep 27 06:03:24 UTC 2021
vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Fri Sep 10 19:31:39 2021 +0200| [cd94409081f35ed127a45e56be8f9dbad660f95b] | committer: Nicolas Pomepuy
WatchNext: add media paths to programs
Many events can invalidate a program with just an id: medialibrary
reindexing that changes media ids, deleting the file referenced by the
id. By adding media paths to programs, there are now two media
references in the program to check it's validity, and remove it if
invalid.
> https://code.videolan.org/videolan/vlc-android/commit/cd94409081f35ed127a45e56be8f9dbad660f95b
---
.../org/videolan/television/ui/MainTvFragment.kt | 3 +
.../ui/preferences/PreferencesAdvanced.kt | 2 +
.../videolan/org/commontools/TvChannelUtils.kt | 11 +-
.../src/org/videolan/vlc/MediaParsingService.kt | 5 +
.../src/org/videolan/vlc/StartActivity.kt | 11 +-
.../src/org/videolan/vlc/util/TvChannels.kt | 174 +++++++++++++++++++--
.../src/org/videolan/vlc/util/VersionMigration.kt | 16 +-
7 files changed, 203 insertions(+), 19 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/cd94409081f35ed127a45e56be8f9dbad660f95b
More information about the Android
mailing list