Browse Source

Bump the remote access version to 0.1.3

merge-requests/2174/head remoteaccess-0.1.3
Nicolas Pomepuy 1 year ago
parent
commit
9c2d2c687d
  1. 4
      application/webserver/src/main/java/org/videolan/vlc/webserver/RemoteAccessRouting.kt
  2. 2
      build.gradle

4
application/webserver/src/main/java/org/videolan/vlc/webserver/RemoteAccessRouting.kt

@ -758,6 +758,10 @@ fun Route.setupRouting(appContext: Context, scope: CoroutineScope) {
call.respond(HttpStatusCode.Forbidden)
return@get
}
if (!Permissions.canReadStorage(appContext)) {
call.respond(HttpStatusCode.Forbidden)
return@get
}
//Get content synchronously
val dataset = LiveDataset<MediaLibraryItem>()
val provider = withContext(Dispatchers.Main) {

2
build.gradle

@ -42,7 +42,7 @@ ext {
versionCode = 3060100
versionName = project.hasProperty('forceVlc4') && project.getProperty('forceVlc4') ? '4.0.0-preview - ' + versionCode : '3.6.1'
vlcMajorVersion = project.hasProperty('forceVlc4') && project.getProperty('forceVlc4') ? 4 : 3
remoteAccessVersion = '0.1.2'
remoteAccessVersion = '0.1.3'
libvlcVersion = vlcMajorVersion == 3 ? '3.6.0-eap14' :'4.0.0-eap17'
medialibraryVersion = vlcMajorVersion == 3 ? '0.13.13-rc14' : '0.13.13-vlc4-rc14'
minSdkVersion = 17

Loading…
Cancel
Save