Files
yt-channel-scraper/graphify-out/cache/ast/v0.9.22/2f15912ebacf22f457d91abb145e94909b16faa74732de18a2f07e31afac47a9.json
urieljareth 06497299ab feat: integrated audio player + animated transcript follower
- Video detail (done videos): added 'Download audio' button; removed the
  manual 'Thumbnail' button (thumbnails auto-download now, so it was redundant).
- New 'GET /api/videos/{id}/audio' endpoint (also serves HEAD for probing),
  serving data/audio/<video_id>.mp3. Audio job outtmpl switched to %(id)s so
  files are addressable per video.
- Integrated <audio> player appears in the detail view once the MP3 is present
  (probed via HEAD on openVideo; polled after a download job until ready).
- Synced transcript follower: as audio plays, the matching segment is
  highlighted (seg-active) and auto-scrolled into view like a karaoke/lyrics
  tracker. Clicking any segment timestamp or chapter seeks the audio to that
  point (falls back to scroll when no audio). Playback indicator pulses while
  playing.
2026-07-27 00:00:28 -06:00

1 line
10 KiB
JSON

{"nodes": [{"id": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "label": "monitor.py", "file_type": "code", "source_file": "src/yt_scraper/monitor.py", "source_location": "L1"}, {"id": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "label": "watch_loop()", "file_type": "code", "source_file": "src/yt_scraper/monitor.py", "source_location": "L18", "_callable": true}, {"id": "config", "label": "Config", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "D:\\yt-channel-scraper\\src\\yt_scraper\\monitor.py"}, {"id": "store", "label": "Store", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "D:\\yt-channel-scraper\\src\\yt_scraper\\monitor.py"}, {"id": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "label": "_run_once()", "file_type": "code", "source_file": "src/yt_scraper/monitor.py", "source_location": "L55", "_callable": true}, {"id": "d_yt_channel_scraper_src_yt_scraper_monitor_extract_handle", "label": "_extract_handle()", "file_type": "code", "source_file": "src/yt_scraper/monitor.py", "source_location": "L99", "_callable": true}, {"id": "d_yt_channel_scraper_src_yt_scraper_monitor_rationale_28", "label": "Discover + process pending videos for a channel, optionally on an interval.", "file_type": "rationale", "source_file": "src/yt_scraper/monitor.py", "source_location": "L28"}], "edges": [{"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "logging", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L3", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L4", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "typing", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L5", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_config_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L7", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_cookies_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L8", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_discover_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L9", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_pipeline_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L10", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_ratelimit_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L11", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_store_py", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L12", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L18", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "target": "config", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L18", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "target": "store", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L18", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L55", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "target": "config", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L55", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "target": "store", "relation": "references", "context": "parameter_type", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L55", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_py", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_extract_handle", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L99", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L44", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_extract_handle", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L72", "weight": 1.0}, {"source": "d_yt_channel_scraper_src_yt_scraper_monitor_rationale_28", "target": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "src/yt_scraper/monitor.py", "source_location": "L28", "weight": 1.0}], "raw_calls": [{"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L37", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "sleep", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L40", "receiver": "time"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L46", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "exception", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L47", "receiver": "log"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L51", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_watch_loop", "callee": "sleep", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L52", "receiver": "time"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "discover_channel", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L68", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "upsert_channel", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L72", "receiver": "store"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "upsert_videos", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L73", "receiver": "store"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L74", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "get_pending", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L76", "receiver": "store"}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L78", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "resolve_active_path", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L84", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "_emit", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L87", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "process_video", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L90", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_run_once", "callee": "polite_sleep", "is_member_call": false, "source_file": "src/yt_scraper/monitor.py", "source_location": "L96", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_extract_handle", "callee": "split", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L101", "receiver": null}, {"caller_nid": "d_yt_channel_scraper_src_yt_scraper_monitor_extract_handle", "callee": "split", "is_member_call": true, "source_file": "src/yt_scraper/monitor.py", "source_location": "L101", "receiver": "url"}]}