Skip to content

feat: include channel name in screenshot filename - #3878

Merged
ImprovedTube2 merged 1 commit into
code-charity:masterfrom
Gilmoursa:feat/3854-channel-name-screenshot-filename
May 21, 2026
Merged

feat: include channel name in screenshot filename#3878
ImprovedTube2 merged 1 commit into
code-charity:masterfrom
Gilmoursa:feat/3854-channel-name-screenshot-filename

Conversation

@Gilmoursa

Copy link
Copy Markdown
Contributor

Summary

Closes #3854.

  • Reads the channel name from the page using the .ytd-channel-name a selector (with #upload-info .ytd-channel-name as a fallback) — the same selectors already used elsewhere in player.js
  • Appends the channel name between the timestamp and video title in the screenshot filename
  • Falls back gracefully (channel name simply omitted) if the element is not found on the page

Before: {videoId} {timestamp} {videoTitle}.png
After: {videoId} {timestamp} {channelName} {videoTitle}.png

Closes code-charity#3854.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ImprovedTube2
ImprovedTube2 merged commit 1d4829d into code-charity:master May 21, 2026
@ImprovedTube2

Copy link
Copy Markdown
Collaborator

thank you @Gilmoursa

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.

channel name on screenshot filename.

2 participants