[Android] Remove the TV show table and use MediaMetadata instead

Nicolas Pomepuy git at videolan.org
Thu Nov 28 11:41:01 CET 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Tue Nov 19 11:56:14 2019 +0100| [1a0280f6d7e2304da3032f45b333b491495b49f4] | committer: Geoffrey Métais

Remove the TV show table and use MediaMetadata instead

> https://code.videolan.org/videolan/vlc-android/commit/1a0280f6d7e2304da3032f45b333b491495b49f4
---

 vlc-android/res/layout/movie_browser_tv_item.xml   |  10 +-
 .../src/org/videolan/vlc/database/Converters.kt    |  14 +-
 .../src/org/videolan/vlc/database/MediaDatabase.kt |   3 +-
 .../vlc/database/MediaMetadataDataFullDao.kt       |   8 +-
 .../org/videolan/vlc/database/MediaTvshowDao.kt    |  46 ------
 .../videolan/vlc/database/models/MediaMetadata.kt  |  60 ++-----
 .../videolan/vlc/gui/tv/MoviepediaTvFragment.kt    |  12 +-
 .../videolan/vlc/gui/tv/MoviepediaTvItemAdapter.kt |  88 +++++-----
 .../gui/tv/browser/MoviepediaBrowserTvFragment.kt  |  35 ++--
 .../vlc/providers/MoviepediaMovieProvider.kt       |   5 +-
 .../videolan/vlc/providers/MoviepediaProvider.kt   |  10 +-
 .../vlc/providers/MoviepediaTvshowProvider.kt      |  53 ------
 .../datasources/MovieDataSourceFactory.kt          |   5 +-
 .../datasources/TvshowDataSourceFactory.kt         |  48 ------
 .../vlc/repository/MediaMetadataRepository.kt      |  27 ++--
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |   9 +-
 .../org/videolan/vlc/viewmodels/MoviepediaModel.kt | 177 ++++++++++-----------
 .../org/videolan/vlc/viewmodels/tv/MainTvModel.kt  |   4 +-
 .../viewmodels/tv/MoviepediaBrowserViewModel.kt    |  15 +-
 19 files changed, 231 insertions(+), 398 deletions(-)

Diff:   https://code.videolan.org/videolan/vlc-android/commit/1a0280f6d7e2304da3032f45b333b491495b49f4


More information about the Android mailing list