Skip to content

fix(metadata): match ani-cli API requests - #16

Merged
MiguelRegueiro merged 1 commit into
mainfrom
fix-metadata-api-requests
Jul 20, 2026
Merged

fix(metadata): match ani-cli API requests#16
MiguelRegueiro merged 1 commit into
mainfrom
fix-metadata-api-requests

Conversation

@MiguelRegueiro

Copy link
Copy Markdown
Owner

Summary

  • Match ani-cli’s current AllAnime API request shape for metadata/search lookups.
  • Use POST JSON with ani-cli-style headers instead of GET query params.
  • Fall back to stored (N episodes) totals when metadata has no usable episode list.

Closes #13.

Testing

  • cargo fmt --all -- --check
  • cargo test --locked
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo audit --deny unsound
  • Manual TUI smoke: metadata warnings no longer appear for the affected tracked entries.

@MiguelRegueiro
MiguelRegueiro force-pushed the fix-metadata-api-requests branch from db9702d to 4244467 Compare July 20, 2026 16:33
@MiguelRegueiro
MiguelRegueiro merged commit 185503e into main Jul 20, 2026
7 checks passed
@MiguelRegueiro
MiguelRegueiro deleted the fix-metadata-api-requests branch July 20, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot load metadata

1 participant