mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-28 06:14:00 +02:00
Remove: unused simplePath from LocalFile object
This commit is contained in:
@@ -64,7 +64,6 @@ data class LocalFile(
|
|||||||
var contentUrl: String,
|
var contentUrl: String,
|
||||||
var basePath: String,
|
var basePath: String,
|
||||||
var absolutePath: String,
|
var absolutePath: String,
|
||||||
var simplePath: String,
|
|
||||||
var mimeType: String?,
|
var mimeType: String?,
|
||||||
var size: Long
|
var size: Long
|
||||||
) {
|
) {
|
||||||
|
|||||||
@@ -78,7 +78,6 @@ class FolderScanner(var ctx: Context) {
|
|||||||
Uri.fromFile(file).toString(),
|
Uri.fromFile(file).toString(),
|
||||||
file.getBasePath(ctx),
|
file.getBasePath(ctx),
|
||||||
file.absolutePath,
|
file.absolutePath,
|
||||||
// file.getSimplePath(ctx),
|
|
||||||
file.mimeType,
|
file.mimeType,
|
||||||
file.length()
|
file.length()
|
||||||
)
|
)
|
||||||
@@ -332,7 +331,6 @@ class FolderScanner(var ctx: Context) {
|
|||||||
// val fileUri = docFile.uri.toString()
|
// val fileUri = docFile.uri.toString()
|
||||||
// val fileBasePath = docFile.getBasePath(ctx)
|
// val fileBasePath = docFile.getBasePath(ctx)
|
||||||
// val fileAbsolutePath = docFile.getAbsolutePath(ctx)
|
// val fileAbsolutePath = docFile.getAbsolutePath(ctx)
|
||||||
// val fileSimplePath = docFile.getSimplePath(ctx)
|
|
||||||
// val fileMimeType = docFile.mimeType
|
// val fileMimeType = docFile.mimeType
|
||||||
// val fileLength = docFile.length()
|
// val fileLength = docFile.length()
|
||||||
// val fileName = docFile.name
|
// val fileName = docFile.name
|
||||||
@@ -347,7 +345,6 @@ class FolderScanner(var ctx: Context) {
|
|||||||
docFile.uri.toString(),
|
docFile.uri.toString(),
|
||||||
docFile.getBasePath(ctx),
|
docFile.getBasePath(ctx),
|
||||||
docFile.getAbsolutePath(ctx),
|
docFile.getAbsolutePath(ctx),
|
||||||
// docFile.getSimplePath(ctx),
|
|
||||||
docFile.mimeType,
|
docFile.mimeType,
|
||||||
docFile.length()
|
docFile.length()
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user