Accumulate file_count and total_size across all transferred leaf files in TransHandler.execute_transfer_plan's directory branch (preferring the frozen source size and falling back to the materialized target item size), so aggregated success notifications report the real transferred size instead of 0.0B for BDMV and regular directories.
Also preserve TransferInfo.total_size in TransferSettlementOwner's legacy non-aggregated notification fallback when jobview.size() returns 0 (e.g. after moving local directories or transferring remote directories).
Fixes#7588
Include start_episode in CalendarSubscription so calendar views can distinguish skipped pre-start episodes from actual library progress, and align completed_episode docstrings with the full-season denominator contract.
* fix(filemanager): keep partial filename within NAME_MAX for long dest names
_partial_path() appended '.' + uuid32 + '.mp-partial' to the full dest
name, so a valid 218-byte dest produced a 263-byte temp name and
_write_atomically() failed with ENAMETOOLONG. Budget the temp name
against PC_NAME_MAX (fallback 255): keep short names byte-identical,
truncate long dest names at UTF-8 char boundaries (os.fsencode, so
non-UTF-8 names round-trip), and shrink the uuid token when NAME_MAX
is abnormally small. Same directory, hidden prefix, uniqueness and
atomic replace semantics are unchanged.
Fixes#7572
* fix(filemanager): harden partial filename budgeting and fix lint gates
- Guard _resolve_name_max against missing os.pathconf on Windows and indeterminate <=0 POSIX limits
- Avoid double-dot prefix when multibyte leading char exceeds a tiny remaining budget
- Retry fsproxy.copy once with compact temp name when mount enforces stricter limit than PC_NAME_MAX
- Reuse bounded hidden temp naming for dangling symlink atomic repair in softlink()
- Fix pylint E0611 schema import, ruff F541 diagnostic, and APFS raw-byte test portability
---------
Co-authored-by: jxxghp <jxxghp@gmail.com>
Use the real assembled WidgetAuthService instance instead of the frozen-clock fixture auth in test_widget_dependency_assembly_and_absent_capability so credentials issued against wall clock do not expire after 2026-11-23.
Reuse cross-source TMDB projection and full recognition across manual download API and interactive messaging paths when RECOGNIZE_SOURCE=themoviedb, preserving TV season/episode/episode_group checks, external ID and origin_media traceability, warning fallback on mismatch, and post-ResourceDownload context sync.
Strip bracketed 8-character hexadecimal CRC32 checksum tags (containing
both digits and hex letters) and skip unbracketed CRC32 tokens in
MetaVideo so checksums like [B7858E21] are not misparsed as episode E21.
Refs #7557
Co-authored-by: Claude Code <noreply@anthropic.com>