mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Fix lint issues.
This commit is contained in:
parent
2321ed22f1
commit
df565bb8da
@ -297,7 +297,9 @@ class BackgroundMode : LifecycleService() {
|
|||||||
|
|
||||||
val uri = if (streams.audioStreams.isNotEmpty()) {
|
val uri = if (streams.audioStreams.isNotEmpty()) {
|
||||||
PlayerHelper.getAudioSource(this, streams.audioStreams)
|
PlayerHelper.getAudioSource(this, streams.audioStreams)
|
||||||
} else streams.hls ?: return
|
} else {
|
||||||
|
streams.hls ?: return
|
||||||
|
}
|
||||||
|
|
||||||
val mediaItem = MediaItem.Builder()
|
val mediaItem = MediaItem.Builder()
|
||||||
.setUri(uri)
|
.setUri(uri)
|
||||||
|
Loading…
Reference in New Issue
Block a user