Re: auto saving threshold
"P.G. Richardson" <[email protected]>
| Newsgroups | gmane.comp.ipod.gtkpod |
|---|---|
| Message-ID | <[email protected]> |
> On Thu, Mar 17, 2011 at 9:15 AM, P.G. Richardson > <[email protected]> wrote: >> >>> On Wed, Mar 16, 2011 at 9:10 PM, phantomjinx >>> <[email protected]> wrote: >>>> On 16/03/11 10:39, Rainer M Krug wrote: >>>>> >>>>> On 03/15/2011 09:52 PM, phantomjinx wrote: >>>>> >>>>>> >>>>>> <snip> >>>>>> >>>>>>>> >>>>>>>> Second observation: I set the number of tracks to 15, and gtkpod >>>>>>>> is >>>>>>>> trying to add and copy 126 songs before a save. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> Fixed. Should always save exactly on the threshold now, regardless >>>>>> of >>>>>> how the tracks were added to the itdb. >>>>>> >>>>> >>>>> Let's put it that way - I have set it to 15 tracks, and it saves >>>>> after >>>>> 7 >>>>> to 8 tracks. Adding tracks via "add Folders" >>>>> >>>>> Rainer >>>>> >>>>> >>>> >>>> Sure? >>> >>> I base it on the info in the status bar in the bottom, wherre it says >>> (number of tracks set to 20: >>> >>> "X/10" ... " waiting for 10-x tracks to be copied" >>> >>> How can I get the debug output you show below? >>> >>> I used >>> >>> ./configure --prefix=$HOME CFLAGS="-ggdb -O0" LDFLAGS="-ggdb -O0" >>> >>> make >>> >>> make install >>> >>> and run gtkpod from gdb: >>> >>> gdb ~/bin/gtkpod >>> run >>> ... >>> >>>> >>>> Selected 5 directories, including one with sub-directories. >>>> >>>> Added a "Value towards threshold %d" in file_track_added_cb (file.c) >>>> Added a "Saving ...." in gp_save_itdb (file_itunesdb.c) >>>> >>>> My debugging is shown below. The final save is at the conclusion of >>>> the >>>> selected_dirs import. >>>> >>>> Thus, a little confused by your output. >>> >>> Me too - as now it saves after 10 tracks, despite beeing set at 20... >>> >>> Rainer >>> >> Bear in mind that my preference is set to 10 ;) > > Have you tried 20 then? > No. Can do tonight but not sure what difference it would make. We shall see. Cheers PGR -- Laws are partly formed for the sake of good men, in order to instruct them how they may live on friendly terms with one another, and partly for the sake of those who refuse to be instructed, whose spirit cannot be subdued, or softened, or hindered from plunging into evil. [The Laws, Plato] You fiend! Never have I encountered such corrupt and foul-minded perversity Have you ever considered a career in the church? Bishop of Bath and Wells (Blackadder II) A clear conscience? When did you acquire such luxuries, Bernard? (Sir Humphrey, Yes Prime Minister) ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d