Commit 11dcb0c9 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

No need to fetch in network browser

parent 813cdff0
......@@ -46,7 +46,7 @@ class NetworkProvider(dataset: LiveDataset<MediaLibraryItem>, url: String? = nul
return favs
}
override fun fetch() { if (ExternalMonitor.allowLan()) super.fetch() }
override fun fetch() {}
override fun refresh(): Boolean {
if (url == null) {
......@@ -55,4 +55,8 @@ class NetworkProvider(dataset: LiveDataset<MediaLibraryItem>, url: String? = nul
} else super.refresh()
return true
}
override suspend fun parseSubDirectories() {
if (url != null) super.parseSubDirectories()
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment