MCPcopy Create free account

hub / github.com/HelpFreedom/youthub / functions

Functions516 in github.com/HelpFreedom/youthub

↓ 262 callersMethodget
(self, url: str, *, headers: Optional[dict] = None, timeout: float = 15.0)
auth_cookies.py:122
↓ 41 callersFunctionlog
(msg)
sabr_bridge.mjs:76
↓ 37 callersFunctionwrites
(s: str)
grid_demo.py:396
↓ 20 callersMethodclose
(self)
grid_demo.py:757
↓ 18 callersFunctionlogprint
(msg: str)
bridge_player.py:640
↓ 16 callersFunction_log
(msg: str)
pr_fetch.py:232
↓ 15 callersMethodrun
Run the SABR loop until tracks end or we hit a quiet streak. Track buffers (self.tracks[*].buf) are populated in place.
sabr.py:459
↓ 15 callersMethodwait
(self)
bridge_player.py:241
↓ 14 callersFunctionget_clock
ffplay-yt/ffplay.c:2313
↓ 13 callersFunctionlog
(msg)
po_token.mjs:27
↓ 12 callersMethodstart
(self)
watchstats.py:101
↓ 11 callersFunctionanim_now_sec
ffplay-yt/ffplay.c:1229
↓ 11 callersMethodsearch
(self, query: str, *, params: Optional[str] = None, continuation: Optional[str] = None)
youthub/innertube.py:132
↓ 11 callersMethodsend
(self, line: str, *, reply_timeout: float = 30.0)
bridge_player.py:163
↓ 10 callersFunction_daemon_log
(msg: str)
bootstrap.py:548
↓ 10 callersFunctionget_master_clock
get the current master clock value */
ffplay-yt/ffplay.c:2378
↓ 10 callersMethodread
Wait up to `timeout` seconds for a key. Returns key name or None. Uses os.read on the raw file descriptor so we don't fight Python's
youthub/terminal.py:120
↓ 10 callersMethodreplace
Swap the entire feed for a new one (used by reload/search). Resets the dedupe set too — otherwise a later `maybe_extend` would skip v
youthub/feed_loader.py:83
↓ 9 callersMethodset_varint
(self, field_no: int, val: int)
proto_edit.py:72
↓ 8 callersFunction_txt
(node)
recs_pipeline.py:202
↓ 8 callersFunction_write
(out: IO[bytes], data: bytes)
youthub/graphics.py:33
↓ 8 callersFunctionframe_queue_nb_remaining
return the number of undisplayed frames in the queue */
ffplay-yt/ffplay.c:938
↓ 8 callersMethodkill
(self)
bridge_player.py:246
↓ 8 callersFunctionpacket_queue_put
ffplay-yt/ffplay.c:588
↓ 8 callersFunctionset_clock
ffplay-yt/ffplay.c:2333
↓ 8 callersFunctionstream_seek
seek in the stream */
ffplay-yt/ffplay.c:2411
↓ 8 callersFunctionwrite
(b: bytes)
grid_demo.py:392
↓ 7 callersFunction_load_state
()
pr_fetch.py:251
↓ 7 callersMethod_post
(self, endpoint: str, body: dict)
youthub/innertube.py:98
↓ 7 callersFunctionclamp
(s: str, n: int)
grid_demo.py:400
↓ 7 callersMethodclose
(self)
bridge_player.py:183
↓ 7 callersFunctiondo_exit
ffplay-yt/ffplay.c:2197
↓ 6 callersFunction_log
(msg: str)
recs_pipeline.py:50
↓ 6 callersFunction_read_varint
(buf: bytes, pos: int)
bootstrap.py:117
↓ 6 callersFunction_read_varint
(buf: bytes, pos: int)
proto_edit.py:15
↓ 6 callersFunctionfull_redraw
()
grid_demo.py:957
↓ 6 callersFunctionget_master_sync_type
ffplay-yt/ffplay.c:2361
↓ 6 callersFunctionreadVarint
(buf, pos)
sabr_bridge.mjs:247
↓ 6 callersFunctionread_varint
(buf: bytes, pos: int)
proto_dump.py:25
↓ 6 callersFunctionread_varint
(buf: bytes, pos: int)
probe_potoken.py:25
↓ 6 callersMethodsnapshot
Return a copy of the current feed (safe to iterate from UI thread).
youthub/feed_loader.py:40
↓ 6 callersMethodstop
(self)
youthub/preview.py:101
↓ 6 callersFunctionstream_cycle_channel
ffplay-yt/ffplay.c:4482
↓ 5 callersMethod_consume
Walk a UMP body, including nested UMP inside MEDIA payloads. A MEDIA part's payload is: [hid byte][content_length bytes of raw fMP4
sabr.py:373
↓ 5 callersMethod_send_ipc
(self, line: str)
bridge_player.py:303
↓ 5 callersFunction_text
Extract plain text from a YouTube text node — handles simpleText / runs.
youthub/feed.py:19
↓ 5 callersMethodconnect
(self, timeout: float = 10.0)
bridge_player.py:151
↓ 5 callersFunctiondraw_chevron
Draw one filled chevron via stacked 1-px-tall rects. * (SDL 2.0.14 has no triangle primitive — RenderGeometry needs 2.0.18.) * - cx,cy = chevron ce
ffplay-yt/ffplay.c:1295
↓ 5 callersFunctionframe_queue_next
ffplay-yt/ffplay.c:922
↓ 5 callersFunctionp
(n)
sabr_bridge.mjs:72
↓ 5 callersFunctionpacket_queue_flush
ffplay-yt/ffplay.c:630
↓ 5 callersFunctionstopSession
()
sabr_bridge.mjs:441
↓ 5 callersFunctiontile_origin
1-indexed (row, col) terminal cell for the top-left of tile #idx.
grid_demo.py:377
↓ 4 callersFunction_save_state
(state: dict)
pr_fetch.py:264
↓ 4 callersFunctionapply_playback_speed
ffplay-yt: rebuild playback_afilters_buf from current user -af plus * the atempo chain for the requested speed. Sets the dirty flag — * audio_thread
ffplay-yt/ffplay.c:3336
↓ 4 callersMethoddraw
(self)
grid_demo.py:798
↓ 4 callersFunctiongetPoToken
(visitorData, contentBinding)
po_token.mjs:157
↓ 4 callersFunctionipc_write_all
=== ffplay-yt IPC patch — function bodies === * * Wire protocol (UTF-8, newline-terminated, both directions): * * Client → ffplay-yt: * SEE
ffplay-yt/ffplay.c:2463
↓ 4 callersMethodnext
(self, video_id: str, *, continuation: Optional[str] = None)
youthub/innertube.py:143
↓ 4 callersFunctionpacket_queue_put_nullpacket
ffplay-yt/ffplay.c:602
↓ 4 callersMethodproxies_arg
(self)
pr_fetch.py:172
↓ 4 callersFunctionstream_component_close
ffplay-yt/ffplay.c:2103
↓ 4 callersFunctionstream_component_open
open a given stream. Return 0 if OK */
ffplay-yt/ffplay.c:3923
↓ 4 callersFunctiontoNum
(v)
sabr_bridge.mjs:93
↓ 3 callersFunction_advance_to_next_alive
Move `state["current"]` to the next alive strategy in rotation. If everyone is dead, start a new round: resurrect all and point at the head of
pr_fetch.py:286
↓ 3 callersFunction_cache_paths
(video_id: str)
bootstrap.py:80
↓ 3 callersFunction_client
()
youthub/auth.py:74
↓ 3 callersMethod_do_bootstrap
Send the captured init body with HD context patched in.
sabr.py:359
↓ 3 callersFunction_now
()
pr_fetch.py:239
↓ 3 callersFunction_rainbow_rgb
Map a position+phase to a saturated rainbow RGB. Hue cycles around the colour wheel; lightness fixed at 0.55 keeps everything readably bright
grid_demo.py:566
↓ 3 callersMethod_reply
(self, code: int, body: str)
test_tvpair.py:70
↓ 3 callersFunction_strategy_record
(state: dict, sid: str)
pr_fetch.py:273
↓ 3 callersFunction_truecolor
(r: int, g: int, b: int)
grid_demo.py:577
↓ 3 callersFunction_walk_sections
Common section-list walker — works for both home and /next pivot.
youthub/feed.py:279
↓ 3 callersFunction_write_varint
(out: BytesIO, val: int)
proto_edit.py:27
↓ 3 callersMethodbrowse
(self, browse_id: str, *, params: Optional[str] = None, continuation: Optional[str] = None)
youthub/innertube.py:121
↓ 3 callersFunctionclear_focus_border
(row: int, col: int, w: int, h: int)
grid_demo.py:491
↓ 3 callersFunctionclear_slot
Wipe a grid slot: delete its image and blank the two text lines.
grid_demo.py:510
↓ 3 callersFunctiondecoder_abort
ffplay-yt/ffplay.c:953
↓ 3 callersFunctiondecoder_decode_frame
ffplay-yt/ffplay.c:722
↓ 3 callersFunctiondecoder_destroy
ffplay-yt/ffplay.c:814
↓ 3 callersFunctiondecoder_init
ffplay-yt/ffplay.c:713
↓ 3 callersFunctiondecoder_start
ffplay-yt/ffplay.c:3461
↓ 3 callersFunctiondraw_header
(layout: dict, shelf_title: str, idx: int, total: int)
grid_demo.py:536
↓ 3 callersFunctiondraw_speed_text
ffplay-yt/ffplay.c:1365
↓ 3 callersFunctiondraw_status
(ts: terminal.TermSize, video: feed_mod.Video, last_key: str = "")
grid_demo.py:543
↓ 3 callersFunctiondraw_tile
(layout: dict, idx: int, video: feed_mod.Video, focused: bool)
grid_demo.py:406
↓ 3 callersMethodfirst
(self, field_no: int)
proto_edit.py:60
↓ 3 callersFunctionframe_queue_destory
ffplay-yt/ffplay.c:846
↓ 3 callersFunctionframe_queue_init
ffplay-yt/ffplay.c:825
↓ 3 callersFunctionframe_queue_peek
ffplay-yt/ffplay.c:865
↓ 3 callersFunctionframe_queue_peek_writable
ffplay-yt/ffplay.c:880
↓ 3 callersFunctionframe_queue_push
ffplay-yt/ffplay.c:912
↓ 3 callersFunctioninit_clock
ffplay-yt/ffplay.c:2345
↓ 3 callersMethodis_fresh
(self, leeway: int = 60)
youthub/auth.py:40
↓ 3 callersFunctionneed
(tool: str)
tui_player.py:40
↓ 3 callersFunctionpacket_queue_destroy
ffplay-yt/ffplay.c:648
↓ 3 callersFunctionpacket_queue_init
packet queue handling */
ffplay-yt/ffplay.c:613
↓ 3 callersFunctionpickBest
(filter)
sabr_bridge.mjs:418
↓ 3 callersFunctionread_varint
(buf: bytes, pos: int)
ump_extract.py:15
next →1–100 of 516, ranked by callers