Skip to main content

Module download

Module download 

Source
Expand description

Download flow, video handoff, and transfer-tracking helpers.

Streams the original-quality asset from the server into a local file, updating the progress bar and transfer rate display. Video files can optionally be handed off to the system default player after download.

EnumsΒ§

ConflictAction πŸ”’

FunctionsΒ§

begin_download_session πŸ”’
do_download πŸ”’
ensure_download_target πŸ”’
finish_download_item πŸ”’
folder_display_name πŸ”’
format_rate πŸ”’
open_local_with_default_app πŸ”’
Hand a local file off to the user’s default app via xdg-open/equivalent. Used for local videos per the spec β€” no in-app playback in v1.
resolve_conflict πŸ”’
should_refresh_after_download πŸ”’
show_batch_conflict_dialog πŸ”’
show_batch_summary πŸ”’
show_overwrite_dialog πŸ”’
spawn_video_handoff πŸ”’
start_download πŸ”’
start_download_group πŸ”’
track_download_item πŸ”’
unique_path πŸ”’