[Android] Medialibrary integration
Geoffrey Métais
git at videolan.org
Thu Nov 3 11:34:09 CET 2016
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Apr 6 15:03:10 2016 +0200| [94e1b3ef98d720516aec2b11b71e6dec721ee511] | committer: Geoffrey Métais
Medialibrary integration
Written with Bastion Penavayre and Thomas Guillem for making medialibrary build on Android
medialibrary: use clang
MediaWrapper class is now integrated into medialibrary module
> https://code.videolan.org/videolan/vlc-android/commit/94e1b3ef98d720516aec2b11b71e6dec721ee511
---
.gitignore | 8 +-
compile-libvlc.sh | 153 ++++
gdb.sh | 3 +
medialibrary/AndroidManifest.xml | 9 +
medialibrary/build.gradle | 55 ++
medialibrary/jni/Android.mk | 7 +
medialibrary/jni/AndroidDeviceLister.cpp | 36 +
medialibrary/jni/AndroidDeviceLister.h | 22 +
medialibrary/jni/AndroidMediaLibrary.cpp | 593 +++++++++++++++
medialibrary/jni/AndroidMediaLibrary.h | 104 +++
medialibrary/jni/log.h | 66 ++
medialibrary/jni/medialibrary.cpp | 808 +++++++++++++++++++++
medialibrary/jni/utils.cpp | 201 +++++
medialibrary/jni/utils.h | 99 +++
.../org/videolan/medialibrary/Medialibrary.java | 426 +++++++++++
.../src/org/videolan/medialibrary/Tools.java | 20 +
.../interfaces/DevicesDiscoveryCb.java | 8 +
.../medialibrary/interfaces/MediaAddedCb.java | 7 +
.../medialibrary/interfaces/MediaUpdatedCb.java | 7 +
.../src/org/videolan/medialibrary/media/Album.java | 93 +++
.../org/videolan/medialibrary/media/Artist.java | 77 ++
.../org/videolan/medialibrary/media/DummyItem.java | 38 +
.../src/org/videolan/medialibrary/media/Genre.java | 43 ++
.../medialibrary/media/MediaLibraryItem.java | 53 ++
.../medialibrary/media/MediaSearchAggregate.java | 55 ++
.../videolan/medialibrary}/media/MediaWrapper.java | 80 +-
.../org/videolan/medialibrary/media/Playlist.java | 64 ++
.../medialibrary/media/SearchAggregate.java | 73 ++
settings.gradle | 2 +-
vlc-android/build.gradle | 10 +
vlc-android/proguard.cfg | 2 +
vlc-android/res/layout/audio_album.xml | 2 +-
vlc-android/res/layout/audio_albums_songs.xml | 4 +-
vlc-android/res/layout/audio_browser.xml | 10 +-
vlc-android/res/layout/audio_browser_item.xml | 148 ++--
vlc-android/res/layout/audio_browser_separator.xml | 20 +-
vlc-android/res/layout/dialog_playlist.xml | 2 +-
vlc-android/res/layout/directory_view_item.xml | 2 +-
vlc-android/res/layout/list_item.xml | 2 +-
vlc-android/res/layout/playlist_item.xml | 2 +-
vlc-android/res/layout/video_grid_card.xml | 2 +-
vlc-android/res/layout/video_list_card.xml | 2 +-
.../src/org/videolan/vlc/PlaybackService.java | 43 +-
.../org/videolan/vlc/RecommendationsService.java | 6 +-
.../src/org/videolan/vlc/VLCApplication.java | 17 +
.../vlc/extensions/ExtensionManagerService.java | 2 +-
.../src/org/videolan/vlc/extensions/Utils.java | 2 +-
.../vlc/gui/AudioPlayerContainerActivity.java | 35 +-
.../src/org/videolan/vlc/gui/HistoryAdapter.java | 35 +-
.../src/org/videolan/vlc/gui/HistoryFragment.java | 7 +-
.../src/org/videolan/vlc/gui/MainActivity.java | 97 ++-
.../org/videolan/vlc/gui/SecondaryActivity.java | 28 +-
.../org/videolan/vlc/gui/audio/AlbumAdapter.java | 27 +-
.../videolan/vlc/gui/audio/AudioAlbumFragment.java | 186 ++---
.../vlc/gui/audio/AudioAlbumsSongsFragment.java | 345 ++++-----
.../vlc/gui/audio/AudioBrowserAdapter.java | 221 ++++++
.../vlc/gui/audio/AudioBrowserFragment.java | 638 +++++++---------
.../vlc/gui/audio/AudioBrowserListAdapter.java | 590 ---------------
.../org/videolan/vlc/gui/audio/AudioPlayer.java | 3 +-
.../videolan/vlc/gui/audio/PlaylistAdapter.java | 2 +-
.../vlc/gui/browser/BaseBrowserAdapter.java | 2 +-
.../vlc/gui/browser/BaseBrowserFragment.java | 41 +-
.../videolan/vlc/gui/browser/ExtensionAdapter.java | 2 +-
.../videolan/vlc/gui/browser/ExtensionBrowser.java | 2 +-
.../vlc/gui/browser/FileBrowserFragment.java | 3 +-
.../vlc/gui/browser/FilePickerAdapter.java | 2 +-
.../vlc/gui/browser/FilePickerFragment.java | 2 +-
.../vlc/gui/browser/MediaBrowserFragment.java | 40 +-
.../vlc/gui/browser/NetworkBrowserFragment.java | 2 +-
.../vlc/gui/browser/StorageBrowserAdapter.java | 2 +-
.../vlc/gui/browser/StorageBrowserFragment.java | 6 +-
.../videolan/vlc/gui/dialogs/AdvOptionsDialog.java | 2 +-
.../vlc/gui/dialogs/NetworkServerDialog.java | 2 +-
.../vlc/gui/dialogs/PlaybackSpeedDialog.java | 2 +-
.../vlc/gui/dialogs/SavePlaylistDialog.java | 76 +-
.../videolan/vlc/gui/helpers/AsyncImageLoader.java | 165 +++--
.../org/videolan/vlc/gui/helpers/AudioUtil.java | 5 +-
.../org/videolan/vlc/gui/helpers/BitmapUtil.java | 2 +-
.../videolan/vlc/gui/helpers/MediaComparators.java | 2 +-
.../vlc/gui/helpers/SearchSuggestionsAdapter.java | 2 +-
.../src/org/videolan/vlc/gui/tv/CardPresenter.java | 2 +-
.../org/videolan/vlc/gui/tv/MainTvActivity.java | 154 ++--
.../vlc/gui/tv/MediaItemDetailsFragment.java | 2 +-
.../org/videolan/vlc/gui/tv/SearchFragment.java | 2 +-
.../src/org/videolan/vlc/gui/tv/TvUtil.java | 10 +-
.../gui/tv/audioplayer/AudioPlayerActivity.java | 9 +-
.../vlc/gui/tv/audioplayer/PlaylistAdapter.java | 4 +-
.../vlc/gui/tv/browser/BaseTvActivity.java | 6 +-
.../vlc/gui/tv/browser/BrowserGridFragment.java | 3 +-
.../gui/tv/browser/DirectoryBrowserFragment.java | 2 +-
.../gui/tv/browser/MediaLibBrowserFragment.java | 14 +-
.../videolan/vlc/gui/tv/browser/MusicFragment.java | 42 +-
.../vlc/gui/tv/browser/NetworkBrowserFragment.java | 3 +-
.../vlc/gui/tv/browser/SongsBrowserFragment.java | 21 +-
.../vlc/gui/tv/browser/SortedBrowserFragment.java | 30 +-
.../vlc/gui/tv/browser/VerticalGridActivity.java | 9 +-
.../vlc/gui/tv/browser/VideoBrowserFragment.java | 68 +-
.../videolan/vlc/gui/video/MediaInfoFragment.java | 18 +-
.../videolan/vlc/gui/video/VideoGridFragment.java | 315 ++++----
.../videolan/vlc/gui/video/VideoListAdapter.java | 28 +-
.../videolan/vlc/gui/video/VideoListHandler.java | 30 -
.../vlc/gui/video/VideoPlayerActivity.java | 28 +-
.../vlc/gui/view/NpaLinearLayoutManager.java | 44 ++
.../src/org/videolan/vlc/interfaces/IBrowser.java | 8 +-
.../org/videolan/vlc/interfaces/IRefreshable.java | 2 +-
.../org/videolan/vlc/interfaces/IVideoBrowser.java | 29 -
.../src/org/videolan/vlc/media/MediaDatabase.java | 52 +-
.../src/org/videolan/vlc/media/MediaGroup.java | 10 +-
.../src/org/videolan/vlc/media/MediaLibrary.java | 43 +-
.../src/org/videolan/vlc/media/MediaUtils.java | 24 +-
.../org/videolan/vlc/media/MediaWrapperList.java | 2 +
.../src/org/videolan/vlc/media/Thumbnailer.java | 196 -----
.../src/org/videolan/vlc/util/AndroidDevices.java | 3 +-
.../src/org/videolan/vlc/util/FileUtils.java | 4 +-
.../src/org/videolan/vlc/util/Permissions.java | 2 +-
.../org/videolan/vlc/util/SubtitlesDownloader.java | 2 +-
vlc-android/src/org/videolan/vlc/util/Util.java | 4 +
.../src/org/videolan/vlc/util/VLCOptions.java | 2 +-
118 files changed, 4815 insertions(+), 2476 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/94e1b3ef98d720516aec2b11b71e6dec721ee511
More information about the Android
mailing list