Skip to content

fix(local api): restore Up Next upload-date metadata rendering#8763

Closed
SergioChan wants to merge 1 commit intoFreeTubeApp:developmentfrom
SergioChan:fix-up-next-upload-date-8754
Closed

fix(local api): restore Up Next upload-date metadata rendering#8763
SergioChan wants to merge 1 commit intoFreeTubeApp:developmentfrom
SergioChan:fix-up-next-upload-date-8754

Conversation

@SergioChan
Copy link

@SergioChan SergioChan commented Mar 7, 2026

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Description

  • stop assuming the upload-date/views metadata always lives in metadata_rows[1]
  • flatten lockup metadata rows and parse from all metadata parts
  • keep existing behavior (duration/live/upcoming parsing) while restoring x ago text extraction for Up Next cards when YouTube response row layout changes

Screenshots

N/A (logic-only parsing fix)

Testing

  • node --check src/renderer/helpers/api/local.js
  • Manual verification plan: open a watch page using Local API where Up Next lacked the x ago label and confirm upload age appears again.

Desktop

  • OS: Ubuntu (WSL2)
  • OS Version: Linux 6.6.87.2-microsoft-standard-WSL2
  • FreeTube version: N/A (source branch)

Additional context

This keeps the diff intentionally minimal and scoped to lockup video metadata parsing for issue.

@FreeTubeBot FreeTubeBot enabled auto-merge (squash) March 7, 2026 07:17
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Mar 7, 2026
@absidue absidue closed this Mar 7, 2026
auto-merge was automatically disabled March 7, 2026 09:50

Pull request was closed

@absidue absidue added AI-PR PR that has been determined to be completely or majority untested and AI generated and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Mar 7, 2026
@FreeTubeApp FreeTubeApp locked and limited conversation to collaborators Mar 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

AI-PR PR that has been determined to be completely or majority untested and AI generated

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants