From 4c2fb2067318eec82c903314ef084a97ef3ab38b Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 20 May 2021 12:21:33 -0400 Subject: [PATCH] Fix crash when opening streams --- app/build.gradle | 2 +- .../main/kotlin/com/livetl/android/data/stream/StreamService.kt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/build.gradle b/app/build.gradle index eb047b1..49aab3a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -122,7 +122,7 @@ dependencies { // Video player implementation 'com.pierfrancescosoffritti.androidyoutubeplayer:core:10.0.5' - implementation 'com.github.arkon:android-youtubeExtractor:9ad6b06' + implementation 'com.github.arkon:android-youtubeExtractor:f5c9a69' // Networking final ktor_version = '1.5.1' diff --git a/app/src/main/kotlin/com/livetl/android/data/stream/StreamService.kt b/app/src/main/kotlin/com/livetl/android/data/stream/StreamService.kt index b003818..a5ae6c0 100644 --- a/app/src/main/kotlin/com/livetl/android/data/stream/StreamService.kt +++ b/app/src/main/kotlin/com/livetl/android/data/stream/StreamService.kt @@ -22,6 +22,7 @@ class StreamService @Inject constructor(@ApplicationContext context: Context) { } } + // TODO: handle exceptions suspend fun getStreamInfo(pageUrl: String): StreamInfo { Timber.d("Fetching stream: $pageUrl")