tag:help.beatunes.com,2009-07-24:/discussions/questions/61-color-online-resourcesbeaTunes: Discussion 2014-10-21T15:50:58Ztag:help.beatunes.com,2009-07-24:Comment/18640052010-06-07T09:31:58Z2010-06-07T09:31:58ZColor Online Resources<div><p>The data fetched from the online database is used to calculate
the color for a song in your collection. The actual color is not
retrieved.</p>
<p>Does this explain things?</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-07T17:57:28Z2010-06-07T17:57:28ZColor Online Resources<div><p>I think I understand what you are saying. So there would be no
benefit to computing/recomputing all the files without the use of
internet resources, correct?</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-07T18:43:33Z2010-06-07T18:43:33ZColor Online Resources<div><p>Correct. Probably not.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-15T16:23:21Z2010-06-15T16:23:23ZColor Online Resources<div><p>Failed to find song with persistent id, the corresponding task
was dropped from the task queue. is this an error that occurs when
trying to rewrite beatunes color info? is there a way to clear song
color info after they've been embedded into the file and written
into the beatunes database?</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-15T17:45:25Z2010-06-15T17:45:25ZColor Online Resources<div><p>That error usually occurs, when a song was added to the queue
and then deleted from the library before it was processed in the
queue.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-15T18:54:14Z2010-06-15T18:54:15ZColor Online Resources<div><p>Thing is, I haven't deleted while it's been processing. Before I
began the batch process, I synchronized beaTunes with iTunes. If
it's possible that beaTunes has just skipped some of the songs, is
there a way for me to determine which ones need to be re-processed?
I'd hate to have to begin the batch process from scratch again, but
won't mind doing it if it helps preserve the integrity of the
database.</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-15T19:58:30Z2010-06-15T19:58:30ZColor Online Resources<div><p>Synchronization can have the same effect as deletion, if at some
point you have deleted any songs in iTunes.</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-16T11:10:28Z2010-06-16T11:10:31ZColor Online Resources<div><p>Thing is, I did not select any songs in my library to have
analyzed that aren't currently in my itunes library. I synchronized
before I began the analysis just to make sure that the two were the
same. Does beaTunes remember song files from 3 or 4
synchronizations ago when I try to analyze the library, and are
those the songs (which are not in my library any longer) whose
persistent id cannot be found?</p>
<p>Whenever my computer turns off my two monitors in order to save
power, when I return to use my computer again (and the monitors
turn on once again), it seems as though there is a higher rate of
'failed to find persistent id's'. Could this at all be somehow
related?</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-17T07:34:37Z2010-06-17T07:34:37ZColor Online Resources<div><p>The analysis queue is persistent and songs deleted from iTunes
will not be deleted from the queue. This is where the error you are
seeing could stem from.</p>
<p>The monitor thing should not have anything to do with it.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-21T10:59:18Z2010-06-21T10:59:19ZColor Online Resources<div><p>Well the error occurs even amongst newly added songs to the
library (which haven't been deleted and beaTunes displays a prompt,
asking if I'd like to have the songs analyzed). I noticed that when
it occurs, it just seems to skip the analysis of a song file. If I
take the time to try and analyze the songs that had been skipped,
it does work, so I'm not sure what prevents the function from
working entirely when doing things in a batch.</p>
<p>I guess the issue is when it occurs while I'm trying to replace
the color files of songs that had previously calculated/downloaded
values, and the songs are 'skipped', I have no way of knowing which
ones I'd have to have the analysis try to analyze again to obtain
the non-erroneous values.<br></p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-22T07:53:55Z2010-06-22T07:53:55ZColor Online Resources<div><p>Hm... Sorry, but without logs this is really just wild guessing
around.</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-22T10:35:53Z2010-06-22T10:35:58ZColor Online Resources<div><p>Here you go, all zipped!</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-23T07:35:46Z2010-06-23T07:35:46ZColor Online Resources<div><p>Thanks for the logs.</p>
<p>After calculating (or importing) the spectrum for a song,
beaTunes adds it to a queue for mass background processing, writing
the new colors to the database. This queue competes with the rest
of the program for the database. When it gets very long, it may
lock the main database table, so that the analysis process can't
access it anymore and suffers a timeout.</p>
<p>Currently this timeout is at 10s. You can manually increase the
timeout by editing the files <code>beaTunes2.l4j.ini</code>
<em>and</em> <code>beaTunes2.l4j.ini.template</code> (on your
system in `G:\Program Files\tagtraum
industries\beaTunes-2.1.9`).<br>
To increase the timeout to 60s, you would need to add the line:</p>
<pre>
<code>-DH2_LOCK_TIMEOUT=60000</code>
</pre>
<p>Then restart beaTunes.</p>
<p>I will make an effort to make the color calculation process less
greedy in future versions.<br>
In any case, please let me know, whether increasing the timeout has
the desired effect.</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-24T00:55:22Z2010-06-24T00:55:25ZColor Online Resources<div><p>thus far, no issues have cropped up. I'll keep you posted with
how things work out over the next few days.</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-24T08:22:37Z2010-06-24T08:22:37ZColor Online Resources<div><p>2.1.10 should contain a fix for this, when it's out.</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/18640052010-06-28T13:50:26Z2010-06-28T13:50:28ZColor Online Resources<div><p>well i made the modifications, and the issue seems to have
cleared up. Thanks a bunch!</p></div>C.V.Bernardtag:help.beatunes.com,2009-07-24:Comment/18640052010-06-28T13:54:18Z2010-06-28T13:54:18ZColor Online Resources<div><p>Cool. Thanks for letting me know.</p>
<p>-hendrik</p></div>hendrik