This is useful if the extractor runs sandboxed, and read-write file access is denied.
TagLib would retry it readonly, but this saves one syscall.
Details
Details
- Reviewers
vhanda krop dfaure mgallien - Group Reviewers
Frameworks - Commits
- R286:098d62874591: Open files in TagLib extractor readonly
- Autotests run fine
- Tags are still indexed, tested with "baloosearch artist=..." and "baloosearch genre=..."
Diff Detail
Diff Detail
- Repository
- R286 KFileMetaData
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Thanks, I tested it and it works.
I am not sure about the qWarning.
I would prefer another opinion on that.
Comment Actions
Some other extractors also print warnings. I think it's the only way a user can spot such problems. But let's wait for another opinion.
Comment Actions
If other extractors are already doing that,I guess it is good enough for now. I guess somebody may one day come up with better error logging (i.e. the user can discover it).