MCPcopy Create free account

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

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

Methodget
(&self, url: &str)
src/cache/backend/mod.rs:451
Methodget_by_hash
(&self, hash: &str)
src/cache/backend/mod.rs:563
Methodget_by_hash
(&self, hash: &str)
src/cache/backend/memory.rs:192
Methodget_by_hash
(&self, hash: &str)
src/cache/backend/json.rs:531
Methodget_by_hash
(&self, hash: &str)
src/cache/backend/redis.rs:388
Methodget_by_hash
(&self, hash: &str)
src/cache/backend/redb/file.rs:62
Methodget_by_id
Get a playlist from the cache by ID. # Arguments `id` - The playlist ID to search for. # Returns `Some(Playlist)` if found and not expired, `None`
src/cache/stores/playlist.rs:156
Methodget_by_id
(&self, id: &str)
src/cache/backend/mod.rs:467
Methodget_by_id
(&self, id: &str)
src/cache/backend/memory.rs:76
Methodget_by_id
(&self, id: &str)
src/cache/backend/json.rs:258
Methodget_by_id
(&self, id: &str)
src/cache/backend/redis.rs:156
Methodget_by_id
(&self, id: &str)
src/cache/backend/redb/playlist.rs:101
Methodget_by_id
(&self, id: &str)
src/cache/backend/redb/video.rs:187
Methodget_by_video_and_format
(&self, video_id: &str, format_id: &str)
src/cache/backend/mod.rs:567
Methodget_by_video_and_format
(&self, video_id: &str, format_id: &str)
src/cache/backend/memory.rs:201
Methodget_by_video_and_format
(&self, video_id: &str, format_id: &str)
src/cache/backend/json.rs:567
Methodget_by_video_and_format
(&self, video_id: &str, format_id: &str)
src/cache/backend/redis.rs:409
Methodget_by_video_and_format
(&self, video_id: &str, format_id: &str)
src/cache/backend/redb/file.rs:96
Functionget_by_video_and_format_miss_returns_none
()
tests/integration/cache/files.rs:132
Methodget_by_video_and_preferences
( &self, video_id: &str, preferences: &FormatPreferences, )
src/cache/backend/mod.rs:571
Methodget_by_video_and_preferences
( &self, video_id: &str, preferences: &FormatPreferences, )
src/cache/backend/memory.rs:217
Methodget_by_video_and_preferences
( &self, video_id: &str, preferences: &FormatPreferences, )
src/cache/backend/json.rs:600
Methodget_by_video_and_preferences
( &self, video_id: &str, preferences: &FormatPreferences, )
src/cache/backend/redis.rs:434
Methodget_by_video_and_preferences
( &self, video_id: &str, preferences: &FormatPreferences, )
src/cache/backend/redb/file.rs:137
Methodget_file_extension
Get the file extension from a path. Delegates to [`crate::utils::fs::try_extension`].
src/metadata/mod.rs:128
Methodget_subtitle_by_language
(&self, video_id: &str, language: &str)
src/cache/backend/mod.rs:599
Methodget_subtitle_by_language
(&self, video_id: &str, language: &str)
src/cache/backend/memory.rs:290
Methodget_subtitle_by_language
(&self, video_id: &str, language: &str)
src/cache/backend/json.rs:735
Methodget_subtitle_by_language
(&self, video_id: &str, language: &str)
src/cache/backend/redis.rs:610
Methodget_subtitle_by_language
(&self, video_id: &str, language: &str)
src/cache/backend/redb/file.rs:338
Methodget_thumbnail_by_video_id
(&self, video_id: &str)
src/cache/backend/mod.rs:591
Methodget_thumbnail_by_video_id
(&self, video_id: &str)
src/cache/backend/memory.rs:263
Methodget_thumbnail_by_video_id
(&self, video_id: &str)
src/cache/backend/json.rs:689
Methodget_thumbnail_by_video_id
(&self, video_id: &str)
src/cache/backend/redis.rs:562
Methodget_thumbnail_by_video_id
(&self, video_id: &str)
src/cache/backend/redb/file.rs:266
Methodhas_chapters
Checks if the video has chapters. # Returns true if the video has at least one chapter, false otherwise
src/model/video.rs:192
Methodhas_heatmap
Checks if the video has heatmap data. # Returns true if the video has heatmap data, false otherwise
src/model/video.rs:210
Methodhas_issues
Returns whether there are any errors or warnings.
src/model/types/chapter.rs:404
Methodhas_jitter
Check if jitter is enabled. # Returns `true` if random jitter is added to retry delays.
src/utils/network/retry.rs:187
Methodhas_overlaps
Checks if any chapters overlap.
src/model/types/chapter.rs:354
Methodhas_subscribers
Checks if there are any active subscribers # Returns true if there is at least one active subscriber, false otherwise
src/events/bus.rs:167
Methodhas_subtitle_language
Checks if a video has subtitles or automatic captions in a specific language. # Arguments `video` - The video to check. `language_code` - The langua
src/client/streams/selection.rs:661
Methodhash
(&self, state: &mut H)
src/model/types/caption.rs:85
Methodhash
(&self, state: &mut H)
src/model/types/playlist.rs:327
Methodhash
(&self, state: &mut H)
src/model/types/chapter.rs:444
Methodhash
(&self, state: &mut H)
src/model/types/thumbnail.rs:40
Functionheatmap_display
()
tests/unit/model/types.rs:608
Functionheatmap_empty
()
tests/unit/model/types.rs:600
Functionheatmap_get_point_at_time
()
tests/unit/model/types.rs:655
Functionheatmap_point_contains_timestamp
()
tests/unit/model/types.rs:629
Functionheatmap_point_display
()
tests/unit/model/types.rs:642
Functionheatmap_point_duration
()
tests/unit/model/types.rs:619
Functionheatmap_serde_round_trip
()
tests/unit/model/types.rs:581
Methodhls_parsing
(url: impl Into<String>, context: impl Into<String>)
src/error.rs:645
Functionhls_playlist_display
()
tests/unit/live/hls_parsing.rs:33
Functionhls_playlist_display_format
()
tests/integration/live/recording.rs:123
Functionhls_playlist_endlist
()
tests/unit/live/hls_parsing.rs:58
Functionhls_segment_clone
()
tests/unit/live/hls_parsing.rs:18
Functionhls_segment_display
()
tests/unit/live/hls_parsing.rs:6
Functionhls_segment_display_format
()
tests/integration/live/recording.rs:111
Functionhls_variant_display
()
tests/unit/live/hls_parsing.rs:71
Functionhls_variant_display_format
()
tests/integration/live/recording.rs:141
Functionhls_variant_display_no_resolution
()
tests/unit/live/hls_parsing.rs:84
Functionhook_download_id_filter
()
tests/integration/events/hooks.rs:107
Functionhook_receives_events
()
tests/e2e/events/pipeline.rs:167
Functionhook_with_filter_only_fires_for_matching_events
()
tests/integration/events/hooks.rs:67
Functionhooks_integrated_with_event_bus
()
tests/integration/events/hooks.rs:156
Methodhttp
Create an HTTP error with URL context. # Arguments `url` - The URL that was being accessed `context` - Additional context about the operation `sourc
src/error.rs:369
Functionhttp_headers_browser_defaults
()
tests/unit/model/format.rs:162
Functionhttp_headers_deserializes_extra_headers
()
tests/unit/model/format.rs:191
Functionhttp_headers_serde_round_trip
()
tests/unit/model/format.rs:182
Functionhttp_headers_to_header_map
()
tests/unit/model/format.rs:171
Methodindex_not_found
Convenience constructor for `IndexNotFound`.
crates/media-seek/src/error.rs:38
Functionindex_not_found_error_displays_reason
()
tests/integration/media-seek/errors.rs:87
Methodinstall_dependencies
Install the required dependencies.
src/client/deps/mod.rs:193
Methodinstall_dependencies_with_token
Install the required dependencies with an authentication token. # Arguments `auth_token` - The authentication token to use for downloading the depen
src/client/deps/mod.rs:210
Methodinvalid
Creates a new validation result indicating failure. # Arguments `errors` - The validation errors that caused failure # Returns A `ValidationResult
src/utils/subtitle/subtitle_validator.rs:67
Methodinvalid
Creates a validation result indicating failure.
src/model/types/chapter.rs:383
Methodinvalid_partial_range
Create an invalid partial range error. # Arguments `reason` - Description of why the partial range is invalid # Returns An Error::InvalidPartialRa
src/error.rs:576
Methodinvalidate
(&self, url: &str)
src/cache/backend/mod.rs:516
Methodinvalidate
(&self, url: &str)
src/cache/backend/memory.rs:144
Methodinvalidate
(&self, url: &str)
src/cache/backend/json.rs:382
Methodinvalidate
(&self, url: &str)
src/cache/backend/redis.rs:265
Methodinvalidate
(&self, url: &str)
src/cache/backend/redb/playlist.rs:170
Methodio
Create an IO error with operation context. # Arguments `operation` - Description of the operation that failed `source` - The underlying IO error #
src/error.rs:313
Methodio_with_path
Create an IO error with operation and path context. # Arguments `operation` - Description of the operation that failed `path` - The file path involv
src/error.rs:340
Functionis_audio_extension_detection
()
tests/unit/client/download_builder.rs:9
Methodis_complete
Checks if all videos in the playlist have been fetched. # Returns `true` if all entries have been fetched, `false` otherwise
src/model/types/playlist.rs:55
Methodis_embed_thumbnail_enabled
Returns whether thumbnail embedding is enabled.
src/client/download_builder.rs:242
Methodis_failure
Checks if the download failed.
src/model/types/playlist.rs:373
Functionis_format_compatible
Check if a subtitle format is compatible with a video container format. # Arguments `subtitle_format` - The subtitle format extension `container_for
src/utils/subtitle/subtitle_validator.rs:181
Methodis_manifest
Checks if the format is a manifest format.
src/model/format.rs:688
Methodis_segment_downloaded
Checks whether a segment range has already been downloaded by probing start and end bytes. Uses positional reads (`read_at` / `seek_read`) via `spawn
src/download/engine/parallel.rs:409
Methodis_shutdown_requested
Checks if a shutdown has been requested. # Returns Returns `true` if shutdown has been initiated, `false` otherwise.
src/lib.rs:875
Methodis_sorted
Checks if the chapters are in chronological order.
src/model/types/chapter.rs:347
Methodis_storyboard
Checks if the format is a storyboard format. # Returns `true` if the format type is [`FormatType::Storyboard`].
src/model/format.rs:683
Methodis_upcoming
(&self)
src/model/video.rs:400
Functionjson_none
Fix issue with 'none' string in JSON.
src/model/utils/serde.rs:6
Functionl1_miss_promotes_from_l2
()
tests/integration/cache/layer.rs:41
Functionl1_miss_promotes_from_l2_redb
()
tests/integration/cache/layer.rs:69
← previousnext →1,501–1,600 of 2,260, ranked by callers