Re: StreamTimer
On 21 Sep, Isaac Richards wrote: On 22-Sep-2000 Chris Kuklewicz wrote: Once the stream part of the music browser is opened, it downloads and parses the xml file every 30 seconds. Doesn't it just need to hit it once? Naw.. Plan is for it the server .xml to be automatically updated quite often. Stream stats -- current users, bitrate, that sorta stuff. Just as with the CD stuff -- updating by default is kinda funky -- especially at that frequency. Perhaps we could dial it down to updating every 5 minutes with a menu item that says: update now! ?? Also, everytime it reloads, the tree is collapsed, which the user is not expecting. This is the part that bothers me. Its kinda annoying. I realize from the nature of tree controls that this is a hard thing to do. So, instead of making the tree do things its not supposed to do, lets just dial down the interval, and the user shouldn't get caught in it too often. --ruaok Freezerburn! All else is only icing. -- Soul Coughing Robert Kaye -- [EMAIL PROTECTED] http://moon.eorbit.net/~robert ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
SEGFAULT in StreamTimer
As a hunter stalks his prey, drawing ever nearer, I have managed to located a segfault. The StreamTimer is called every 30 seconds, and after several times being called it creates a segfault. 1) Start freeamp 2) Stop the first song which has started playing 3) Open MyMusic browser 4) Wait for a long timetop shows no memory leak and it does not segfault 5) Click to open the top of the streams tree, which starts the timer 6) Watch a slow memory leak in top. roughly 4 to 40 bytes per minute. 7) Freeamp segfaults In the last 3 runs, StreamTimer was called 6, 5, then 3 time before dying. The offending code is in Error FreeAmpStreams::PCData(string data) where it does not check m_info, which is NULL the "last" it is called, causing the segfault. I have not solved the problem yet, but I am looking at it. suggestionPlease "assert" all the pointers you expect to be valid in any function before using them./suggestion ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
StreamTimer
Once the stream part of the music browser is opened, it downloads and parses the xml file every 30 seconds. Doesn't it just need to hit it once? Also, everytime it reloads, the tree is collapsed, which the user is not expecting. ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
RE: StreamTimer
On 22-Sep-2000 Chris Kuklewicz wrote: Once the stream part of the music browser is opened, it downloads and parses the xml file every 30 seconds. Doesn't it just need to hit it once? Naw.. Plan is for it the server .xml to be automatically updated quite often. Stream stats -- current users, bitrate, that sorta stuff. Also, everytime it reloads, the tree is collapsed, which the user is not expecting. ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev