Unoffical empeg BBS

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

Page 2 of 2 < 1 2
Topic Options
#112015 - 20/08/2002 11:46 Re: The Prerelease Before the Prerelease [Re: mschrag]
Neutrino
addict

Registered: 23/01/2002
Posts: 506
Loc: The Great Pacific NorthWest
This is in jEmplode. I created a list named "Test" with the tag criteria, Artist and Source. The playlist was generated fine. I then deleted the playlist "test". It is removed from the list of playlists and everything looks fine. If I resync now or if I exit jEmplode and return the playlist "test" is back in it entirety. This is only in jEmplode as I never resynced when this playlist was visible.
_________________________
No matter where you might be, there you are.

Top
#112016 - 20/08/2002 11:49 Re: Searches in the Pre-Prerelease [Re: tms13]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I need to look more at your query ... I think the fact one of the "and" statement collapsed to an empty set means that it should have returned an empty set.

That having been said, you are also correct that refs is constantly changing and by being included in a playlist, it is possible you can setup a scenario where it actually then needs to be excluded from the playlist (and thus included again...). The saving grace here is that refs are real tags, and thus don't fire tagModified events when they are changed ... The more I think about this the more I think that soup membership needs to be idempotent .... I'll work on this. At the very least, jEmplode soups should be -- they should _appear_ to work exactly like they used to.

Top
#112017 - 20/08/2002 11:51 Re: The Prerelease Before the Prerelease [Re: Neutrino]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
So to make sure -- "Test" is hanging off of the Empeg node of the tree, not off of the Playlist node of the tree? Is it the only soup you have? If you make another soup and delete the first, does it go away, or can you not delete any of them?

Top
#112018 - 20/08/2002 12:09 Re: The Prerelease Before the Prerelease [Re: Neutrino]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
can you check your .jempegrc and tell me what the value of your jempeg.soup.count is? I wonder if you have the old soups in there and there's some problem ... I shouldn't have reused that variable...

Top
#112019 - 20/08/2002 12:27 List Pane issues [Re: mschrag]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
Numeric fields like Position aren't right-justified any more (cosmetic)

"Set Playlist Order" doesn't put the tracks into exactly the order that's displayed. It seems to give a list that is in the correct order according to the current sort column, but shuffles items with equal sort key. This is annoying if I sort by several tags in turn to give a multi-level sort.
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#112020 - 20/08/2002 12:39 Re: List Pane issues [Re: tms13]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Interesting .. I'll take a look at that one ... I can't remember what sort algorithm that uses.

Top
#112021 - 20/08/2002 13:53 Re: The Prerelease Before the Prerelease [Re: mschrag]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
First problem I had -- I accidently added a soup list with no name, so only an icon shows up. I added it as a jempeg soup only, and it was simply a tag soup, by Artist.

Now I cannot delete that soup. It says it is deleting it when I right click and choose delete, but after a sync it reappears.

Cheers,
rjf&

Top
#112022 - 20/08/2002 15:14 Re: The Prerelease Before the Prerelease [Re: rjf]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
I'll fix the no-name thing ... Can you tell me how many jEmplode-only soups you have and then look in .jempegrc in your home directory and tell me what the value of jempeg.soup.count is?

Top
#112023 - 20/08/2002 15:18 Re: The Prerelease Before the Prerelease [Re: mschrag]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon

Sure. When I looked in there, the count was set to three. There were 4 soup's in the rc file, numbered 0 through 4.

However, in the UI, only the unnamed soup list showed up.

I deleted all the soups in my rc file, and restarted and all was fine.

rjf&

Top
#112024 - 20/08/2002 16:40 Re: Colours in the Pre-Prerelease [Re: tms13]
mschrag
pooh-bah

Registered: 09/09/2000
Posts: 2303
Loc: Richmond, VA
Not sure how to deal with this in a generic way ... On Windows, the default selector is very dark, so dark foregrounds make it hard to read there ... Anyone know of an easy way given an RGB value to determine if I should use a dark or a light foreground color?

Top
#112025 - 20/08/2002 19:03 Re: Colours in the Pre-Prerelease [Re: mschrag]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Yes, convert the RGB to HSL (Hue, Saturation, and Luminance) and then look at the L value -- if it's above a certain threshold (i.e. bright), use a dark color, else use a light one.

I don't have the conversion handy, but a quick google search will find you what you need.

rjf&

Top
#112026 - 21/08/2002 02:53 Re: Colours in the Pre-Prerelease [Re: rjf]
tms13
old hand

Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
The standard calculation of luminance is something like Y = (0.299*r + 0.587*g + 0.114*b). At least, that's what I've used in my own code in the past. You can do the calculation in integer arithmetic as Y = ((299*r + 587*g + 114*b) / 1000).

Perhaps for the selected node, we could simply invert foreground and background if it's a coloured or modified node? And use the normal highlight foreground and background (textHighlightText and textHighlight) otherwise?
_________________________
Toby Speight
030103016 (80GB Mk2a, blue)
030102806 (0GB Mk2a, blue)

Top
#112027 - 21/08/2002 09:02 Re: Colours in the Pre-Prerelease [Re: tms13]
rjf
journeyman

Registered: 30/11/2001
Posts: 84
Loc: Oregon
Yeah, that looks familiar. Here is a link I dug up with a couple of alternative methods:

http://www.xbeat.net/vbspeed/c_RGBToHSL.htm

rjf&

Top
Page 2 of 2 < 1 2