tag:help.beatunes.com,2009-07-24:/discussions/questions/13352-library-scrambledbeaTunes: Discussion 2019-09-09T08:06:57Ztag:help.beatunes.com,2009-07-24:Comment/476005592019-09-09T06:37:28Z2019-09-09T06:37:28ZLibrary scrambled<div><p>Hey Lasse,</p>
<p>sorry you got your library scrambled. :-/</p>
<p>Finding tracks with the same artwork is an interesting idea. For <em>identical</em> artwork this is certainly possible with a bit of programming work—though the process may not be fast.</p>
<p>Do you know how to code?</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/476005592019-09-09T07:59:34Z2019-09-09T07:59:34ZLibrary scrambled<div><p>Hi Hendrik,</p>
<p>Yes. I do. An idea would be to compute and store a hash value of the PIC flag of the ID3?</p>
<p>I would suggest a new column in the Mediathek/Library pane (Cover Art hash) and make it sortable. Voila, titles having the same art can be sorted and identified.</p>
<p>And an ability to corrected (that would be a nice feature for besTunes as well).</p>
<p>Regards,<br>
Lars</p></div>Lars Kappenbergtag:help.beatunes.com,2009-07-24:Comment/476005592019-09-09T08:06:56Z2019-09-09T08:06:56ZLibrary scrambled<div><blockquote>
<p>Yes. I do. An idea would be to compute and store a hash value of the PIC flag of the ID3?</p>
</blockquote>
<p>That's exactly what I was thinking!</p>
<blockquote>
<p>I would suggest a new column in the Mediathek/Library pane (Cover Art hash) and make it sortable. Voila, titles having the same art can be sorted and identified.</p>
</blockquote>
<p>At the moment I don't see this as a full feature for beaTunes (sorry!).</p>
<p>But you can implement this yourself fairly quickly, by creating a <a href="https://www.beatunes.com/en/beatlet-getting-started.html">beaTlet</a> that computes the hash and stores it in one of the extra fields, e.g. <code>Custom1</code>.</p>
<p>Something like this for all tracks:</p>
<pre>
<code>Image image = song.getImage();
if (image != null) {
String hash = createHash(image);
song.setCustom1(hash);
}</code>
</pre>
<p>Doing this is fairly easy with a <a href="https://www.beatunes.com/en/beatlet-librarybatchaction.html">LibraryBatchAction</a> within the <code>process(song, index)</code> function/method.</p></div>hendrik