MCPcopy Create free account

hub / github.com/HelpFreedom/youthub / functions

Functions516 in github.com/HelpFreedom/youthub

↓ 3 callersFunctionrealloc_texture
ffplay-yt/ffplay.c:973
↓ 3 callersMethodresume
(self)
youthub/feed_loader.py:72
↓ 3 callersFunctionset_clock_speed
ffplay-yt/ffplay.c:2339
↓ 3 callersFunctionstream_close
ffplay-yt/ffplay.c:2160
↓ 3 callersFunctionstream_has_enough_packets
ffplay-yt/ffplay.c:4081
↓ 3 callersFunctionstream_toggle_pause
pause or resume the video */
ffplay-yt/ffplay.c:2425
↓ 2 callersFunction_best_thumbnail
Pick the largest thumbnail URL. Thumbs are ordered small→large already but we don't rely on that — explicit max-by-area.
youthub/feed.py:31
↓ 2 callersFunction_capture_on_page
Capture one /videoplayback POST on an already-open page. Used by both `_capture` (one-shot, fresh browser each call) and the daemon (one pers
bootstrap.py:218
↓ 2 callersMethod_check_health
(self, status: int)
watchstats.py:184
↓ 2 callersMethod_compute_box
Return (row, col, width, height) for the centred box.
grid_demo.py:739
↓ 2 callersFunction_convert_to_png
(jpeg: bytes, target_size: Optional[tuple[int, int]] = None)
youthub/thumbnails.py:59
↓ 2 callersFunction_daemon_alive
()
bootstrap.py:681
↓ 2 callersFunction_daemon_pid
()
bootstrap.py:674
↓ 2 callersFunction_extract_continuation
Find the secondary-results continuation token if present. Handles both schema variants: WEB: continuationItemRenderer → continuationEndp
recs_pipeline.py:162
↓ 2 callersMethod_extract_sapisid
(self)
auth_cookies.py:91
↓ 2 callersFunction_format_id_msg
The {itag,lmt,audio_track} sub-message used in many places.
sabr.py:172
↓ 2 callersMethod_handle_seek_req
(self, delta_sec: float, cprint)
bridge_player.py:511
↓ 2 callersFunction_http
()
recs_pipeline.py:54
↓ 2 callersFunction_is_alive
(state: dict, sid: str)
pr_fetch.py:282
↓ 2 callersFunction_jpeg_path
(video_id: str)
youthub/thumbnails.py:30
↓ 2 callersFunction_kill_daemon
()
bootstrap.py:731
↓ 2 callersFunction_new_session
Brand-new session. CONSENT/SOCS hardcoded — they don't identify the visitor, just satisfy the EU consent gate.
pr_fetch.py:400
↓ 2 callersFunction_open_browser
Launch the browser engine and return (browser, browser_close_coro). `engine`: * "chromium" — Playwright's bundled Chromium (headless_shell)
bootstrap.py:173
↓ 2 callersFunction_parse_next_secondary
Walk the InnerTube .next() response to find recommendation items. Schema differs slightly between WEB and TVHTML5; we cover both by searching
recs_pipeline.py:131
↓ 2 callersFunction_read_fresh
(path: Path, ttl: int)
grid_demo.py:245
↓ 2 callersFunction_resolve_proxy
()
bootstrap.py:72
↓ 2 callersFunction_result_quality
Rank duplicate search hits for the same videoId. Search often returns a video twice: once as a plain card with full metadata, once as YT's au
grid_demo.py:836
↓ 2 callersMethod_safe_pos
(self)
watchstats.py:193
↓ 2 callersFunction_save
(tokens: Tokens)
youthub/auth.py:59
↓ 2 callersMethod_send_watchtime
(self, cmt: float, *, state: str = "playing", timeout: float = 5.0)
watchstats.py:170
↓ 2 callersMethod_stop_locked
(self)
youthub/preview.py:105
↓ 2 callersFunction_try_engine
(youtube_url: str, vid: str, engine: str, headless: bool, verbose: bool, start
bootstrap.py:509
↓ 2 callersFunction_txt
(node)
verify_history.py:15
↓ 2 callersFunction_ump_varint
UMP uses a custom varint: leading 1-bits in the first byte indicate the total varint size (1–5 bytes), and the remaining bytes are stored litt
sabr.py:43
↓ 2 callersFunction_wait_for_min_bytes
(path: Path, n: int, timeout: float)
bridge_player.py:126
↓ 2 callersFunctionago
(ts)
pr_fetch.py:616
↓ 2 callersMethodall
(self, field_no: int)
proto_edit.py:57
↓ 2 callersFunctionanim_ease_out_back
easeOutBack — overshoots ~10% then snaps back, gives a tactile * "pop-in" feel for the speed overlay. */
ffplay-yt/ffplay.c:1243
↓ 2 callersFunctionanim_ease_out_cubic
easeOutCubic — fast start, gentle settle. Used for the sidebar slide. */
ffplay-yt/ffplay.c:1234
↓ 2 callersFunctioncalculate_display_rect
ffplay-yt/ffplay.c:997
↓ 2 callersFunctioncheck
()
test_tvpair.py:134
↓ 2 callersMethodclose
(self)
youthub/innertube.py:85
↓ 2 callersFunctioncompute_layout
Compute grid that fills the screen with tiles ~target_tile_w cells wide. Aspect 16:9 in pixels; tile_h derived from kitty's reported cell px size
grid_demo.py:320
↓ 2 callersFunctionconfigure_audio_filters
ffplay-yt/ffplay.c:3208
↓ 2 callersFunctionconfigure_filtergraph
ffplay-yt/ffplay.c:3061
↓ 2 callersFunctiondrain
(name, r, w)
sabr_bridge.mjs:654
↓ 2 callersFunctionfill_rectangle
ffplay-yt/ffplay.c:962
↓ 2 callersFunctionframe_queue_last_pos
return last shown position */
ffplay-yt/ffplay.c:944
↓ 2 callersFunctionframe_queue_peek_last
ffplay-yt/ffplay.c:875
↓ 2 callersFunctionframe_queue_peek_next
ffplay-yt/ffplay.c:870
↓ 2 callersFunctionframe_queue_unref_item
ffplay-yt/ffplay.c:819
↓ 2 callersFunctionget_jpeg
Return JPEG bytes for the thumbnail, using disk cache.
youthub/thumbnails.py:47
↓ 2 callersFunctionget_valid_channel_layout
ffplay-yt/ffplay.c:550
↓ 2 callersMethodhome
TVHTML5 home / 'What to Watch' surface.
youthub/innertube.py:163
↓ 2 callersFunctionhttp_post
(url: str, body: bytes, timeout: float = 25.0)
sabr.py:281
↓ 2 callersFunctioninitOnce
()
sabr_bridge.mjs:301
↓ 2 callersMethodis_playing_for
(self, video_id: str)
youthub/preview.py:81
↓ 2 callersFunctionload_feed_combined
Fetch home + /next-pivot for the first home video, merge & dedupe. Why combined: TVHTML5 home is just 4 shelves × 5 = 20 videos with no conti
grid_demo.py:251
↓ 2 callersFunctionload_image_texture
ffplay-yt/ffplay.c:1123
↓ 2 callersFunctionlogin_interactive
Show the PIN code and block until user authorizes (or Ctrl-C).
youthub/auth.py:114
↓ 2 callersMethodoverlapping_slots
Return slot indices whose tile rectangle intersects this box. We pad the tile rect by 1 cell on every side to also catch the focus bo
grid_demo.py:761
↓ 2 callersFunctionpacket_queue_put_private
ffplay-yt/ffplay.c:559
↓ 2 callersMethodpause
Block new extends and wait for any in-flight one to finish. Call this before launching mpv: PNG conversions in our worker thread stea
youthub/feed_loader.py:60
↓ 2 callersFunctionpump
(name, readable, writable)
sabr_bridge.mjs:532
↓ 2 callersFunctionread_varint
Read UMP varint. Returns (value, new_pos). UMP varints are LEB128-like, low-byte-first.
ump_inspect.py:8
↓ 2 callersFunctionredraw_grid
Redraw every visible slot for the current offset & focus.
grid_demo.py:523
↓ 2 callersMethodresume
Re-enter cbreak mode after a `suspend()`.
youthub/terminal.py:116
↓ 2 callersFunctionsapisid_hash
(sapisid: str)
test_cookieping.py:51
↓ 2 callersFunctionscroll_offset_for
Return an offset (always row-aligned) that keeps `focus` visible.
grid_demo.py:903
↓ 2 callersFunctionseek_chapter
ffplay-yt/ffplay.c:4596
↓ 2 callersFunctionset_clock_at
ffplay-yt/ffplay.c:2325
↓ 2 callersFunctionset_default_window_size
ffplay-yt/ffplay.c:2224
↓ 2 callersFunctionset_sdl_yuv_conversion_mode
ffplay-yt/ffplay.c:1093
↓ 2 callersFunctionshow_usage
ffplay-yt/ffplay.c:5095
↓ 2 callersMethodstart
(self)
grid_demo.py:609
↓ 2 callersMethodstart
(self, video_id: str, frame_cb: FrameCb)
youthub/preview.py:86
↓ 2 callersFunctionstartSession
({ outputPath, startAtSec })
sabr_bridge.mjs:462
↓ 2 callersFunctionstart_sidebar_anim
ffplay-yt/ffplay.c:1251
↓ 2 callersFunctionstep_to_next_frame
ffplay-yt/ffplay.c:2770
↓ 2 callersFunctionstream_open
ffplay-yt/ffplay.c:4424
↓ 2 callersMethodsuspend
Temporarily restore the terminal to its original mode. Use this around a subprocess (e.g. mpv) that needs to set up its own raw-mode
youthub/terminal.py:107
↓ 2 callersFunctionsync_clock_to_slave
ffplay-yt/ffplay.c:2353
↓ 2 callersFunctiontoggle_audio_display
ffplay-yt/ffplay.c:4567
↓ 2 callersFunctiontoggle_full_screen
ffplay-yt/ffplay.c:4561
↓ 2 callersFunctiontoggle_pause
ffplay-yt/ffplay.c:2438
↓ 2 callersFunctionupdate_recs_focus
Auto-scroll list so the focused tile is fully visible. */
ffplay-yt/ffplay.c:1760
↓ 2 callersFunctionupdate_volume
ffplay-yt/ffplay.c:2763
↓ 2 callersFunctionvideo_display
display the current picture, if any */
ffplay-yt/ffplay.c:2260
↓ 2 callersFunctionvideo_id_from_url
Extract YouTube video ID from any watch / short URL form.
bootstrap.py:58
↓ 2 callersFunctionvp_duration
ffplay-yt/ffplay.c:2808
↓ 2 callersFunctionwalk
(node)
recs_pipeline.py:138
↓ 1 callersMethod_absorb_set_cookies
If the response set new cookies (e.g. rotated SID), persist them to disk so the next run uses the fresh values.
auth_cookies.py:134
↓ 1 callersFunction_advance_main
Force-advance the sticky pointer to the next alive strategy. For callers whose failure pr_fetch can't see: bridge_player uses this when a str
pr_fetch.py:634
↓ 1 callersFunction_b64urlDecode
(s)
po_token.mjs:189
↓ 1 callersFunction_b64urlEncode
(u8)
po_token.mjs:197
↓ 1 callersFunction_blend_pngs
Return `steps` intermediate PNG frames cross-fading from A to B. Alpha goes 1/(N+1) .. N/(N+1) — never 0 or 1, those are the surrounding "rea
youthub/preview.py:47
↓ 1 callersFunction_bootstrap_via_daemon
(youtube_url: str, *, timeout: float = 90.0 )
bootstrap.py:758
↓ 1 callersFunction_buffered_range_msg
top-level field 3 sub-message: format_id, start_ms, end_ms, ?, segment_idx.
sabr.py:186
↓ 1 callersFunction_build_rotation
Each spec = (suffix, impersonate, ua) or (suffix, impersonate, ua, transport, client). Layout: two passes through bases. Pass 1 stamps i-th b
pr_fetch.py:185
↓ 1 callersFunction_cache_path
(video_id: str)
sponsorblock.py:34
← previousnext →101–200 of 516, ranked by callers