mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 01:12:39 +00:00
The watch history hydration stage was failing silently when relay connections were unstable or misconfigured. This commit: 1. Replaces the conditional debug logger with `devLogger.info` and `devLogger.warn` to ensure visibility of critical hydration steps. 2. Adds detailed logging for item counts, missing ID/address lists, filter generation, and fetch results. 3. Updates the relay selection logic to prioritize `nostrClient.readRelays` over `nostrClient.relays`. This ensures that hydration attempts query the user's specific read-configured relays, which is crucial for fetching metadata when generic relays may be write-only or restricted. These changes aid in diagnosing "Untitled video" issues and improve the robustness of the metadata fetch process.