-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
lp1445885: Fix handling of files with wrong suffix #4615
Merged
Merged
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
71f45b5
Fix 1:n mapping between file types and file suffixes
uklotzde 4853a3a
Detect and report file type updates
uklotzde 699a490
Fix import of inaccessible or missing files
uklotzde 74d7632
Test that wrong file suffixes are fixed on re-import
uklotzde 703fbfb
Delete obsolete "aif" file type
uklotzde 00d4f9a
Move changelog entry from 2.3.2 to 2.4.0
uklotzde eabfcca
Add code comments
uklotzde 5937340
Fix regex of supported file names
uklotzde 5bfa42c
DirectoryDAOTest: Simplify code
uklotzde e40fab9
Add test for file types with corresponding suffixes
uklotzde adf9faf
Improve code comment as requested
uklotzde 5b500ee
Add more file/type suffix mapping tests
uklotzde 49df712
Merge branch 'main' of [email protected]:mixxxdj/mixxx.git into soundsou…
uklotzde f57cf30
Add remaining file types to suffix mapping test
uklotzde db15d6f
Maintain a s_fileTypeByMimeType for a reliable file type lookup
daschuer 8fb2185
Don't add duplicates to s_fileTypeByMimeType
daschuer cb52de8
Add getFileTypeByMimeType() helper
daschuer 9b2518e
Remove duplicate mime type entries. We need a strict 1 to many relati…
daschuer f63a72b
Adjust SoundSource::getTypeFromFile() for using getFileTypeByMineType
daschuer d3b504d
Add special case handling for opus files that the SounsourceOpus is used
daschuer 2a44a94
Fix test getTypeFromMissingFile()
daschuer 3ed94d0
Improve the code around the "audio/x-opus+ogg" mime type
daschuer babfce5
Merge remote-tracking branch 'upstream/main' into soundsource-file-type
daschuer 2f77c85
Bypass mime type lookup from content for .flac files
uklotzde 212489b
Merge pull request #73 from uklotzde/soundsource-file-type
daschuer 8a9b24b
Use QLatin1String()
daschuer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Minor nit-pick: QLatin1String("opus")?
QString provides many QLatin1String overloads as I only recently noticed.