1.12.0-beta.1 crash report
Checklist
- [ ] I'm reporting a bug unrelated to a specific site.
- [X] I've verified that I'm running the latest version of yt-dlp.
- [X] I've verified that I'm running the latest stable version of Seal or any later preview versions.
- [X] I've read the Contributing guidelines and Code Of Conduct.
- [X] I've checked that the site i'm trying to download from is in the Supported Sites list from yt-dlp
- [X] I understand that the issue will be (ignored/closed) if I intentionally remove or skip any mandatory field.
Describe the bug
No response
To Reproduce
No response
Error reports
App version: 1.12.0-beta.1 (11132) Device information: Android 13 (API 33) Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi] Yt-dlp version: 2023.12.30
java.util.NoSuchElementException: List is empty. at kotlin.collections.CollectionsKt.first(SourceFile:2) at com.junkfood.seal.util.PreferenceUtil.getTemplate(SourceFile:44) at com.junkfood.seal.util.DownloadUtil.executeCommandInBackground$default(SourceFile:9) at com.junkfood.seal.Downloader$executeCommandWithUrl$1.invokeSuspend(Unknown Source:32) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8) at kotlinx.coroutines.DispatchedTask.run(Unknown Source:96) at androidx.core.app.ActivityRecreator$1.run(SourceFile:15) at kotlinx.coroutines.scheduling.TaskImpl.run(Unknown Source:2) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:92) Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [DeferredCoroutine{Cancelling}@dace11d, Dispatchers.IO]
Screenshots & Screen Records
No response
Additional context
No response
Does this issue occur in Quick download with Configure before download off?
Does this issue occur in
Quick downloadwithConfigure before downloadoff?
yes