music: reformat
This commit is contained in:
parent
03af372357
commit
a6716293cd
1 changed files with 6 additions and 3 deletions
|
|
@ -438,7 +438,8 @@ constructor(
|
||||||
// to cascade to and cancel all other routines before finally bubbling up
|
// to cascade to and cancel all other routines before finally bubbling up
|
||||||
// to the main extractor loop.
|
// to the main extractor loop.
|
||||||
logE("MediaStore extraction failed: $e")
|
logE("MediaStore extraction failed: $e")
|
||||||
incompleteSongs.close(Exception("MediaStore extraction failed: ${e.stackTraceToString()}"))
|
incompleteSongs.close(
|
||||||
|
Exception("MediaStore extraction failed: ${e.stackTraceToString()}"))
|
||||||
return@async
|
return@async
|
||||||
}
|
}
|
||||||
incompleteSongs.close()
|
incompleteSongs.close()
|
||||||
|
|
@ -453,7 +454,8 @@ constructor(
|
||||||
tagExtractor.consume(incompleteSongs, completeSongs)
|
tagExtractor.consume(incompleteSongs, completeSongs)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
logE("Tag extraction failed: $e")
|
logE("Tag extraction failed: $e")
|
||||||
completeSongs.close(Exception("Tag extraction failed: ${e.stackTraceToString()}"))
|
completeSongs.close(
|
||||||
|
Exception("Tag extraction failed: ${e.stackTraceToString()}"))
|
||||||
return@async
|
return@async
|
||||||
}
|
}
|
||||||
completeSongs.close()
|
completeSongs.close()
|
||||||
|
|
@ -470,7 +472,8 @@ constructor(
|
||||||
completeSongs, processedSongs, separators, nameFactory)
|
completeSongs, processedSongs, separators, nameFactory)
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
logE("DeviceLibrary creation failed: $e")
|
logE("DeviceLibrary creation failed: $e")
|
||||||
processedSongs.close(Exception("DeviceLibrary creation failed: ${e.stackTraceToString()}"))
|
processedSongs.close(
|
||||||
|
Exception("DeviceLibrary creation failed: ${e.stackTraceToString()}"))
|
||||||
return@async Result.failure(e)
|
return@async Result.failure(e)
|
||||||
}
|
}
|
||||||
processedSongs.close()
|
processedSongs.close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue