Skip to content

Media: optionally repair invalid imported metadata - #523

Closed
jzhvymetal wants to merge 1 commit into
google:masterfrom
opensagetv-vibe:sagetv-review/imported-metadata-repair
Closed

jzhvymetal wants to merge 1 commit into
google:masterfrom
opensagetv-vibe:sagetv-review/imported-metadata-repair

Conversation

@jzhvymetal

Copy link
Copy Markdown
Contributor

Summary

  • add a disabled-by-default repair for corroborated invalid metadata
  • restrict it to completed, imported, local, single-segment video
  • exclude recordings, live streams, discs, remote inputs, pictures, music, growing files, and valid rows
  • include focused regression tests

Validation

  • Focused Java tests passed in the Vibe extraction workspace.

Review state

Draft: a physical malformed-import corpus must prove recovery without changing valid media before merge.


This replaces OpenSageTV#8, which was opened against an intermediate fork instead of the canonical SageTV repository. The topic was replayed without patch changes onto the current canonical master.

@google-cla

google-cla Bot commented Sep 29, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@jzhvymetal

Copy link
Copy Markdown
Contributor Author

Closing because the motivating invalid metadata row exists only on the modified Vibe test server, while the same valid MKV files report correct duration and seek normally through unmodified stock SageTV. The opt-in repair has not passed its physical malformed-import gate, and no stock-server user problem currently justifies adding playback-time database repair to Core.

@jzhvymetal jzhvymetal closed this Sep 29, 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.

1 participant