- Use const where applicable
Details
- Reviewers
mgallien astippich - Group Reviewers
Baloo Frameworks - Commits
- R286:a97308cf9ab8: taglibextractor: Refactor for better readability
make test
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.
Thanks for your work.
I would prefer to wait for D10803 to land before doing any big changes like that.
I did this mostly for myself because I could not understand the code otherwise and published it because I thought it might be useful. I don't have the time to merge in the changes of D10803
Shall I abandon it?
Btw, I'm not opposed anymore for merging before D10803, as I need some more time to think about the value types and probably also need to extend the tests. I will adapt to the changes afterwards.
Good! (I always thought it would be easier to apply your patch on top of this one). There is no need for you to commandeer this patch anymore. You could review it instead ;-)
src/extractors/taglibextractor.cpp | ||
---|---|---|
331 | You mean other than lines 225, 233, 240? |
@mgallien: You're the maintainer of kfilemetadata? Great! I didn't know. I thought all of Vishesh's heritage was unmaintained.
src/extractors/taglibextractor.cpp | ||
---|---|---|
157 | This is an example for what we're discussing. Why the join??? We might lose info, when the album artist contains a comma. |
src/extractors/taglibextractor.cpp | ||
---|---|---|
331 | Yes, but imho we shouldn't even enter the function for mimetypes not having ogg tags. Maybe that is overly careful |
src/extractors/taglibextractor.cpp | ||
---|---|---|
157 | Yeah, I've seen that as well. Looks unnecessary, since we could also just directly add it to a stringlist. This is something I would like to change (at least for the taglibextractor) |
src/extractors/taglibextractor.cpp | ||
---|---|---|
331 | you're right, it was the same way before and it already bugged me there ;) |