Hi,<br><br><div class="gmail_quote">On Wed, Jun 13, 2012 at 10:52 AM, Sebastian Trüg <span dir="ltr"><<a href="mailto:sebastian@trueg.de" target="_blank">sebastian@trueg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im">On 06/10/2012 08:32 PM, Ignacio Serantes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I brief update status.<br>
<br>
1) I just fix multiple performers bug in flac analyzer.<br>
<br>
2) nmm:albumArtist seems to be related to DB structure and is not a<br>
coding bug. I just added nmm:albumArtist to SDO and now there is a<br>
nmm:albumArtist in nmm:MusicAlbum. This is the code I added:<br>
     nmm:albumArtist<br>
     a rdf:Property, nrl:DefiningProperty ;<br>
     rdfs:subPropertyOf nco:contributor ;<br>
     rdfs:label "album artist" ;<br>
     rdfs:comment "Album artist" ;<br>
     rdfs:domain nmm:MusicAlbum ;<br>
     rdfs:range nco:Contact .<br>
</blockquote>
<br></div>
This looks good. I am only concerned about having performer and producer on the tracks and artist on the album. Shouldn't that be in sync somehow? After all an album is also produced, right? A compilation has a producer and each track has a possibly different producer...</blockquote>

<div><br></div><div>This is right but as there is no tag for album producer this information can not be obtained from the music file so this is outside my actual goals. Album producers can be obtained using a query, as I'm doing in Nepoogle for album performers.</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I will upload a patch to Review Board for the first one but, what must I<br>
do with the second one?<br>
</blockquote>
<br></div>
The normal approach is to create a ticket at <a href="https://sourceforge.net/apps/trac/oscaf/" target="_blank">https://sourceforge.net/apps/<u></u>trac/oscaf/</a></blockquote><div><br></div><div>Ok, thank you. I will add a ticket.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Thu, Jun 7, 2012 at 7:59 PM, Ignacio Serantes <<a href="mailto:kde@aynoa.net" target="_blank">kde@aynoa.net</a><br></div><div class="im">
<mailto:<a href="mailto:kde@aynoa.net" target="_blank">kde@aynoa.net</a>>> wrote:<br>
<br>
    Hi,<br>
<br>
    I detect next issues with music albums scanning flac and mp3 formats:<br>
<br>
    1) Performers:<br>
<br></div>
      * mp3: supports it but it wrongly adding nmm:albumArtist too and<div class="im"><br>
        this must be related to nmm:MusicAlbum.<br></div>
      * flac: only adds one performer, the last added to the file?.<div class="im"><br>
        nmm:musicArtist it's not imported and an error is launched:<br>
        "Cannot set values for abstract property<br>
        '<a href="http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#albumArtist" target="_blank">http://www.semanticdesktop.<u></u>org/ontologies/2009/02/19/nmm#<u></u>albumArtist</a>'<br>
        <<a href="http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#albumArtist" target="_blank">http://www.semanticdesktop.<u></u>org/ontologies/2009/02/19/nmm#<u></u>albumArtist</a>'>.".<br>
<br>
    Solution:<br>
<br></div>
      * 0 to n nmm:albumArtist resources must be added to nmm:MusicAlbum.<br>
      * 0 to n nmm:performer resources must be added to nmm:MusicPiece.<br>
<br>
<br>
    2) Albums:<br>
<br>
      * there is no url in nmm:MusicAlbum so two different albums with<div class="im"><br>
        same name are considered one unique resource.<br></div>
      * determine album url is tricky, you need to obtain the url from a<div class="im"><br>
        track, a method complicated because previous problem.<br>
<br>
    Solution:<br>
<br></div>
      * add nie:url to albums.<br>
      * two albums with same name but different path are different<div class="im"><br>
        albums. This have a side effect with sets if sets are in<br>
        different paths, but I think is better that sets are considered<br>
        different albums, than two different albums are the same<br>
        resource. On the other side, this could be handle with some<br>
        smart path detection assuming some kind of organization with<br>
        paths. Other solution could be using nmm:albumArtis to determine<br>
        if two albums are different but, then we have the problem with<br>
        various artists compilations.<br></div>
      * added nfo:depiction as a cover, an image that could be handled<br>
        by Bangarang or Nepoogle.<br>
      * maybe more nfo:depiction for scans?<br>
<br>
<br>
    3) Genres:<br>
<br>
      * mp3: is not working.<br>
      * flac: works fine, supporting unlimited genres.<br>
<br>
    Solution:<br>
<br>
      * bug with mp3 files must be fixed.<br>
<br>
<br>
    4) Sets:<br>
<br>
      * there is no total tracks per set.<br>
      * the total tracks is equal to the total tracks number in the last<br>
        track scanned.<br>
<br>
    Solution:<br>
<br>
      * a solution similar as seasons in tvshows.<br>
      * a total tracks and a total tracks per set must be handled.<div class="im"><br>
<br>
    I'm only using flac and mp3 so the same or other issues could be in<br>
    other music formats.<br>
<br>
    Sets problems is a minor issue, but the other three, must be fixed.<br>
<br>
    As practically all my music is in flac format I will try to fix<br>
    problems 1 and 2 in flac analyzer, I'm crossing my fingers because<br>
    is C++, but I wish to hear comments/suggestions before begin to code.<br>
<br>
    --<br>
    Best wishes,<br>
    Ignacio<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Best wishes,<br>
Ignacio<br>
<br>
<br>
<br>
<br></div>
______________________________<u></u>_________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org" target="_blank">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/nepomuk</a><br>
</blockquote>
______________________________<u></u>_________________<br>
Nepomuk mailing list<br>
<a href="mailto:Nepomuk@kde.org" target="_blank">Nepomuk@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/nepomuk" target="_blank">https://mail.kde.org/mailman/<u></u>listinfo/nepomuk</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best wishes,<div>Ignacio</div><div><br></div><br>