Nicolas Pomepuy
c3c08957a6
Medialibrary: implement the playlist type
4 years ago
Nicolas Pomepuy
99055f2954
Medialibrary: implement favorite API changes on albums, artists and genres
4 years ago
Nicolas Pomepuy
f2f3940520
Implement ML favorite operation on tracks
4 years ago
Duncan McNamara
0c9b96ba1a
Medialibrary: implement search API changes
4 years ago
Duncan McNamara
055704c4ab
ML: add JNI + java for new subscriptions API
4 years ago
Duncan McNamara
9e6675b0c8
MlStorage: fix ban / unban when space in filename
The list of banned folders returned by the medialibrary returns an
encoded path, including spaces which aren't encoded by
VLCUtil.encodeVLCString. To properly compare strings in the ban unban
callback, it is necessary to manually encode the space.
4 years ago
Nicolas Pomepuy
e3b331da6f
Fix some warnings
4 years ago
Nicolas Pomepuy
b65b717bb1
Make it possible to hotswap between VLC 3 and VLC 4
4 years ago
Nicolas Pomepuy
6bad592cdf
Fix typo in searchFromPLaylist function
4 years ago
Thomas Guillem
67c0dc87b8
medialibrary/jni: add missing include
Triggering an error with the NDK25
4 years ago
Robert Stone
4f5d833f27
Use dash separator
Fixes #2605
4 years ago
Martin Finkel
6f4013294b
build: depend on libvlcjni
4 years ago
Robert Stone
a422a004ed
Fix warnings
4 years ago
Hugo Beauzée-Luyssen
2bed479b69
AML: Use new API to provide logging parameters
4 years ago
Duncan McNamara
793dc7d447
Medialibrary: add jni for media->markAsPlayed()
4 years ago
Duncan McNamara
0163bb2b41
Medialibrary: add getter for media playCount
4 years ago
Nicolas Pomepuy
f249782f6d
Rework the Medialibrary initialization flow
4 years ago
Hugo Beauzée-Luyssen
ede1a12b2a
AndroidMediaLibrary: Remove write only flags
4 years ago
Hugo Beauzée-Luyssen
ed867ab049
AndroidMediaLibrary: Remove start() function
This function doesn't exist anymore in the medialibrary and doesn't need
a binding
4 years ago
Nicolas Pomepuy
dc204506e3
Remove useless calls to std::move in JNI
4 years ago
Nicolas Pomepuy
86ebaccb40
Fix typo + rewording
4 years ago
Nicolas Pomepuy
22df541c41
Implement the ML banned folder listing
4 years ago
Duncan McNamara
28ecc9e604
JNI: update init with SetupConfig
4 years ago
Duncan McNamara
8aa80921cd
Implement new folders API
4 years ago
Nicolas Pomepuy
de36fc0879
Remove obsolete calls to IAlbumTrack
4 years ago
Nicolas Pomepuy
8183757c9b
Implement the new playlist nbDurationUnknown API
4 years ago
Nicolas Pomepuy
4e590b657c
Display the videos time and progress on the TV home screen
4 years ago
Nicolas Pomepuy
aa14873ca6
Remove the ML aar dependency for assembleRelease
4 years ago
Nicolas Pomepuy
024d7ff5c0
Implement new ML playlist APIs
4 years ago
Nicolas Pomepuy
ea383730f6
Implement the new seen param for groups and display it
Fixes #2029
4 years ago
Nicolas Pomepuy
0b4ee743b7
New ML set time API
4 years ago
Hugo Beauzée-Luyssen
22511387c9
medialibrary: Avoid folder -> id -> folder conversions
4 years ago
Hugo Beauzée-Luyssen
3096e52bbb
medialibrary: Add a folder accessor
4 years ago
Nicolas Pomepuy
242f8b393b
Create MediaWrapper even if ML is not able to retrieve a mrl
Fixes #2273
4 years ago
Hugo Beauzée-Luyssen
8f3571d543
buildsystem: Use a prebuilt module for linking libmla with sqlite
This reduces the amount of variables and weird path we have to sprinkle
throughout the buildscript
4 years ago
Hugo Beauzée-Luyssen
3b3d417c1d
buildsystem: Use a prebuilt module to link medialibrary and libmla
This way the build system realizes that it needs to rebuild the JNI
library if the libmedialibrary.a changes
refs #2264
4 years ago
Hugo Beauzée-Luyssen
aa28ff5b15
medialibrary: Android.mk: Remove explicit set of a default value
LOCAL_MODULE_FILENAME defaults to lib<modulename>.so
4 years ago
Hugo Beauzée-Luyssen
4b2db496e4
medialibrary: Android.mk: Include CLEAN_VARS
This will clean the variables and will prevent us from having to
override some defaults that were polluted by the previous Android.mk
builds
4 years ago
Nicolas Pomepuy
e42fa88be7
Proper crash fix for the NullPointerException triggered by a race condition
The fix made in 65cac21c98
was not working because MediaWrapperImpl was overriding the
getTitle method. The useless override has been removed
5 years ago
Nicolas Pomepuy
4b1aacda0f
Implement the new clear medialibrary database return value
5 years ago
Nicolas Pomepuy
65cac21c98
Prevent NullPointerException by avoiding race conditions
5 years ago
Hugo Beauzée-Luyssen
efc5c129f8
medialibrary: Save a couple copies of std::set
5 years ago
Hugo Beauzée-Luyssen
3a85bc787e
medialibrary: use utils::jni::longArray for native long arrays
5 years ago
Hugo Beauzée-Luyssen
303984c493
medialibrary: use utils::jni::objectArray for native objects arrays
5 years ago
Hugo Beauzée-Luyssen
9dec1a7e80
medialibrary: Use utils::jni::object for native objects
5 years ago
Hugo Beauzée-Luyssen
ae76af2ec5
medialibrary: Use utils::jni::string for native strings
This removes the need to manually invoke DeleteLocalRef and fixes a leak
on error in mediaToMediaWrapper
5 years ago
Hugo Beauzée-Luyssen
e76b3a13aa
jni: Add a wrapper to automatically release localrefs
5 years ago
Hugo Beauzée-Luyssen
8ef33a4e31
medialibrary: utils: Don't reassign NULL to a NULL initialized value
This simplifies the code and will avoid useless calls once we switch to
a RAII enabled type
5 years ago
Nicolas Pomepuy
3d0cf511ef
Fix NullPointerException when a MediaWrapper uri is null
5 years ago
Nicolas Pomepuy
309861d7a5
Migrate to gradle 7.0.2
5 years ago