Daily summary #1

Closed
opened 2026-05-03 08:53:59 -04:00 by maddox · 3 comments
Owner

in my daily summary we should leave off the completed unless it is something unique from the recently added. don't show the queued section unless there is something queued.
last, i think the sunday message got truncated. we should split into multiple (numbered) messages to ensure all the info is recieved.

in my daily summary we should leave off the completed unless it is something unique from the recently added. don't show the queued section unless there is something queued. last, i think the sunday message got truncated. we should split into multiple (numbered) messages to ensure all the info is recieved.
Collaborator

v0.5.2 deployed (commit b23eb8b, plugin live in maubot — confirmed via /v1/plugins).

Changes:

  • Completed section is suppressed when every finished release is already represented in Recently Added. Match is on a normalized title slug (lowercased alphanumerics) — the Emby title (or SeriesName for episodes) must appear as a substring of the release name. When some releases are still unique, only those are shown under a renamed header: ✅ Also completed (not yet in Emby).
  • Queued section is omitted when both Sonarr and Radarr queues are empty.
  • Long bodies are split on line boundaries into chunks of ≤3000 chars, prefixed with (N/M) when there is more than one. The Sunday cleaner recap is the trigger case.

Ready to verify — fire !media digest in the notifications room. Today is Sunday 2026-05-03 so the cleaner block will exercise the chunking path.

v0.5.2 deployed (commit b23eb8b, plugin live in maubot — confirmed via `/v1/plugins`). Changes: - **Completed section** is suppressed when every finished release is already represented in *Recently Added*. Match is on a normalized title slug (lowercased alphanumerics) — the Emby title (or `SeriesName` for episodes) must appear as a substring of the release name. When some releases are still unique, only those are shown under a renamed header: `✅ Also completed (not yet in Emby)`. - **Queued section** is omitted when both Sonarr and Radarr queues are empty. - **Long bodies** are split on line boundaries into chunks of ≤3000 chars, prefixed with `(N/M)` when there is more than one. The Sunday cleaner recap is the trigger case. Ready to verify — fire `!media digest` in the notifications room. Today is Sunday 2026-05-03 so the cleaner block will exercise the chunking path.
Author
Owner

I think the Sunday daily summary should be split into two messages. The first message is the normal stuff the second for the deleted items. The second message would not need to call me by name since it's tagging right behind the first

I think the Sunday daily summary should be split into two messages. The first message is the normal stuff the second for the deleted items. The second message would not need to call me by name since it's tagging right behind the first
Collaborator

v0.6.2 shipped (commit 87eef44, plugin live in maubot — version: 0.6.2, instance enabled+started).

Change. On Sundays the emby-cleaner recap now ships as a second message after the main digest, instead of being appended to the same body and sharing byte-length (N/M) chunking with it. Refactor:

  • _send_digest builds digest_lines (the standard daily content: recently added, completed, queued) and sends those first via a new _send_chunked helper.
  • If is_sunday and the cleaner recap is non-empty, it builds a separate cleanup_lines list with its own **🧹 Weekly cleanup (emby-cleaner):** header and sends it as a second message.
  • _send_chunked keeps the existing byte-length chunking — but now applied per-message-group. So a long digest can still be split into (1/2, 2/2), and the cleanup recap is independently chunked. No (N/M) prefix when a group fits in a single chunk.

The follow-up message has no daily-digest header / date, so it reads as a clean "and here's what got removed" addendum rather than a duplicate digest preamble. No user mention either way — neither the original digest nor the cleanup recap calls anyone by name.

Non-Sunday behavior unchanged.

I can't test the Sunday-only path until 2026-05-17 without forcing the is_sunday flag, but the rest of the digest (today, Monday) sent fine. Closing — re-open if Sunday's run looks off.

v0.6.2 shipped (commit `87eef44`, plugin live in maubot — `version: 0.6.2`, instance enabled+started). **Change.** On Sundays the emby-cleaner recap now ships as a second message after the main digest, instead of being appended to the same body and sharing byte-length `(N/M)` chunking with it. Refactor: - `_send_digest` builds `digest_lines` (the standard daily content: recently added, completed, queued) and sends those first via a new `_send_chunked` helper. - If `is_sunday` and the cleaner recap is non-empty, it builds a separate `cleanup_lines` list with its own `**🧹 Weekly cleanup (emby-cleaner):**` header and sends it as a second message. - `_send_chunked` keeps the existing byte-length chunking — but now applied per-message-group. So a long digest can still be split into `(1/2, 2/2)`, and the cleanup recap is independently chunked. No `(N/M)` prefix when a group fits in a single chunk. The follow-up message has no daily-digest header / date, so it reads as a clean "and here's what got removed" addendum rather than a duplicate digest preamble. No user mention either way — neither the original digest nor the cleanup recap calls anyone by name. Non-Sunday behavior unchanged. I can't test the Sunday-only path until 2026-05-17 without forcing the `is_sunday` flag, but the rest of the digest (today, Monday) sent fine. Closing — re-open if Sunday's run looks off.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: maddox/maubot-media#1
No description provided.