74: Improve logging code

This commit is contained in:
Ryan Harg 2021-08-13 15:04:15 +02:00
parent 759ded5ae1
commit f3c7a865d2
No known key found for this signature in database
GPG Key ID: 89106F3A84E6958C
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class QueueManager(val context: Context) {
}
fun insertNext(track: Track) {
track.let { it.formatted }.log("Next track")
track.formatted.log("Next track")
val factory = cacheDataSourceFactoryProvider.create(context)
val url = mustNormalizeUrl(track.bestUpload()?.listen_url ?: "")