build: fix cleanup issues
This commit is contained in:
@@ -56,7 +56,7 @@ private constructor(
|
||||
|
||||
@OptIn(ExperimentalCoroutinesApi::class)
|
||||
override suspend fun explore(files: Channel<File>): Deferred<Result<Unit>> = coroutineScope {
|
||||
tryAsyncWith(files, Dispatchers.IO) { _ ->
|
||||
tryAsyncWith(files, Dispatchers.IO) { channel ->
|
||||
val projection = BASE_PROJECTION + pathInterpreterFactory.projection
|
||||
var selector = BASE_SELECTOR
|
||||
val args = mutableListOf<String>()
|
||||
@@ -133,7 +133,7 @@ private constructor(
|
||||
)
|
||||
|
||||
allFiles.add(deviceFile)
|
||||
it.send(deviceFile)
|
||||
channel.send(deviceFile)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ internal data class MusicGraph(
|
||||
appendLine(" node [style=filled,fillcolor=lightblue];")
|
||||
songVertex.forEachIndexed { index, song ->
|
||||
val songId = "song_$index"
|
||||
val name = song.preSong.rawName ?: "Unknown Song"
|
||||
val name = song.preSong.rawName
|
||||
val uid = song.preSong.v401Uid
|
||||
val label = "${escape(name)}\\nUID: $uid"
|
||||
appendLine(" $songId [label=\"$label\"];")
|
||||
|
||||
Reference in New Issue
Block a user