[Nepomuk] Review Request: Extract tracknumber and track count from a value like "03/16"

Sebastian Trueg sebastian at trueg.de
Fri Feb 10 12:34:30 UTC 2012


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

Review request for Nepomuk, Strigi and Jos van den Oever.


Description
-------

Sometimes the track number value is something like "03/16" meaning track 3 of 16 tracks in total. This value cannot be converted into an int which makes indexing fail. The solution is to properly split the value and store nmm:trackNumber on the track and nmm:albumTrackCount on the album.


Diffs
-----

  lib/endanalyzers/flacendanalyzer.cpp c043872 
  lib/throughanalyzers/oggthroughanalyzer.cpp 26faa15 

Diff: http://git.reviewboard.kde.org/r/103911/diff/diff


Testing
-------

Tested with a flac file. Works fine.


Thanks,

Sebastian Trueg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/nepomuk/attachments/20120210/574f1e28/attachment.html>


More information about the Nepomuk mailing list