Skip to content

Release develop to main (1.6.77) - #122

Merged
Niall-Faughnan merged 12 commits into
mainfrom
develop
Nov 11, 2026
Merged

Niall-Faughnan merged 12 commits into
mainfrom
develop

Conversation

@Niall-Faughnan

Copy link
Copy Markdown
Collaborator

Summary

Brings main up to date with develop. This is everything merged since the last release (#110), and takes the app from 1.6.71 (119) to 1.6.77 (125).

main currently holds exactly the develop tree that #110 merged, which develop contains. So this merge is conflict-free, and afterwards main matches develop. Each change passed the build check on its own PR into develop. Merging here triggers the Build & Distribute workflow for the testers,dev Firebase groups.


Generated by Claude Code

claude and others added 12 commits September 27, 2026 19:23
Some publishers list an episode with a pubDate ahead of when it actually
goes live (The Big Tech Show's Omny feed has one dated Mon 28 Sep 00:05
UTC while already downloadable). Taken at face value it showed as
"In 4 hr" and sat above every genuinely newer episode on Home until the
date passed.

Following AntennaPod (DateUtils.parseOrNullIfFuture + falling back to the
first-seen time for new items), EpisodeDao now:
- insertAll: clamps a future publicationDate to the insert time.
- updateFeedFields: ignores a still-future feed date, keeping the stored
  one; a stored future date saved before this change falls back to
  addedAt; the feed's date is adopted once it has passed.
hasSameFeedFields mirrors this so unchanged refreshes still skip writes
while stored future dates still get repaired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Date future-dated episodes from when they were discovered
Subscribing to Latent Space failed with "Feed exceeds 10MB limit": its
Substack feed is ~14MB because Substack embeds every episode's full show
notes (231 episodes, ~60KB each), and it grows with each episode.

The cap only exists to bound runaway or hostile streams; AntennaPod has
none. Feeds stream straight into the parser, so memory tracks the parsed
episodes rather than the document size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Raise the feed size cap from 10MB to 50MB
Opening a show from search that had been previewed before showed the
episode list from that first preview (JRE: latest Jul 15, while the feed
has episodes through Oct 8). Discover navigates straight to an existing
row without fetching, and the background refresh only covers subscribed
shows, so an unsubscribed show's episodes never updated.

PodcastDetailViewModel now refreshes an unsubscribed show on open, as
Pocket Casts' PodcastViewModel.loadPodcast does, unless it was fetched in
the last 15 minutes (Discover fetches just before navigating for a first
preview). Subscribed shows stay with the background refresh, which owns
auto-download and new-episode notifications. Refreshes no longer overlap,
and unchanged episodes skip the write via hasSameFeedFields so refreshing
a feed with thousands of episodes doesn't rewrite every row.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Refresh unsubscribed shows when their page opens
Blocked and Reported's Substack feed rewrote the GUIDs of 178 back-catalogue
episodes (substack:post:N -> substack:post:N:unlocked). Refreshes match by
GUID, so every one was inserted a second time with addedAt = now and Home's
New section filled with episodes from as far back as 2021.

Adapted from AntennaPod's FeedDatabaseWriter + FeedItemDuplicateGuesser:
before each refresh matches by GUID, EpisodeDao.repairChangedGuids pairs
stored episodes whose GUID is gone from the feed with feed items that look
like the same episode (same audio URL, or same title on the same day within
10 minutes' length). The stored row takes the new GUID, keeping its play
state, download and addedAt, so the refresh updates it instead of inserting
a copy. Copies an earlier refresh already inserted are folded into the
original (play state, download and listening sessions move over) and
deleted. Episodes still in the feed under their own GUID are never matched.

Wired into the background worker, refresh-all, the podcast page refresh and
re-subscribing to a known show.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Re-key episodes whose GUID the host changed instead of duplicating them
…harts

Uses more of Apple's free iTunes / Marketing Tools APIs (all verified live):

- Episode search (entity=podcastEpisode): an "Episodes" chip under the search
  box lists matching episodes across every show. Tapping one stores its show
  as a preview if needed, finds the episode (by GUID, else audio URL or
  title) and opens its page, which keeps the download-then-play button.
- Show search filters: "In title" (attribute=titleTerm) and "By host"
  (attribute=artistTerm) beside "Anywhere".
- Searches use the chart region's storefront (country=) and ask for 100
  results instead of 30.
- Sub-category charts: the full Apple category tree (19 categories, 91
  sub-categories, e.g. Sport -> Rugby) as a second chip row; picking a
  category adds the six it previously lacked.
- Charts show the top 200 instead of 25 (one batched lookup still resolves
  every feed URL).
- A "Trending episodes" chart per region from rss.marketingtools.apple.com;
  entries carry only an Apple Podcasts link, so shows are resolved with one
  lookup of the show ids in those links.

onPodcastClick's preview-storing code is shared with episode taps. A search
superseded by a newer query or filter no longer surfaces as a "Search
failed" snackbar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Discover: episode search, search filters, sub-category and trending charts
The episode page capped show notes at 8 lines with a Show more / Show less
toggle. Because the notes TextView uses LinkMovementMethod (a scrolling
movement method), the capped view also scrolled internally, leaving a line
cut off at the top. Drop the cap and the toggle so the notes render at full
height and the page's own scroll reveals them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RK5hqcE13d42xpsT576dRw
…-vugfmb

Show episode notes in full instead of behind Show more
@Niall-Faughnan
Niall-Faughnan merged commit af3cc4b into main Nov 11, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants