Re: auto saving threshold
Rainer M Krug <[email protected]>
| Newsgroups | gmane.comp.ipod.gtkpod |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 17, 2011 at 9:35 AM, Rainer M Krug <[email protected]> wrote: > On Thu, Mar 17, 2011 at 9:30 AM, P.G. Richardson > <[email protected]> wrote: >> >>> 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. > > Yes - because despite having set it to 20, I get 10. Just deleted my .gtkpod folder and restarted gtkpod, set it to 20 and still get 10 - there might be a hardcoded 10 in there or the preference setting does not change the value read by gtkpod. Rainer > > Cheers, > > Rainer > >> >> 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 >> _______________________________________________ >> Gtkpod-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/gtkpod-devel >> > > > > -- > NEW GERMAN FAX NUMBER!!! > > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation > Biology, UCT), Dipl. Phys. (Germany) > > Centre of Excellence for Invasion Biology > Natural Sciences Building > Office Suite 2039 > Stellenbosch University > Main Campus, Merriman Avenue > Stellenbosch > South Africa > > Cell: +27 - (0)83 9479 042 > Fax: +27 - (0)86 516 2782 > Fax: +49 - (0)321 2125 2244 > email: [email protected] > > Skype: RMkrug > Google: [email protected] > -- NEW GERMAN FAX NUMBER!!! Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Cell: +27 - (0)83 9479 042 Fax: +27 - (0)86 516 2782 Fax: +49 - (0)321 2125 2244 email: [email protected] Skype: RMkrug Google: [email protected] ------------------------------------------------------------------------------ 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