mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
- ytdlp: add fetch_playlist_info() using yt-dlp -J --flat-playlist for reliable container title + shallow entry list; normalize item URLs via webpage_url → absolute url → id fallback (domain inferred from container URL so YTM stays on music.youtube.com) - capture: add record_container_entry() (no blob, no primary_media artifact); extend record_media_entry() with parent_entry_id/root_entry_id params (all existing single-item call sites pass None, None) - capture: implement YouTubePlaylist / YouTubeChannel / YouTubeMusicPlaylist capture path replacing the two not-implemented stubs: fetch playlist info → create container entry (reusing existing run + item) → per-child run items (parent_item_id = container item) → download each video/track as a child entry; per-child failures are non-fatal; perform_capture returns result.status reflecting actual run outcome so capture_handler marks the job correctly - archive: add child_count i64 to EntrySummary (col 12 in all listing queries); add get_entry_summary() private helper; fix get_entry_detail() to use get_entry_summary() so child entries are resolvable via the detail endpoint; add list_child_entries(conn, uid, caller_bits) with the same admin/collection visibility predicate as list_root_entries archive_runs.requested_count stays 1 (one user locator); discovered/ completed/failed_count reflect container item + N video items via refresh_run_counters.
46 lines
543 B
Text
46 lines
543 B
Text
*
|
|
|
|
!.gitignore
|
|
!.github/
|
|
!.github/**
|
|
|
|
!docs/
|
|
!docs/LICENSE
|
|
!docs/README*
|
|
!docs/superpowers/
|
|
!docs/superpowers/**
|
|
!crates
|
|
!crates/**
|
|
|
|
!vendor
|
|
!vendor/**
|
|
|
|
!flake.nix
|
|
!flake.lock
|
|
|
|
!Cargo.toml
|
|
!Cargo.lock
|
|
!ARCHIVR-MENTAL-MODEL.md
|
|
!NEXT.md
|
|
!AGENTS.md
|
|
|
|
!Dockerfile
|
|
!.dockerignore
|
|
!docker-compose.yml
|
|
!docker/
|
|
!docker/**
|
|
|
|
!modules/
|
|
!modules/**
|
|
|
|
!frontend/
|
|
!frontend/**
|
|
frontend/node_modules/
|
|
frontend/node_modules/**
|
|
frontend/result
|
|
frontend/result/**
|
|
frontend/dist/
|
|
frontend/dist/**
|
|
.DS_Store
|
|
frontend/storybook-static/
|
|
frontend/storybook-static/**
|