Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#103866 - 09/07/2002 01:45 Setting Flags on a thousand files
dda
stranger

Registered: 04/02/2002
Posts: 57
Loc: Belgium
Emplode is not responding anymore when trying to apply a Wendy Flag on a thousand files at a time. Applying fiels on smaller batches (50 at a time) wokrs fine but this doesn't save my time ;-)
Changing Details Informations (like PIN or Year), even on a few thousand files at a time is not a problem.
Is this a known bug ?
DDA

Top
#103867 - 09/07/2002 09:20 Re: Setting Flags on a thousand files [Re: dda]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
There is a reported bug (now marked as "fixed" on the internal bug list) where applying Wendy flags via a "Soup" view fails, while doing it via a playlist view works.

I assume that since you're trying to do it on so many files at once, that you're doing it in a Soup view. Is that correct?

It might be interesting to temporarily copy those thousand files to a new playlist, add your Wendys, and synch. Then remove the playlist without deleting the tunes. Does that work?
_________________________
Tony Fabris

Top
#103868 - 10/07/2002 01:04 Re: Setting Flags on a thousand files [Re: tfabris]
dda
stranger

Registered: 04/02/2002
Posts: 57
Loc: Belgium
My thousand files were the result of a Search on all the songs with year between 1970 and 1979. And I've tryied to apply the flag directly in the result window.
I will try to create a temp playlist with those files and apply the flag on the files in the playlist to see if it is a good workaround.
I'll let you know the results

DDA

Top
#103869 - 10/07/2002 09:18 Re: Setting Flags on a thousand files [Re: dda]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Yeah, I'm guessing that the Search Result window is (from the code's point of view) pretty much the same as one of the Soup views. I'll bet it's the same bug.
_________________________
Tony Fabris

Top
#103870 - 10/07/2002 10:10 Re: Setting Flags on a thousand files [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Wrong guess. The search result view is actually closer to the playlist view.
_________________________
-- roger

Top
#103871 - 10/07/2002 10:18 Re: Setting Flags on a thousand files [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
Does that mean you know the cause of the bug? And can fix it?
_________________________
Tony Fabris

Top
#103872 - 11/07/2002 03:38 Re: Setting Flags on a thousand files [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Nope, haven't even tried to reproduce it. It's just that the search results are a playlist (FID 0x90, IIRC). They never get persisted to the player as such, though.

I might get time to try it later this week. One question to the OP: do they fail to apply in emplode, or do they fail to apply on the player?
_________________________
-- roger

Top
#103873 - 11/07/2002 07:34 Re: Setting Flags on a thousand files [Re: Roger]
dda
stranger

Registered: 04/02/2002
Posts: 57
Loc: Belgium
Emplode is not responding anymore as soon as you press on the OK or Apply button of the Wendy Flag Tab.
I don't even see the switch to a "sand glass" icon. The arrow icon stays as it is.
I have to kill Emplode and none of the files that were selected have a flag set (even after letting Emplode run something like 45 minutes of CPU time)
Emplode Beta 11 on Windows 2000 and also on Windows 98.

DDA

Top
#103874 - 11/07/2002 08:31 Re: Setting Flags on a thousand files [Re: dda]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Confirmed. Definitely takes too long.

Some numerical analysis with varying amounts of data suggests that it's O(n^2).

Right, I've slapped it about a bit, and two lines of code dropped the time for 115 items from 8643ms to 90ms.

However, 4179 items still takes 115095 ms. I'll take a look at that later.

In the meantime, at least you'll get an hourglass.

_________________________
-- roger

Top
#103875 - 11/07/2002 10:33 Re: Setting Flags on a thousand files [Re: Roger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31578
Loc: Seattle, WA
You da man, Roger.
_________________________
Tony Fabris

Top
#103876 - 14/07/2002 20:59 Re: Setting Flags on a thousand files [Re: tfabris]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
roger that roger!
_________________________
---- Justin Larsen

Top