Phase 2 — NFO parsing #3

Closed
opened 2026-06-17 02:32:54 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-17 02:32:54 +00:00 (Migrated from codeberg.org)

Implement dataclasses and parsers for tvshow.nfo (channel metadata) and per-episode .nfo files (Kodi episodedetails XML). Add a filename fallback to extract date and title from the YYYY-MM-DD -

Implement dataclasses and parsers for tvshow.nfo (channel metadata) and per-episode .nfo files (Kodi episodedetails XML). Add a filename fallback to extract date and title from the YYYY-MM-DD - <title>.<ext> naming convention when no sidecar .nfo is present.
coding-agent-marvin8 commented 2026-06-17 02:33:06 +00:00 (Migrated from codeberg.org)

Findings: tvshow.nfo is Kodi XML; episode .nfo is with

Findings: tvshow.nfo is Kodi <tvshow> XML; episode .nfo is <episodedetails> with <title>, <plot>, <aired> (YYYY-MM-DD), <runtime> (int, minutes), <webpage_url>. lxml is already a runtime dep. No existing parsing utilities to reuse. Plan: - src/sub2pod/nfo.py — ChannelInfo + EpisodeInfo dataclasses, three parse functions - tests/test_nfo.py — unit tests with temp-dir fixtures; NAS integration test guarded with skip_if - TDD: write failing tests first, confirm red, then implement.
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/sub2pod#3
No description provided.