Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(inline recs): Handle video recordings #776

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

jesus2099
Copy link
Contributor

@jesus2099 jesus2099 commented Jul 20, 2024

Remove :first-child, not needed and blocking video recordings detection

The selector is already strict enough to not catch recordings from div.ars (I guess it was the reason for those)

Examples where video data track was not handled before this commit: https://musicbrainz.org/release/d9e494dd-9386-48e4-8c52-9764dd8b8a0f
https://musicbrainz.org/release/0a5be94f-3429-46bd-9b1d-07dcb0209098

Release with recordings in inline relationships (on CD 23): https://musicbrainz.org/release/70dcde39-81ed-45e8-bdb3-f511112a3880

There was not problem with non-video data tracks:
https://musicbrainz.org/release/b63ca2ff-782e-45fc-bfb9-b74dc6aefe00


@ROpdebee, may I leave you manage the version number, OK?
My 3 concurrent PR have no conflict between themselves:

Remove `:first-child`, not needed and blocking video recordings detection

The selector is already strict enough to not catch recordings from `div.ars` (I guess it was the reason for those)

Example where video data track was not handled before this commit:
https://musicbrainz.org/release/d9e494dd-9386-48e4-8c52-9764dd8b8a0f

There was not problem with non-video data tracks:
https://musicbrainz.org/release/b63ca2ff-782e-45fc-bfb9-b74dc6aefe00
Copy link
Collaborator

@kellnerd kellnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me, I've found no scenario where the previous overzealous selector were required.

@kellnerd kellnerd merged commit cd69dd9 into ROpdebee:main Jul 25, 2024
11 checks passed
@jesus2099 jesus2099 deleted the detect-video-recordings branch July 25, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants