Browse Source

Remove delays for streams and history remote access endpoints

merge-requests/1990/head
Nicolas Pomepuy 2 years ago
committed by Duncan McNamara
parent
commit
8fad37d667
  1. 2
      application/webserver/src/main/java/org/videolan/vlc/webserver/RemoteAccessRouting.kt

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

@ -778,7 +778,6 @@ fun Route.setupRouting(appContext: Context, scope: CoroutineScope) {
return@get
}
val gson = Gson()
delay(5000)
call.respondText(gson.toJson(list))
}
// List of all the network shares
@ -807,7 +806,6 @@ fun Route.setupRouting(appContext: Context, scope: CoroutineScope) {
?: "", false, "", (mediaLibraryItem as MediaWrapper).uri.toString(), true, favorite = mediaLibraryItem.isFavorite))
}
val gson = Gson()
delay(5000)
call.respondText(gson.toJson(list))
}
//list of folders and files in a path

Loading…
Cancel
Save