YouTube direct-stream resolver CLI and JSON-lines worker errors.
What happened: The r-dlp worker received a malformed JSON line on stdin.
What you can do: Restart Glyph or Companion; if calling r-dlp directly, send one valid JSON object per line.
When to report: Open an issue if Glyph or Companion itself triggers this code.
What happened: A request line sent to r-dlp serve exceeded 4096 bytes or lacked a terminating newline.
What you can do: Ensure requests are compact JSON lines under 4096 bytes.
When to report: Open an issue if Glyph triggers this internally.
What happened: r-dlp was given a string that is neither a valid 11-character YouTube ID nor an HTTPS YouTube URL.
What you can do: Pass a valid YouTube video ID or https:// URL.
When to report: Open an issue if a valid YouTube link is rejected.
What happened: Resolving the YouTube stream exceeded the configured time budget.
What you can do: Retry the request; check network latency to YouTube.
When to report: Open an issue if r-dlp always times out on a fast connection.
What happened: YouTube's player endpoint reported the video as unavailable, private, age-gated, or blocked.
What you can do: Pick another match via Wrong song or let yt-dlp fallback handle it.
When to report: Only report this if all normal public videos are rejected.
What happened: The target YouTube video is a live broadcast, which r-dlp does not resolve.
What you can do: Choose a regular non-live recording via Wrong song.
When to report: No issue needed.
What happened: r-dlp found no direct audio stream without signature deciphering; Glyph will fall back to yt-dlp.
What you can do: Keep yt-dlp installed in Settings > Sources (or Companion) for fallback.
When to report: Open an issue if this starts happening for every video.
What happened: r-dlp found no direct MP4 video format matching the requested max height.
What you can do: Switch back to audio mode or try a different video.
When to report: Open an issue if no videos resolve direct MP4 streams.
What happened: YouTube returned player metadata for a different video ID than requested.
What you can do: Try resolving the track again.
When to report: Open an issue if this repeats across different tracks.
What happened: r-dlp could not obtain or parse an anonymous YouTube visitor token.
What you can do: Wait a moment and retry, or update r-dlp to the latest release.
When to report: Open an issue in glyphmusic/r-dlp if visitor bootstrapping stops working.
What happened: YouTube returned an oversized, truncated, or unparseable player payload, or an invalid media host.
What you can do: Try again in a moment or update r-dlp.
When to report: Open an issue in glyphmusic/r-dlp if this persists.
What happened: The --verify range probe did not receive a valid partial media response from YouTube.
What you can do: Retry the resolve request; Glyph will fall back to yt-dlp if needed.
When to report: Open an issue if verified probes fail consistently.
What happened: r-dlp encountered an HTTP or TLS transport error contacting YouTube.
What you can do: Check your internet connection and retry.
When to report: Open an issue if YouTube is reachable normally but r-dlp always fails.
What happened: r-dlp was invoked with invalid command-line flags or an invalid resolution timeout budget.
What you can do: Run r-dlp --help to check supported flags.
When to report: Open an issue if Glyph or Companion passed invalid flags.
What happened: r-dlp encountered an internal lock or state error.
What you can do: Restart Glyph or the Companion service.
When to report: Open an issue in glyphmusic/r-dlp with the details.