Skip to content

WhatsApp profile: a video and an album's photos are "thumb" - #63

Merged
abrignoni merged 1 commit into
abrignoni:mainfrom
Maxitelmo:whatsapp-video-thumb
Nov 22, 2026
Merged

abrignoni merged 1 commit into
abrignoni:mainfrom
Maxitelmo:whatsapp-video-thumb

Conversation

@Maxitelmo

Copy link
Copy Markdown
Contributor

For #61, the second way, as you chose: thumb in described_ids.

What changes. One line in profiles/com.whatsapp.json, and its checked_with. In 2.26.45.99 a video is a view thumb described "Video, HD, duration 5 segundos", and each photo of an album a thumb described "Ver foto, 1 de 3". An album with more files than its grid shows has three photos and a fourth tile, "Ver los 6 archivos multimedia", under a "+ 3". A shared location's map is a thumb with no description, and still gives no line.

Tried on the test chat of #61, Samsung SM-G990E (Android 16) and Xiaomi 22101316G (Android 14), WhatsApp 2.26.45.99, es-US, 22 November. I added an album of 3 photos from the Samsung and one of 6 from the Xiaomi, walked the chat on both phones and exported it from both, with media.

Walk Video Album of 3 Album of 6
main as it is no line no line no line
this branch, Samsung 1 line, received 3 lines, sent 3 photos and the "Ver los 6" tile, received
this branch, Xiaomi 1 line, sent 3 lines, received 3 photos and the tile, sent

On the Samsung the video is never whole on one screenshot; taken by id it is a line anyway.

Against the exports: each export has the video's VID- and one IMG- per photo, 3 and 6. The three photos behind the "+ 3" tile cannot be on any screenshot. With the check-export of #62 (it has the commits for this now), each walk against each phone's export gives 7 photos found and 3 behind the album's last tile, the video found, and passes.

Two things the exports showed, now handled in #62: the export starts an album with an empty message, as it writes a call; and it lists an album's files in an order of its own (WA0003, WA0008, WA0004 for photos 1 to 3), so a walk's "Ver foto, 1 de 6" is one of the album's files, not a given one.

Nothing else moved. I rebuilt every WhatsApp walk I have with this profile (14, 15, 21 and 22 November, Samsung, moto g47, Xiaomi; 56 walks): they only gain lines, the video and the albums' tiles, plus three photos of an album in a walk of 14 November that had no line for them. No line is lost or changes.

Tests. WhatsAppThumbTests, on the shapes of these walks: the video at the list's top edge, an album of 6 with its tile and "+ 3", and a map with no description. All three fail with the profile as it is now. python -m unittest discover -s tests: 115 tests, OK (1 skipped).

Not tried. A video inside an album, an album with a caption, a sticker or GIF in a thumb, other languages.


Written and tested by @Maxitelmo with help from Claude Opus 5.5 (Anthropic).

🤖 Generated with Claude Code

WhatsApp 2.26.45.99 (Samsung SM-G990E and Xiaomi 22101316G, 21 and 22
November 2026) draws a video as a view "thumb" described "Video, HD, duration
5 segundos", and each photo of an album as a "thumb" described "Ver foto, 1 de
3". An album of more photos than the grid shows has three photos and a fourth
tile, "Ver los 6 archivos multimedia", under a "+ 3". The views around them
have no description, so a walk had no line for any of them: a video's caption
and duration, and nothing for an album.

"thumb" is now in described_ids, as abrignoni#61 settled. A shared
location's map is a "thumb" too, with no description, and still gives no line.
Taken by id, the video is a line even when no screenshot shows it whole (on the
Samsung it started at the list's top on one screenshot and was cut at the
bottom on the next); taken by its description, it was left out of both.

Rebuilt with this profile, every WhatsApp walk of 14, 15, 21 and 22 November
only gains lines: the video, the albums' tiles, and three photos of an album
in a walk of 14 November. No line is lost or changes. The new tests fail with
the profile as it was.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@abrignoni
abrignoni merged commit f3df0ab into abrignoni:main Nov 22, 2026
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.

2 participants