Browse Source

74: Improve logging code

deploy-in-docker
Ryan Harg 3 years ago
parent
commit
f3c7a865d2
No known key found for this signature in database
GPG Key ID: 89106F3A84E6958C
  1. 2
      app/src/main/java/audio/funkwhale/ffa/playback/QueueManager.kt

2
app/src/main/java/audio/funkwhale/ffa/playback/QueueManager.kt

@ -87,7 +87,7 @@ class QueueManager(val context: Context) { @@ -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 ?: "")

Loading…
Cancel
Save