Re: auto saving threshold

phantomjinx <[email protected]>
Newsgroups gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
On 17/03/11 08:48, Rainer M Krug wrote:
> 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.
>    

Well, now I am really confused!!

Ran up gtkpod.
Changed the preference to 20.
Added 4 folders of tracks.
Results below.

Did you install the binary or compile from the tarball? If the latter do 
you make clean before making all?

PGR



** (lt-gtkpod:14307): WARNING **: Saving....
** (lt-gtkpod:14307): WARNING **: Value towards threshold 2
** (lt-gtkpod:14307): WARNING **: Value towards threshold 3
** (lt-gtkpod:14307): WARNING **: Value towards threshold 4
** (lt-gtkpod:14307): WARNING **: Value towards threshold 5
** (lt-gtkpod:14307): WARNING **: Value towards threshold 6
** (lt-gtkpod:14307): WARNING **: Value towards threshold 7
** (lt-gtkpod:14307): WARNING **: Value towards threshold 8
** (lt-gtkpod:14307): WARNING **: Value towards threshold 9
** (lt-gtkpod:14307): WARNING **: Value towards threshold 10
** (lt-gtkpod:14307): WARNING **: Value towards threshold 11
** (lt-gtkpod:14307): WARNING **: Value towards threshold 12
** (lt-gtkpod:14307): WARNING **: Value towards threshold 13
** (lt-gtkpod:14307): WARNING **: Value towards threshold 14
** (lt-gtkpod:14307): WARNING **: Value towards threshold 15
** (lt-gtkpod:14307): WARNING **: Value towards threshold 16
** (lt-gtkpod:14307): WARNING **: Value towards threshold 17
** (lt-gtkpod:14307): WARNING **: Value towards threshold 18
** (lt-gtkpod:14307): WARNING **: Value towards threshold 19
** (lt-gtkpod:14307): WARNING **: Value towards threshold 20
** (lt-gtkpod:14307): WARNING **: Saving....
** (lt-gtkpod:14307): WARNING **: Value towards threshold 1
** (lt-gtkpod:14307): WARNING **: Value towards threshold 2
** (lt-gtkpod:14307): WARNING **: Value towards threshold 3
** (lt-gtkpod:14307): WARNING **: Value towards threshold 4
** (lt-gtkpod:14307): WARNING **: Value towards threshold 5
** (lt-gtkpod:14307): WARNING **: Value towards threshold 6
** (lt-gtkpod:14307): WARNING **: Value towards threshold 7
** (lt-gtkpod:14307): WARNING **: Value towards threshold 8
** (lt-gtkpod:14307): WARNING **: Value towards threshold 9
** (lt-gtkpod:14307): WARNING **: Value towards threshold 10
** (lt-gtkpod:14307): WARNING **: Value towards threshold 11
** (lt-gtkpod:14307): WARNING **: Value towards threshold 12
** (lt-gtkpod:14307): WARNING **: Value towards threshold 13
** (lt-gtkpod:14307): WARNING **: Value towards threshold 14
** (lt-gtkpod:14307): WARNING **: Value towards threshold 15
** (lt-gtkpod:14307): WARNING **: Value towards threshold 16
** (lt-gtkpod:14307): WARNING **: Value towards threshold 17
** (lt-gtkpod:14307): WARNING **: Value towards threshold 18
** (lt-gtkpod:14307): WARNING **: Value towards threshold 19
** (lt-gtkpod:14307): WARNING **: Value towards threshold 20
** (lt-gtkpod:14307): WARNING **: Saving....
** (lt-gtkpod:14307): WARNING **: Value towards threshold 1
** (lt-gtkpod:14307): WARNING **: Value towards threshold 2
** (lt-gtkpod:14307): WARNING **: Value towards threshold 3
** (lt-gtkpod:14307): WARNING **: Value towards threshold 4
** (lt-gtkpod:14307): WARNING **: Value towards threshold 5
** (lt-gtkpod:14307): WARNING **: Value towards threshold 6
** (lt-gtkpod:14307): WARNING **: Value towards threshold 7
** (lt-gtkpod:14307): WARNING **: Value towards threshold 8
** (lt-gtkpod:14307): WARNING **: Value towards threshold 9
** (lt-gtkpod:14307): WARNING **: Value towards threshold 10
** (lt-gtkpod:14307): WARNING **: Value towards threshold 11
** (lt-gtkpod:14307): WARNING **: Value towards threshold 12
** (lt-gtkpod:14307): WARNING **: Value towards threshold 13
** (lt-gtkpod:14307): WARNING **: Value towards threshold 14
** (lt-gtkpod:14307): WARNING **: Value towards threshold 15
** (lt-gtkpod:14307): WARNING **: Value towards threshold 16
** (lt-gtkpod:14307): WARNING **: Value towards threshold 17
** (lt-gtkpod:14307): WARNING **: Value towards threshold 18
** (lt-gtkpod:14307): WARNING **: Value towards threshold 19
** (lt-gtkpod:14307): WARNING **: Value towards threshold 20
** (lt-gtkpod:14307): WARNING **: Saving....
** (lt-gtkpod:14307): WARNING **: Saving....

------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.