[Android] Medialibrary: move Medialibrary to AMedialibrary

Duncan McNamara git at videolan.org
Fri Jun 28 09:26:25 CEST 2019


vlc-android | branch: master | Duncan McNamara <dcn.mcnamara at gmail.com> | Tue Jun 11 11:50:10 2019 +0200| [f24fa2a597350736dbf0369cd9c31291589c4881] | committer: Duncan McNamara

Medialibrary: move Medialibrary to AMedialibrary

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

 medialibrary/jni/medialibrary.cpp                  | 104 +++---
 .../org/videolan/medialibrary/Medialibrary.java    | 198 +----------
 .../org/videolan/medialibrary/ServiceLocator.java  |  10 +
 .../medialibrary/interfaces/AMedialibrary.java     | 326 ++++++++++++++++++
 .../medialibrary/interfaces/media/AAlbum.java      |   6 +-
 .../medialibrary/interfaces/media/AArtist.java     |  10 +-
 .../medialibrary/interfaces/media/AGenre.java      |   8 +-
 .../src/org/videolan/medialibrary/media/Album.java |  28 +-
 .../org/videolan/medialibrary/media/Artist.java    |  48 +--
 .../org/videolan/medialibrary/media/DummyItem.java |   4 +-
 .../org/videolan/medialibrary/media/Folder.java    |  30 +-
 .../src/org/videolan/medialibrary/media/Genre.java |  58 ++--
 .../videolan/medialibrary/media/MediaWrapper.java  |  18 +-
 .../org/videolan/medialibrary/media/Playlist.java  |  54 +--
 .../org/videolan/medialibrary/media/Storage.java   |   4 +-
 .../medialibrary/stubs/StubMediaWrapper.java       |  18 -
 .../medialibrary/stubs/StubMedialibrary.java       | 370 +++++++++++++++++++++
 .../src/org/videolan/vlc/MediaParsingService.kt    |  24 +-
 .../src/org/videolan/vlc/PlaybackService.kt        |   4 +-
 .../src/org/videolan/vlc/StoragesMonitor.kt        |   4 +-
 vlc-android/src/org/videolan/vlc/VLCApplication.kt |   6 +-
 .../vlc/gui/AudioPlayerContainerActivity.kt        |   8 +-
 .../src/org/videolan/vlc/gui/MainActivity.kt       |   4 +-
 .../src/org/videolan/vlc/gui/SearchActivity.kt     |   4 +-
 .../vlc/gui/browser/MediaBrowserFragment.kt        |  20 +-
 .../videolan/vlc/gui/dialogs/SavePlaylistDialog.kt |   4 +-
 .../src/org/videolan/vlc/gui/helpers/UiTools.kt    |  34 +-
 .../vlc/gui/preferences/PreferencesAdvanced.kt     |   6 +-
 .../src/org/videolan/vlc/gui/tv/MainTvActivity.kt  |   6 +-
 .../src/org/videolan/vlc/gui/tv/MainTvFragment.kt  |   4 +-
 .../org/videolan/vlc/gui/tv/MediaHeaderAdapter.kt  |  16 +-
 .../vlc/gui/tv/browser/BaseBrowserTvFragment.kt    |  23 +-
 .../videolan/vlc/gui/tv/browser/BaseTvActivity.kt  |   6 +-
 .../vlc/gui/tv/browser/FileBrowserTvFragment.kt    |   2 +-
 .../vlc/gui/tv/browser/MediaBrowserTvFragment.kt   |   2 +-
 .../videolan/vlc/gui/video/VideoGridFragment.kt    |   4 +-
 .../org/videolan/vlc/gui/video/VideoListAdapter.kt |   6 +-
 .../videolan/vlc/gui/video/VideoPlayerActivity.kt  |   4 +-
 .../src/org/videolan/vlc/interfaces/Sortable.kt    |  12 +-
 .../videolan/vlc/media/MediaSessionBrowser.java    |  18 +-
 .../src/org/videolan/vlc/media/MediaUtils.kt       |  10 +-
 .../src/org/videolan/vlc/media/PlaylistManager.kt  |   4 +-
 .../org/videolan/vlc/providers/BrowserProvider.kt  |   6 +-
 .../vlc/providers/medialibrary/AlbumsProvider.kt   |   4 +-
 .../providers/medialibrary/MedialibraryProvider.kt |   8 +-
 .../vlc/providers/medialibrary/TracksProvider.kt   |  12 +-
 .../src/org/videolan/vlc/util/Kextensions.kt       |   8 +-
 .../src/org/videolan/vlc/util/ModelsHelper.kt      |  84 ++---
 .../org/videolan/vlc/util/ThumbnailsProvider.kt    |   8 +-
 .../videolan/vlc/viewmodels/MedialibraryModel.kt   |   6 +-
 .../vlc/viewmodels/MedialibraryViewModel.kt        |   6 +-
 .../org/videolan/vlc/viewmodels/SortableModel.kt   |   6 +-
 .../vlc/viewmodels/mobile/AlbumSongsViewModel.kt   |   8 +-
 .../vlc/viewmodels/mobile/AudioBrowserViewModel.kt |  10 +-
 .../vlc/viewmodels/mobile/PlaylistViewModel.kt     |   8 +-
 .../org/videolan/vlc/viewmodels/tv/MainTvModel.kt  |  10 +-
 56 files changed, 1119 insertions(+), 594 deletions(-)

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


More information about the Android mailing list