Review Request 112815: Properly fix read compilation tag in APE (musepack...) files

Matěj Laitl matej at laitl.cz
Mon Sep 23 10:52:54 UTC 2013



> On Sept. 19, 2013, 3:48 p.m., Matěj Laitl wrote:
> > shared/tag_helpers/APETagHelper.cpp, line 67
> > <http://git.reviewboard.kde.org/r/112815/diff/1/?file=190516#file190516line67>
> >
> >     Shouldn't that be toBool()
> >     isCompilation is AFAIK a boolean value.
> 
> Bruno Léon wrote:
>     That makes sense to me but toBool() does not seem to be an available option:
>     
>     /home/test/kde/src/amarok/shared/tag_helpers/APETagHelper.cpp: In member function ‘virtual Meta::FieldHash Meta::Tag::APETagHelper::tags() const’:
>     /home/test/kde/src/amarok/shared/tag_helpers/APETagHelper.cpp:67:43: error: ‘class QString’ has no member named ‘toBool’
>     
>     Actually I used toInt() as is done in the ID3v2.cpp code.

Oh I see, then please use: bool( value.toInt() )


- Matěj


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/112815/#review40349
-----------------------------------------------------------


On Sept. 19, 2013, 3:12 p.m., Bruno Léon wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/112815/
> -----------------------------------------------------------
> 
> (Updated Sept. 19, 2013, 3:12 p.m.)
> 
> 
> Review request for Amarok.
> 
> 
> Description
> -------
> 
> Properly fix read compilation tag in APE (musepack...) files
> 
> Previous patch 5e5140b was not complete. The information was read but not inserted in the data structure and thus not inserted in Aamrok DB.
> 
> 
> Diffs
> -----
> 
>   shared/tag_helpers/APETagHelper.cpp ba39a10 
> 
> Diff: http://git.reviewboard.kde.org/r/112815/diff/
> 
> 
> Testing
> -------
> 
> Files that were not placed in Various Artists before are now correctly recognised as compilation.
> 
> 
> Thanks,
> 
> Bruno Léon
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20130923/f507e805/attachment.html>


More information about the Amarok-devel mailing list