github dannyvfilms/Floppy v26.11.19

51 minutes ago
FLOPPY Weekly Release Workspace

Changes since last release:

Apparently I wasn't quite finished with the performance work. Fable 5.2 was incredibly useful at finding even more that could be improved and organized on Floppy, and the usage resets allowed me to get most of that work done.

This release has a particularly satisfying set of improvements for large libraries: podcasts, music, cast and crew, Calendar, History, Statistics, sorting, and even the amount of work Floppy does when nobody is using it. There are new features in here, too!

Highlights

  • Much faster music and podcast pages: Open long albums, artists with hundreds of releases, and podcasts with thousands of episodes without waiting for the entire catalogue to load. MusicBrainz repairs now happen in the background instead of holding up the page.
  • Faster libraries and search: Sorting large libraries by last update, TV progress, runtime, and game time-to-beat is considerably cheaper. Search suggestions stop working on older requests as you type, and large list filters no longer need to load the entire list.
  • A more responsive Home and media cards: Home loads shelves as you approach them, artwork downloads are smaller, shared media cards gain Now Playing support, and rating and watched actions update more efficiently.
  • A faster Calendar, History, and Statistics: Calendar handles large libraries more efficiently, History starts with a manageable batch of cards, and repeated custom Statistics ranges reuse previous work until something changes.
  • Better TV tracking and navigation: Unfinished episode plays no longer count as completed watches, show rewatches survive duplicate season-opener plays, and season title logos link to their shows. Thanks to @daften for these fixes.
  • More useful links: Open connected titles directly in Radarr, Sonarr, Seerr, Jellyfin, Plex, or Steam; episode scores link to the corresponding TMDB and IMDb episode pages thanks to @VictorVow.
  • More reliable imports and integrations: Google Takeout YouTube imports now support TGZ archives; Trakt OAuth imports handle the hidden-items endpoint correctly (thanks @nicolerenee); Jellyfin import matching and Playback Reporting progress are more dependable. MCP users can configure allowed hosts thanks to @evanjs.
  • Safer tracking data: Duplicate-item merges preserve ratings, notes, and statuses; missing library buckets are repaired; webhook and Stremio events survive worker interruptions; and smart lists stay current when read through APIs and feeds.
  • Less background work and quicker startup: Floppy does less maintenance when there is nothing to do, avoids rebuilding Discover for inactive users, polls less often, and can finish database backups even while new activity is being saved.
  • More consistent and reliable interfaces: Shared-card improvements, Glass Cinema edit-dialog fixes, Android light-mode fixes, and corrections for several media-page crashes and incorrect sorts are backed by expanded browser, native-contract, and JavaScript tests.

Performance Improvements — With Receipts

These figures are before-and-after results from controlled development fixtures, not a promise of identical production loading times. CPU time, browser readiness, wall time, memory and query counts are labeled separately.

Music, podcasts, and detail pages

  • Podcast show with 2,000 episodes: 21.6s → 94ms CPU (99.6% less); memory 72 MB → 462 KB.
  • Album with 2,000 tracks and ten plays per track: 30,017 → 19 queries; CPU approximately 45s → 1s; payload 56 MB → 0.94 MB.
  • Music album with a simulated one-second provider delay: 1.1–3.2s → 0.06–0.16s after removing provider repairs from page loading.
  • Artist with 600 played albums: 1,479ms → 49ms web CPU (97% less).
  • A 60-season show's app detail endpoint: 839 → 26 database queries; a person page with 1,000 credits sends 11.7 MB → 0.92 MB of web data.
  • Person page with a deliberately held 30-second stall: 30.5s → under 2s, with play totals filled in separately.

Libraries, Home, and search

  • Sorting 10,000 movies by Updated: 8.6s → 90ms API CPU (about 99% less); 38,192 → 192 model objects.
  • Default TV library ordering: 1.4s → 0.29–0.48s CPU; sorting games by time-to-beat: 874ms → 389ms CPU.
  • PostgreSQL All-type search suggestions: 2,648ms → 293ms (89% less); an example search reduced concurrent requests from seven to one.
  • Web Home artwork downloads: 41 MB → 9.4 MB; card renders on a 128-card Home fixture: 803 → 128.
  • Rating action: 15 → 2 requests; marking an 800-episode show Completed: 2,662 → 195 database requests.

Calendar, History, and Statistics

  • Web Calendar with a 10,000-item library: 3.2–4.7s → 0.7–1.1s wall time; Expo month load: 13.7–18.8s → 2.0–4.8s.
  • History on a phone: 7.4s → 2.3s until ready; initial cards in one web test: 144 → 28.
  • Statistics on a phone with 4× CPU throttling and a 20,000-item library: 7.65s → 5.46s until ready.
  • Statistics with realistic provider data: 5.2s → 0.23s CPU; traced memory 66.1 MiB → 4.3 MiB. Repeat custom full-history ranges: 2,070ms → 650ms CPU.

Background work, startup, and reliability

  • Smart-list synchronization for 500 changed items and five lists: 48–58s → under 0.2s; 8,500–10,200 → 18–43 queries.
  • Unchanged Calendar/RSS feed polls with 2,000 events: 74ms → 3ms CPU.
  • Discover rebuilds during a 150-minute period with no visits: 58 → 0; book trending cold builds: 64.9s → 25.2s.
  • Cold container startup: 27–32s → 12–14s; the idle safety-check work dropped from 42.2s → 3.1s CPU per hour. A separate idle-worker optimization reduced worker, scheduler and Redis CPU from 73.5s → 44.6s per hour.
  • Database backup of a 711 MB fixture under frequent writes: formerly unable to finish, now completes in 15–20s.
  • Median required CI check: 22.8 minutes → 10 minutes, while verifying each of approximately 12,000 tests runs once.

It's nice to see the work move beyond a few expensive requests and start to benefit nearly every part of Floppy. Thank you for continuing to report the things that feel slow or behave differently than you'd expect.

Known Issues

  • Native iOS and Android apps are still in development and are not available for public testing in this release.
  • Podcast History's individual-listen editor remains follow-up work.
  • SQLite search over very large libraries, TV next-episode air-date sorting, and some legacy Statistics requests still have room for improvement. Overlapping Hours chart labels on very large libraries were identified but not corrected in this pass.
  • Automatic reuse of passing PR test results is merged but remains opt-in and disabled by default. This affects development, not normal Floppy use.

Installing & Updating

The recommended Docker image is:

ghcr.io/dannyvfilms/floppy:latest

Existing Floppy users on ghcr.io/dannyvfilms/yamtrack:latest can switch to the Floppy image. The old path continues to receive updates during the transition.

If you're moving from upstream Yamtrack, import your data using the supported CSV workflow rather than swapping container images. Back up your installation before upgrading: database migrations may not be reversible.

See the README and deployment documentation for installation and configuration guidance.

About Floppy

Floppy is a free, open-source, self-hosted tracker for movies, TV, anime, books, games, music, podcasts, and more. It began as a project to build something I wanted to use, and the community has helped it grow into far more than that.

I independently maintain Floppy with AI-assisted development tools, building on the original work of Yamtrack and its contributors. My goal remains to make the entire application available for free, without paid features or premium subscriptions.

Community & Contributors

Thanks to @daften, @VictorVow, @nicolerenee, @binGhzal, @evanjs, @ghub-priv, and @Tobechukwu-Njoku for their contributions in this release. A special welcome to first-time merged contributors @nicolerenee, @binGhzal, and @evanjs!

Thank you to everyone who has filed issues, tested changes, shared feedback, and helped Floppy reach the 1k-star mark on GitHub. GitHub Issues is the best place to report problems or request features. You'll also find the community Discord link in the README.

Support Floppy

If Floppy has become part of your routine, consider sponsoring development on GitHub. Sponsorship helps cover the tools and resources I use to work on the project. Everyone gets the same application regardless of whether they sponsor.

Thank you to everyone who supports the project in any capacity.

Happy tracking!

Full Technical Changelog

The following pull requests were included in this release.

What's Changed

  • Prevent stored podcast feed URLs leaking through shared metadata by @Tobechukwu-Njoku in #1815
  • Close remaining ways syncs undo or lose user state (#1133) by @dannyvfilms in #1562
  • Load Home shelves near the screen and share TV shelf work by @dannyvfilms in #1972
  • Discover: cheaper rebuilds, and only for people who use Discover by @dannyvfilms in #1973
  • Keep scheduled syncs silent when nothing changed by @dannyvfilms in #1983
  • Sync smart lists for bulk changes one list at a time by @dannyvfilms in #1984
  • Improve merge train throughput and wake immediately after failed CI by @dannyvfilms in #1987
  • Merge green migration-free PRs in cumulative batches; block new duplicate migration numbers by @dannyvfilms in #1988
  • Show detail rating and watched taps at once, and fix Android light mode by @dannyvfilms in #1986
  • Bound Open Library trending edition lookups in Discover by @dannyvfilms in #1992
  • Make the merge train origin-neutral with cumulative candidates by @dannyvfilms in #1989
  • Serve the legacy statistics API without a query per show and episode by @dannyvfilms in #1997
  • Refresh approved PRs in parallel instead of building batch PRs by @dannyvfilms in #1998
  • Faster poster grids: redraw only changed cards, window the Expo Library, card-sized covers by @dannyvfilms in #1974
  • Snapshot copy finishes under writes; freshness-wait benchmark by @dannyvfilms in #1976
  • Make marking a show Completed and deleting a season much faster by @dannyvfilms in #1975
  • Statistics: load card rows once per pass, split the range aggregate by @dannyvfilms in #1985
  • Build media-list cache keys from the parsed filters by @dannyvfilms in #2001
  • Web Home uses the same request code as the Expo app by @dannyvfilms in #2002
  • Run the idle SQLite safety check without starting Django by @dannyvfilms in #2004
  • Give idempotent migration operations one shared home and block new inline copies by @dannyvfilms in #2007
  • Update django-allauth and OAuthLib by @binGhzal in #2009
  • Statistics: keep wide item columns out of cached range rows by @dannyvfilms in #1996
  • Build missing Statistics days in bulk in test mode by @dannyvfilms in #2012
  • Ship precompiled Python so the startup check stays under its deadline by @dannyvfilms in #2013
  • CI: guard PR-result reuse against event-dependent test selection by @dannyvfilms in #2015
  • Stop recycling workers for memory-mapped database pages by @dannyvfilms in #2014
  • Updated sort: order in the database instead of scanning the library by @dannyvfilms in #2019
  • Open one issue when tests break on latest, and tell PRs about it by @dannyvfilms in #2006
  • Make the Calendar fast on large libraries (SURFACE-16) by @dannyvfilms in #2018
  • Count an episode play as a watch only when it is finished by @daften in #1982
  • Fix episode page 500 from person links with an empty source by @daften in #1970
  • Benchmark: measure when React pages show real content by @dannyvfilms in #2021
  • ci: balanced PR test shards, a browser shard, and proof every test ran once by @dannyvfilms in #2005
  • Give each local test shard its own PostgreSQL test database by @dannyvfilms in #2024
  • Make the podcast show page cost the same at any catalogue size by @dannyvfilms in #2026
  • Stop person pages from waiting on the whole-library plays scan by @dannyvfilms in #2027
  • Grant issues: read to the Docker Image quality gate by @dannyvfilms in #2029
  • Remember custom Statistics ranges until the next change by @dannyvfilms in #2028
  • Keep one search suggestion request at a time and stop work nobody is waiting for by @dannyvfilms in #2031
  • Keep a History save that lands while its day is being refreshed by @dannyvfilms in #2032
  • Report GitHub's reason for a refused fork update and keep retrying it by @dannyvfilms in #2030
  • Statistics: stop reading years of plays to rebuild one old day by @dannyvfilms in #2034
  • Check latest once a day, so a date change cannot break it unseen by @dannyvfilms in #2039
  • Add a code map for maintainers and agents by @dannyvfilms in #2033
  • Answer unchanged calendar and RSS feed polls cheaply by @dannyvfilms in #2036
  • Make recurring backfills cheap when they have nothing to do by @dannyvfilms in #2041
  • Long albums open quickly: bounded queries and paged track rows by @dannyvfilms in #2042
  • Record why History and Statistics day rebuilds stay separate (DATA-06A) by @dannyvfilms in #2017
  • Record the measured snapshot memory limit: 768 MiB for a 2.4 GB database by @dannyvfilms in #2025
  • Open History with two screens of cards instead of five days by @dannyvfilms in #2047
  • Measure detail pages against long catalogues; faster long lists and big artists by @dannyvfilms in #2048
  • Rank library pages by show progress, dates and runtime without loading every tracker by @dannyvfilms in #2040
  • Music pages open from stored data and fill in from MusicBrainz in the background by @dannyvfilms in #2046
  • Statistics: stop forced style recalcs and discarded legacy charts at load by @dannyvfilms in #2045
  • Build each watched episode once on TV show and season detail (49-C/D) by @dannyvfilms in #2054
  • Give SQLite startup admission a 120s default deadline by @dannyvfilms in #2055
  • Quiet idle Celery workers, Beat and Redis by @dannyvfilms in #2056
  • One home for small value helpers, with a guard (prompt 59) by @dannyvfilms in #2063
  • Give shared detail builders public names; no private reach through app.views by @dannyvfilms in #2064
  • Keep a user's score, notes and status when two items are merged by @dannyvfilms in #2067
  • Add a read-only data invariant report (check_data_invariants) by @dannyvfilms in #2065
  • Run every JavaScript test in the lint check by @dannyvfilms in #2059
  • Writes that skip signals refresh what they change by @dannyvfilms in #2066
  • Test the production paths that test mode switches off (prompt 80) by @dannyvfilms in #2072
  • Open every page for every media type; fix three crashes it found by @dannyvfilms in #2073
  • Build the list filter menu from SQL instead of loading every item by @dannyvfilms in #2053
  • Keep queued webhook and Stremio events when a worker dies by @dannyvfilms in #2074
  • Keep smart lists current for API and feed readers by @dannyvfilms in #2062
  • Test what each sort, filter and select all means on every surface by @dannyvfilms in #2081
  • Never store an item without a library bucket by @dannyvfilms in #2080
  • Native tests read real server answers by @dannyvfilms in #2078
  • Split integrations/views.py by subject (pilot: webhooks, cover proxies, Stremio, MyAnimeList sync) by @dannyvfilms in #2079
  • Fix edit modal trapped in rows under Glass Cinema by @dannyvfilms in #2085
  • Bound the artist page's albums and totals (web and Expo) by @dannyvfilms in #2084
  • Person pages: send credits 60 at a time, stop writing on every view by @dannyvfilms in #2052
  • Update GitHub Sponsors goal card by @dannyvfilms in #2044
  • Fix duplicate media card quick-status source-map entry by @dannyvfilms in #2058
  • Keep a show rewatch whole when a season opener is logged twice by @daften in #2082
  • Link episode score chips to TMDB and IMDb episode pages by @VictorVow in #2071
  • Match a Jellyfin import to a play logged at playback-stop by @daften in #2083
  • Link a season's title logo to its show by @daften in #1945
  • Support TGZ for Google Takeout YouTube archives (continues #1900) by @dannyvfilms in #2086
  • Card consolidation and Now Playing on the shared media card by @dannyvfilms in #2088
  • Advance the Jellyfin Playback Reporting cursor by @dannyvfilms in #2094
  • Rebuild UI bundles on latest by @dannyvfilms in #2096
  • Merge the two app 0231 migration leaves by @dannyvfilms in #2095
  • test(lists): fix bulk-selection counter assertion in browser test by @ghub-priv in #1872
  • Fix Trakt OAuth import 404 on hidden items endpoint by @nicolerenee in #2037
  • Log a refused pickle control message once, not as CRITICAL by @dannyvfilms in #2093
  • Stop Postgres SSL error flood from container HOME by @dannyvfilms in #2097
  • Stay on the provider after Delete all, clear dead undo runs, batch the delete by @dannyvfilms in #2098
  • Allow users to configure ALLOWED_HOSTS for MCP server by @evanjs in #1906
  • Link titles to Radarr, Sonarr, Seerr, Jellyfin, Plex and Steam; group detail links by @dannyvfilms in #2087

New Contributors

Full Changelog: v26.11.12...v26.11.19

Don't miss a new Floppy release

NewReleases is sending notifications on new releases.