-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
feat(config): Add common audio and video MIME type aliases #54447
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
feat(config): Add common audio and video MIME type aliases #54447
Conversation
CarlSchwan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I'm a bit unfamiliar with that code
|
@Ratatou2 please rebase onto the master branch. We don't merge the master branch into feature branches. |
c91aa43 to
ac6f6c1
Compare
@provokateurin |
@provokateurin The test Could you guide me on how to update the integrity signatures for the new MIME types? Thanks! |
Head branch was pushed to by a user without write access
ac6f6c1 to
00ac2ee
Compare
|
Hi @provokateurin @CarlSchwan, I see there's an IntegrityCheck test failure due to the signature mismatch with the new MIME types I added. Should I wait for maintainer assistance with the integrity signatures, or is there something I can do to resolve this? Thanks for your help! |
|
You don't need to rebase unless there is a conflict. I'll ask for the signature to be updated. |
|
@Ratatou2 please follow the instructions at
|
75afaf5 to
205b466
Compare
|
Hello! I've addressed the feedback regarding the test assets you requested. I followed the instructions in the comment on line 734 of the Please let me know if any further modifications are needed. |
|
Hello there, We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process. Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6 Thank you for contributing to Nextcloud and we hope to hear from you soon! (If you believe you should not receive this message, you can add yourself to the blocklist.) |
|
You'll also need to update the failing test. |
|
I guess it needs further changes, like dea865d But I am not an expert, just checked former commits updating the mapping file |
Thank you for your feedback. |
b0d1288 to
94023b1
Compare
Adds a set of common audio and video MIME type aliases to the configuration file. This allows the system to correctly identify these file types for features such as automated tagging, improving overall file handling. This change is limited to the configuration update. UI modifications are out of scope and will be addressed in a separate pull request. Fixes nextcloud#30173 Signed-off-by: JinHakChoi <ws423257@gmail.com>
Updates the test assets. This is a necessary step to reflect the recently added audio and video MIME type aliases and ensure the integrity checks pass for the core assets. This commit is a follow-up to the MIME type alias addition. Signed-off-by: JinHakChoi <ws423257@gmail.com>
Updates the test assets. This is a necessary step to reflect the recently added audio and video MIME type aliases and ensure the integrity checks pass for the core assets. This commit is a follow-up to the MIME type alias addition. Signed-off-by: JinHakChoi <ws423257@gmail.com>
Signed-off-by: JinHakChoi <ws423257@gmail.com>
94023b1 to
ea39540
Compare
|
@provokateurin This should be ready for a final review and merge :) |
Signed-off-by: JinHakChoi <ws423257@gmail.com>
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
|
Nice work @Ratatou2 🎉 🎉 🎉 |
Fixes : #30173, Related : #54462
Summary
This pull request updates resources/config/mimetypealiases.dist.json to include common audio and
video MIME type aliases, improving their recognition for features like automated tagging.
Scope of this PR
This change is strictly limited to updating the mimetypealiases.dist.json configuration file.
Any corresponding UI changes, such as updating the MIME type dropdown in the "Automated Tagging"
interface, are considered out of scope for this PR and must be addressed in a separate pull request.
How to test
resources/config/mimetypealiases.dist.jsonto confirm that the new audio and video MIME types have been added.audio/mpeg). Upload a file of that type (e.g., an MP3 file) and verify that the tag is applied correctly.