MCPcopy Create free account

hub / github.com/boul2gom/yt-dlp / functions

Functions2,260 in github.com/boul2gom/yt-dlp

Methodnew
Creates a new hook registry # Returns A new empty HookRegistry
src/events/delivery/hooks.rs:79
Methodnew
Creates a new webhook configuration # Arguments `url` - The webhook URL # Returns A new WebhookConfig with default settings
src/events/delivery/webhooks.rs:53
Methodnew
Create a new YouTube extractor. # Arguments `executable_path` - Path to the yt-dlp executable # Returns A new Youtube extractor instance
src/extractor/youtube.rs:112
Methodnew
Create a new generic extractor with automatic detection. # Arguments `executable_path` - Path to the yt-dlp executable # Returns A new Generic ext
src/extractor/generic.rs:40
Methodnew
(config: TrackerConfig)
src/stats/inner.rs:80
Methodnew
Creates a tracker with default configuration and subscribes to `bus`. # Arguments `bus` - The event bus to subscribe to. # Returns A new [`Statist
src/stats/tracker.rs:59
Methodnew
Create a new download manager with default configuration
src/download/manager.rs:96
Methodnew
Creates a new segment context # Arguments `file` - Shared file handle for writing segments `total_bytes` - Total size of the file in bytes `progress
src/download/engine/segment.rs:68
Methodnew
Creates a new fetcher targeting `url` with the given extra `headers`. # Arguments `client` - Shared reqwest HTTP client `url` - Target URL to fetch
src/download/engine/range_fetcher.rs:40
Methodnew
(path: PathBuf)
src/download/engine/fetcher.rs:90
Methodnew
Creates a new progress info # Arguments `downloaded` - Number of bytes downloaded `total` - Total number of bytes # Returns A new ProgressInfo ins
src/download/config/progress.rs:28
Methodnew
Creates a new post-processing configuration # Returns An empty PostProcessConfig with all options set to None
src/download/config/postprocess.rs:373
Methodnew
(data: Vec<u8>)
tests/common/media_seek.rs:13
Methodnone
Creates a strategy with no retries # Returns A RetryStrategy that never retries
src/events/retry.rs:74
Functionogg_full_vs_partial_byte_range
()
tests/integration/media-seek/seeking.rs:66
Methodonly_completed
Creates a filter that only accepts completed downloads # Returns An EventFilter that only matches completed download events
src/events/filters.rs:65
Methodonly_failed
Creates a filter that only accepts failed downloads # Returns An EventFilter that only matches failed download events
src/events/filters.rs:80
Methodonly_live_recording
()
src/events/filters.rs:196
Methodonly_live_streaming
()
src/events/filters.rs:220
Methodonly_metadata
Creates a filter for metadata-related events
src/events/filters.rs:185
Methodonly_playlist
Creates a filter for playlist-related events
src/events/filters.rs:174
Methodonly_post_process
Creates a filter for post-processing events
src/events/filters.rs:190
Methodonly_progress
Creates a filter that only accepts progress events # Returns An EventFilter that only matches progress events
src/events/filters.rs:95
Methodonly_terminal
Creates a filter that only accepts terminal events (completed, failed, canceled) # Returns An EventFilter that only matches terminal events
src/events/filters.rs:52
Methodoutput_dir
Returns the output directory path. # Returns A reference to the output directory [`PathBuf`].
src/lib.rs:518
Functionoutput_directory_created
()
tests/integration/builder.rs:257
Methodparallel_segments
Get the number of parallel segments per download for this profile # Returns Number of parallel segments
src/download/config/speed_profile.rs:101
Functionparse
Parses a FLAC stream and returns a `ContainerIndex`. Reads the STREAMINFO block for the sample rate and total sample count, then the SEEKTABLE block
crates/media-seek/src/audio/flac.rs:104
Functionparse
Parses an AAC ADTS stream and returns a `ContainerIndex`. Scans up to [`SCAN_FRAMES`] frames from `probe` to derive the byte rate and extract the sam
crates/media-seek/src/audio/adts.rs:63
Functionparse
Parses an OGG stream and returns a `ContainerIndex`. Reads the identification page from `probe` to extract the codec sample rate, then binary-searche
crates/media-seek/src/audio/ogg.rs:56
Functionparse
Parses an MPEG-TS stream and returns a `ContainerIndex`. Reads the PAT and PMT from `probe` to identify the PCR PID, then performs a binary search ov
crates/media-seek/src/video/ts.rs:52
Functionparse
Parses an AVI stream and returns a `ContainerIndex`. Fetches the last `64 KB` of the stream to locate the `idx1` chunk, then builds a coarse keyframe
crates/media-seek/src/video/avi.rs:60
Functionparse_adts_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:192
Functionparse_adts_fixture_succeeds
()
tests/integration/media-seek/adts.rs:8
Functionparse_aiff_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:30
Functionparse_classic_mp4_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:125
Functionparse_co64
Parses the `co64` (64-bit Chunk Offset) box payload into chunk offsets.
crates/media-seek/src/video/mp4.rs:668
Functionparse_empty_file_fails
()
tests/integration/media-seek/errors.rs:6
Functionparse_flac_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:47
Functionparse_flv_fixture_is_detected
()
tests/integration/media-seek/parsers.rs:175
Functionparse_fmp4_with_sidx_succeeds
()
tests/integration/media-seek/parsers.rs:158
Functionparse_m4a_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:143
Functionparse_master_invalid_url_fails
()
tests/integration/live/recording.rs:170
Functionparse_master_playlist
()
tests/integration/live/recording.rs:16
Functionparse_master_wrong_content
()
tests/integration/live/recording.rs:184
Functionparse_media_invalid_url_fails
()
tests/integration/live/recording.rs:177
Functionparse_media_playlist
()
tests/integration/live/recording.rs:45
Functionparse_media_segments_have_correct_sequence
()
tests/integration/live/recording.rs:68
Functionparse_media_wrong_content
()
tests/integration/live/recording.rs:206
Functionparse_mp3_fixture_succeeds
()
tests/integration/media-seek/mp3.rs:6
Functionparse_mp3_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:62
Functionparse_mp3_free_format_detects_frame_size
()
tests/integration/media-seek/mp3.rs:202
Functionparse_mp3_free_format_too_short_returns_parse_failed
()
tests/integration/media-seek/mp3.rs:232
Functionparse_mp3_id3v1_detected_via_fetch_when_probe_shorter_than_file
()
tests/integration/media-seek/mp3.rs:260
Functionparse_mp3_id3v1_trailer_stripped_when_probe_covers_file
()
tests/integration/media-seek/mp3.rs:167
Functionparse_mp3_single_id3v2_tag_succeeds
()
tests/integration/media-seek/mp3.rs:50
Functionparse_mp3_stacked_id3v2_tags_succeeds
()
tests/integration/media-seek/mp3.rs:23
Functionparse_mp3_vbri_invalid_entry_bytes_falls_back_to_cbr
()
tests/integration/media-seek/mp3.rs:70
Functionparse_mp3_xing_fallback_uses_actual_total_size
()
tests/integration/media-seek/mp3.rs:118
Functionparse_mp4_ftyp_only_returns_index_not_found
()
tests/integration/media-seek/errors.rs:53
Functionparse_mp4_no_moov_no_sidx_returns_index_not_found
()
tests/integration/media-seek/errors.rs:65
Functionparse_mpeg_layer1_cbr_succeeds
()
tests/integration/media-seek/mp3.rs:324
Functionparse_mpeg_layer2_cbr_succeeds
()
tests/integration/media-seek/mp3.rs:303
Functionparse_ogg_opus_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:77
Functionparse_ogg_theora_codec_returns_named_parse_failed
()
tests/integration/media-seek/parsers.rs:228
Functionparse_ogg_vorbis_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:93
Functionparse_ogg_without_total_size_returns_parse_failed
()
tests/integration/media-seek/errors.rs:75
Functionparse_random_bytes_returns_unsupported
()
tests/integration/media-seek/errors.rs:15
Functionparse_stco
Parses the `stco` (Chunk Offset) box payload into 64-bit chunk offsets.
crates/media-seek/src/video/mp4.rs:651
Functionparse_stsc
Parses the `stsc` (Sample-to-Chunk) box payload.
crates/media-seek/src/video/mp4.rs:685
Functionparse_stss
Parses the `stss` (Sync Sample) box payload into a list of 1-based sample numbers.
crates/media-seek/src/video/mp4.rs:708
Functionparse_stts
Parses the `stts` (Time-to-Sample) box payload into a run-length entry list.
crates/media-seek/src/video/mp4.rs:629
Functionparse_truncated_adts_returns_parse_failed
()
tests/integration/media-seek/adts.rs:60
Functionparse_truncated_flac_returns_parse_failed
()
tests/integration/media-seek/errors.rs:33
Functionparse_truncated_mp3_returns_parse_failed
()
tests/integration/media-seek/errors.rs:41
Functionparse_truncated_wav_returns_parse_failed
()
tests/integration/media-seek/errors.rs:23
Functionparse_ts_fixture_is_detected
()
tests/integration/media-seek/parsers.rs:209
Functionparse_wav_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:8
Functionparse_webm_fixture_succeeds
()
tests/integration/media-seek/parsers.rs:110
Functionpartial_download_via_range
()
tests/e2e/download/partial.rs:13
Methodpassword
Returns the password if authentication is configured. # Returns The proxy password, or `None` if no authentication is set.
src/client/proxy.rs:150
Methodpath_validation
Create a path validation error. # Arguments `path` - The path that failed validation `reason` - The reason for validation failure # Returns An Err
src/error.rs:529
Methodpercentage
Returns the progress as a percentage (0.0 to 100.0).
src/model/types/playlist.rs:359
Methodpercentage
Returns the progress as a percentage (0.0 to 1.0) # Returns Progress as a percentage from 0.0 to 1.0
src/download/config/progress.rs:37
Functionpersists_across_reopen
()
tests/integration/cache/json.rs:43
Functionpersists_across_reopen
()
tests/integration/cache/redb.rs:38
Methodpipeline
Chain multiple operations in a pipeline. This method allows you to chain fetch -> download -> metadata operations. # Examples ```rust,no_run # use
src/client/pipeline.rs:163
Functionplayer_client_copy
()
tests/unit/extractor/extractor.rs:218
Functionplayer_client_debug
()
tests/unit/extractor/extractor.rs:204
Functionplayer_client_eq
()
tests/unit/extractor/extractor.rs:212
Functionplaylist_available_entries
()
tests/unit/model/types.rs:249
Functionplaylist_cache_via_layer
()
tests/integration/cache/layer.rs:113
Functionplaylist_clean_does_not_error
()
tests/integration/cache/json.rs:275
Functionplaylist_clear_all_removes_all_entries
()
tests/integration/cache/json.rs:301
Functionplaylist_deserialize
()
tests/unit/model/types.rs:128
Functionplaylist_display
()
tests/unit/model/types.rs:180
Functionplaylist_entries_have_metadata
()
tests/e2e/playlist.rs:19
Functionplaylist_entry_count
()
tests/unit/model/types.rs:136
Functionplaylist_entry_display
()
tests/unit/model/types.rs:224
Functionplaylist_entry_duration_minutes
()
tests/unit/model/types.rs:215
← previousnext →1,701–1,800 of 2,260, ranked by callers