<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello Michael,<br></div><div class="gmail_quote"><div dir="ltr"><div style="font-size:small"><br></div><div style="font-size:small">Thanks for your e-mail.  I tried something close to your code.  Your code does not compile but the following does (t is a pointer to Tag):</div><div style="font-size:small"><br></div><div style="font-size:small"><div>            TagLib::StringList valList ("Beethoven");</div><div>            TagLib::PropertyMap pmap = t->properties();</div><div>            pmap ["COMPOSER"] = valList;</div><div>            t->setProperties (pmap);</div><div>            f->save();</div><div><br></div><div>I ran the above code on mp3, flac, and m4a files and it did not change or insert a COMPOSER tag, it just silently failed to do what I wanted.  However, the following did change the TITLE tag:</div><div><br></div><div><div>            TagLib::StringList valList ("Beethoven");</div><div>            TagLib::PropertyMap pmap = t->properties();</div><div>            pmap ["TITLE"] = valList;</div><div>            t->setProperties (pmap);</div><div>            f->save();<br></div><div><br></div></div><div>So my conclusion is that the creators of taglib just never finished the code to insert and edit any but the five or six most common tags.</div><div><br></div><div>Cheers,</div><div>Bruce</div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 11:39 PM, Michael Helmling <span dir="ltr"><<a href="mailto:michaelhelmling@posteo.de" target="_blank">michaelhelmling@posteo.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>Did you try something like:<br>
      <br>
      p = file->properties();<br>
      p['COMPOSER'] = 'Ludwig van Beethoven';<br>
      file->setProperties(p);<br>
      file->save();<br>
      <br>
      ?<br>
      Michael<br>
      <br>
      <br>
      Am 07.11.2014 um 07:33 schrieb Bruce Culbertson:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div style="font-size:small">I wrote an
          application to set audio file tags using taglib but found I
          could not set the COMPOSER tag in any of the file types I
          tried, which were mp3, m4a, and flac.  Am I right that taglib
          cannot set COMPOSER?  If so, this is a show-stopper for me. 
          For the music I am interested in, COMPOSER is at least as
          important as TITLE.</div>
        <div style="font-size:small"><br>
        </div>
        <div style="font-size:small">Thanks,</div>
        <div style="font-size:small">Bruce</div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
taglib-devel mailing list
<a href="mailto:taglib-devel@kde.org" target="_blank">taglib-devel@kde.org</a>
<a href="https://mail.kde.org/mailman/listinfo/taglib-devel" target="_blank">https://mail.kde.org/mailman/listinfo/taglib-devel</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>
</div><br></div>