<div dir="ltr"><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
I'm writing a program in C# to tidy up the song information presented by Traktor.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
The problem now is that I don't know how to address the "Remixed By/ Modified By" field through TagLib. When I check the possibilities of an TagLib instance (track.Tag.[options]), no suitable option is present.<br>
</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
I read up about ID3, and I think frame TPE4 is my guy. But I have no idea how to address iy.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
The end goal is to take a filename, split it up in three strings (Artist, title and remixer) and write that information to the ID3 tags.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
I've been successful as far as title and artist are concerned. Here is the<span style="font-size:16.799999237060547px"> code that does that:<br></span></p><pre class="" style="margin-top:0px;margin-bottom:10px;padding:5px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;overflow:auto;width:auto;max-height:600px;word-wrap:normal;color:rgb(0,0,0);line-height:22.256000518798828px;background:rgb(238,238,238)">
<code style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;font-family:Consolas,Menlo,Monaco,'Lucida Console','Liberation Mono','DejaVu Sans Mono','Bitstream Vera Sans Mono','Courier New',monospace,serif;white-space:inherit;background-image:initial;background-repeat:initial"><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TagLib</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">File</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> track </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TagLib</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">File</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Create</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">selectedSongFullPath</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">);</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
        </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TitleToBeChecked</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Path</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">GetFileNameWithoutExtension</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">selectedSongFullPath</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">);</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">

        </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(0,0,139);background:transparent">if</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TitleToBeChecked</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Contains</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(128,0,0);background:transparent">"-"</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">))</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
        </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">{</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">int</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> hyphenIndex </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TitleToBeChecked</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">IndexOf</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(128,0,0);background:transparent">"-"</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">);</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(0,0,139);background:transparent">string</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> title </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TitleToBeChecked</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Substring</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">hyphenIndex </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">+</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(128,0,0);background:transparent">1</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">).</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Trim</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">();</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(0,0,139);background:transparent">string</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> contributingArtists </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">TitleToBeChecked</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Substring</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">(</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(128,0,0);background:transparent">0</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">,</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> hyphenIndex</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">).</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Trim</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">();</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            track</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Tag</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Title</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> title</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">;</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(0,0,139);background:transparent">string</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">[]</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> contributingArtistsArray </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">{</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">contributingArtists</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">};</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            track</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Tag</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Performers</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">=</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent"> contributingArtistsArray</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">;</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
            track</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">.</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;color:rgb(43,145,175);background:transparent">Save</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">();</span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">
        </span><span class="" style="margin:0px;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;background:transparent">}</span></code></pre><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
Another question is, I find code that does not work when I try it, containing :: and ->. Example:</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
<a class="" href="http://taglib.github.io/api/classTagLib_1_1String.html" title="A wide string class suitable for unicode." style="color:rgb(68,68,238);text-decoration:none;font-family:monospace;font-size:12px;line-height:17.549999237060547px;white-space:pre-wrap;background-color:rgb(245,245,245)">TagLib::String</a><span style="color:rgb(51,51,51);font-family:monospace;font-size:12px;line-height:17.549999237060547px;white-space:pre-wrap;background-color:rgb(245,245,245)"> album = g.tag()->album(); </span><span class="" style="color:rgb(128,0,0);font-family:monospace;font-size:12px;line-height:17.549999237060547px;white-space:pre-wrap;background-color:rgb(245,245,245)">// album == "NYC Ghosts & Flowers";</span><br>
</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
Any help would very much be appreciated.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
Kind regards.</p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
<br></p><p style="margin:0px 0px 1em;padding:0px;border:0px;font-size:16.799999237060547px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:22.256000518798828px;background-image:initial;background-repeat:initial">
<br></p></div>