Mpv YTDLPackage
Properties
Functions
Link copied to clipboard
Internally uses activityResultLauncher, use this when the activity has a result like watched position
Link copied to clipboard
Safe version of onResult, we don't trust extension devs to not crash the app
Link copied to clipboard
open suspend override fun putExtra(context: Context, intent: Intent, video: ResultEpisode, result: LinkLoadingResult, index: Int?)
Before intent is sent, this function is called to put extra data into the intent.
Link copied to clipboard
open suspend override fun runAction(context: Context?, video: ResultEpisode, result: LinkLoadingResult, index: Int?)
This function is called when the action is clicked.
Link copied to clipboard
fun runActionSafe(context: Context?, video: ResultEpisode, result: LinkLoadingResult, index: Int?): Job
Safe version of runAction, as we don't trust extension devs to handle exceptions
Link copied to clipboard
Link copied to clipboard
Safe version of shouldShow, as we don't trust extension devs to handle exceptions, however no dev should throw in shouldShow