Apple Podcasts changed the `#serialized-server-data` element from a
direct array to an object wrapper `{ data: [...], userTokenHash }`.
This broke the route with:
TypeError: Cannot read properties of undefined (reading 'data')
Changes:
- Handle both old (array) and new (object with `data` key) formats
using `Array.isArray()` check for backward compatibility
- Add defensive optional chaining on the `channel` relationship
access chain to prevent crashes when episodes lack channel data
Fixes the same underlying issue reported by yt-dlp (yt-dlp/yt-dlp#15926).
Made-with: Cursor
Co-authored-by: xbankeradmin <admin@xbanker.ai>