Skip to content

Mark a file joined from an ExoPlayer cache as derived, not on the device - #249

Merged
charpy4n6 merged 1 commit into
mainfrom
feat/exoplayer-derived-marker
Oct 1, 2026
Merged

charpy4n6 merged 1 commit into
mainfrom
feat/exoplayer-derived-marker

Conversation

@charpy4n6

@charpy4n6 charpy4n6 commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

A file that gleapp/exocache.py joins from an app's ExoPlayer cache pieces (from #204) is given a path that names the cache folder plus a name GLEAPP chose, e.g. …/ExoPlayerCacheDir/videocache/exoplayer_549a9e35e76b.mp4. No file by that name exists on the device, but the path read like one everywhere it was shown.

What changes

  • The file path now shows » in place of the last separator, then an ⓘ whose tooltip reads Derived: not a file on the device:
    …/ExoPlayerCacheDir/videocache » exoplayer_549a9e35e76b.mp4 ⓘ
  • The » is the same size as the path text, in the accent color.
  • Only joined files are marked (rows carrying cache_info), and only where a file path is shown:
    • the details pane's File path row
    • the list view's File path column
    • the HTML report's Path and Device path fields
  • Nothing else is marked: tiles, names, headings and normal files are unchanged.

What doesn't change

  • The stored path, the CSV and JSON exports, and LAVA. A path still copies out exactly as written.
  • How pieces are stored or joined.

Details

  • exocache.DERIVED_MARK, DERIVED_NOTE and is_derived() hold the words and the rule the page and the report share.
  • Manual and in-app help: one bullet in the ExoPlayer section saying what the mark means.

Tests

  • test_a_joined_file_is_marked_derived_in_the_html_report: the mark appears once, in the path, in place of the last /, and a cache piece is not derived.
  • Full suite locally on Windows, with only this change present: 821 passed, 6 skipped. Line endings and the changed-file lint pass.
  • Reviewed by eye in a built exe on a real Android extraction (an Instagram ExoPlayer video joined from 14 pieces).

🤖 Generated with Claude Code

A file gleapp/exocache.py joins from an app's ExoPlayer cache pieces is given a
path that names the cache folder and a name GLEAPP chose. No file by that name
exists on the device, but the path read like one wherever it was shown.

Its file path now shows "»" in place of the last separator, between the cache
folder and the name, followed by an info mark whose tooltip reads "Derived: not a
file on the device". Only joined files carry it (rows with cache_info), and only
where a file path is shown: the details pane's File path row, the list view's File
path column, and the HTML report's Path and Device path fields. The stored path,
the CSV and JSON exports and LAVA are unchanged, so a path still copies out as
written. exocache.DERIVED_MARK and DERIVED_NOTE hold the words the page and the
report share. The manual and help say what the mark means.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@charpy4n6
charpy4n6 merged commit 7f9909b into main Oct 1, 2026
8 checks passed
@charpy4n6
charpy4n6 deleted the feat/exoplayer-derived-marker branch October 1, 2026 01:48
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.

1 participant