mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-23 19:01:02 +00:00
feat: video fixing options
This commit is contained in:
@@ -9,6 +9,8 @@ interface DownloadAddonApiV2 {
|
||||
|
||||
fun setDownloadPath(context: Context, uri: Uri): String
|
||||
|
||||
fun getReadPath(context: Context, uri: Uri): String
|
||||
|
||||
suspend fun executeFFProbe(
|
||||
videoUrl: String,
|
||||
headers: Map<String, String> = emptyMap(),
|
||||
@@ -24,6 +26,10 @@ interface DownloadAddonApiV2 {
|
||||
statCallback: (Double) -> Unit
|
||||
): Long
|
||||
|
||||
suspend fun customFFMpeg(command: String, videoUrls: List<String>, logCallback: (String) -> Unit): Long
|
||||
|
||||
suspend fun customFFProbe(command: String, videoUrls: List<String>, logCallback: (String) -> Unit)
|
||||
|
||||
fun getState(sessionId: Long): String
|
||||
|
||||
fun getStackTrace(sessionId: Long): String?
|
||||
|
||||
Reference in New Issue
Block a user