terrestrial
Oct 26 2006, 23:08
QUOTE(Yotsuya @ Oct 16 2006, 20:35)

I do still get an extra blank row at the bottom of my playlists but the overlay glitch is gone and the row is filled with the panel background color.
Would it be possible to append rows like this to the bottom of groups that contain less than a given number of entries? This way we could do the side album art with albums that only contain a few tracks?
do you get a blank row on all your playlists? it's a whole blank row right- not a partial one? As for adding in blank rows, I will try to add it in for the next version.
QUOTE(Coppertop @ Oct 17 2006, 10:24)

I got the follow crash 2 times in the last half hour. Since nothing has changed in my configuration except the new version, I suspect it is related (and also because of the 'foobar2000_get_interface' in the crash log). I use Windows Vista RC2.
doesn't look like it's related to scpl.. it's more likely that something else + vista don't get along.
QUOTE(ChaosBladE @ Oct 19 2006, 16:22)

Coppertop's description of our focus bug are correct. The plugin no longer obeys 'Playback Follow Cursor' nor 'Cursor Follows Playback' anymore.
I'll try the latest version now to see about the display glitch and playing on enter feature. Thanks again for the quick responses.
I'm still not able to reproduce this. please post a screeshot if possible. both "Playback follows cursor" and "Cursor follows playback" seems to be working for me...
QUOTE(rouge @ Oct 20 2006, 10:11)

Think it would be possible to add the F2 renaming feature of ColumnsUI to quickly change an ID3 tag field? This is the only feature of ColumnsUI that I miss.
no, not really feasible here, unfortunately.
QUOTE(Snowsfall @ Oct 20 2006, 21:29)

One quick request, the ability to resize images out of ratio(non square images could be made into squares etc)
I don't know if its possible or even smart(in regards to performance) but I thought I'd throw it out there.
edit: actually what I really need is the ability to align the resized object, something other than having it centered in the panel
will try to get it in for the next version.
QUOTE(ciaran @ Oct 21 2006, 02:46)

How to do $hsl in this plugin? Question has been asked in thread before but I dont see an answer. A conversion from hsl to rgb can be found here:
http://www.hydrogenaudio.org/forums/index....p;p=80111&#But how to get the weird X-Y-Z format out of this??
Thx
I'll try to add HSL support for the next version also.
QUOTE(mazy @ Oct 21 2006, 16:53)

terrestrial, could you please fix support for columns ui's globals? it works well in your track info panel mod, but still not here.
I will fix it, but I'm curious as to what you use the globals for? It doesn't help with performance any here (in fact, the opposite). Is it so that the same code isn't in two different places, or is there another use for globals that I'm missing?
QUOTE(q-stankovic @ Oct 25 2006, 08:22)

2.Create a playlist with one album -> select several tracks in SCP -> switch to ColumnsUI. The result is that you see the same tracks more than one time
not quite sure I get this one either... maybe a screenshot?
--------------
edit: and for the people who still have the display glitches with the rows... when you scroll, it always scrolls in whole-row increments right? The top row should always be whole...
also, for the people with the problems, what version of comctl32.dll do you have?
QUOTE(int @ Sep 27 2006, 11:40)

Since updating to 0.3.2, my titles/albums have started wrapping onto the next level down (if they're too wide to fit), covering up any information i've got there. Any way to stop this from happening?
sorry I do not know the answer to your question, but I wanted to ask:
What do you mean the next level down? the next line? or inside the same line? Cause what I'm trying to do is to force the wrapping of the text and I can't figure out how! If use $alignabs2(,,,,, top) it does wrap, but if I set Bottom, it doesn't, even though there is space...(24 pixel high lines)
Yotsuya
Oct 27 2006, 01:29
QUOTE(terrestrial @ Oct 27 2006, 01:08)

do you get a blank row on all your playlists? it's a whole blank row right- not a partial one? As for adding in blank rows, I will try to add it in for the next version.
...
edit: and for the people who still have the display glitches with the rows... when you scroll, it always scrolls in whole-row increments right? The top row should always be whole...
also, for the people with the problems, what version of comctl32.dll do you have?

The blank row at the bottom is not the same height as a row, instead it appears as though the entire list is scrolling too far and the "blank line" is the height of whatever would be visible if the playlist was 1 entry longer.
I experimented by changing my row height but this had no effect on the blank row.
If the foobar window is resized vertically while the blank row is displayed, the row expands to fill the space until the blank row is the same height as normal row. At which point the entire playlist jumps down one row and the blank row begins to expand from 0 again.
When I scroll the playlist it always scrolls in increments of 1 row height (is is possible to change this to 1 pixel row? I rather like the "smooth scroll" look to things). My COMCTL32.DLL identifies itself as v5.82.3790.2778 and should be the default version for Win2k3 SP1.
Coppertop
Oct 27 2006, 07:47
QUOTE(terrestrial @ Oct 27 2006, 07:08)

QUOTE(ChaosBladE @ Oct 19 2006, 16:22)

Coppertop's description of our focus bug are correct. The plugin no longer obeys 'Playback Follow Cursor' nor 'Cursor Follows Playback' anymore.
I'll try the latest version now to see about the display glitch and playing on enter feature. Thanks again for the quick responses.
I'm still not able to reproduce this. please post a screeshot if possible. both "Playback follows cursor" and "Cursor follows playback" seems to be working for me...
I did some more expirimenting and found out some more details. 'Playback follows cursor' works, maybe it already got fixed or I somehow confused it with 'Cursor follows playback'

I'm listening to Orbital's Octane soundtrack, the cursor is at the bottom row of the screen. When the track ends or I skip to the next track, the screen scrolls so that the next track is visible:

Different situation:

However, when listening to
the last track before a group display, and then skipping to the next song, the screen scrolls all the way back up to the top of my playlist:

The cursor is still in the right place, so trackinfo_mod and coverart panel show the right information, when I press the keyboard cursor down button, the screen scrolls back to the cursor.
Another observation:

When the next track after the group header is
visible, the scrolling does work OK.

To conclude: it looks like that when the next item that is to played is not in the current screen, the whole screen jumps back to the top of the playlist.
I really hope this helps and that my explanation is understandable
terrestrial
Oct 27 2006, 08:58
QUOTE(Yotsuya @ Oct 27 2006, 02:29)

The blank row at the bottom is not the same height as a row, instead it appears as though the entire list is scrolling too far and the "blank line" is the height of whatever would be visible if the playlist was 1 entry longer.
I experimented by changing my row height but this had no effect on the blank row.
If the foobar window is resized vertically while the blank row is displayed, the row expands to fill the space until the blank row is the same height as normal row. At which point the entire playlist jumps down one row and the blank row begins to expand from 0 again.
When I scroll the playlist it always scrolls in increments of 1 row height (is is possible to change this to 1 pixel row? I rather like the "smooth scroll" look to things). My COMCTL32.DLL identifies itself as v5.82.3790.2778 and should be the default version for Win2k3 SP1.
this is normal behavior, then. the last "blank" row should be filled with the background color, and should always be less than the row height. this space is what's left over after all the rows get displayed (since scrolling only goes in 1 row increments). I don't think its possible to change the incrementing behavior.
QUOTE(mobyduck @ Oct 27 2006, 04:07)

A darn good explanation, thanks for that.

And, FWIW, the current behaviour is perfectly acceptable to me: what I'd really like to see is $tab support.

Anyway, here (Win2000 SP4) COMCTL32.DLL is 5.81.4916.400.
HTH.
Alessandro
$tab would be kinda redundant... you can use one of the $align functions instead.
QUOTE(ChaosBladE @ Oct 27 2006, 07:25)

5.82.5744.16384 here (Vista RC2).
terrstrial, Whenever i switch to a new track with keyboard hotkeys or after searching for a track, It starts playing but the playlist does not focus on it anymore even if 'Cursor Follows Playback' is enabled. Also, My statusbar action is set to focus on the playing track upon doubleclick - That also no longer works, The playing track does not get focused.
I'm not able to reproduce any of that... maybe it's a vista thing. I'll see if I can test it out on vista later today. Anyone else with the same symptoms.. and what OS are you running?
QUOTE(Coppertop @ Oct 27 2006, 08:47)

To conclude: it looks like that when the next item that is to played is not in the current screen, the whole screen jumps back to the top of the playlist.
I really hope this helps and that my explanation is understandable

so the playlist jumps and the focused/selected item is not visible? its off screen to the top? it should center the item in the middle of the screen.
I can't display any images, I tried $imageabs(0,0,images\somerandomimage.png,) (I placed images\somerandomimage.png in the foobar-directory) but no image.
Nobody else seem to have this problem

. No error, no crash or something like that, just nothing...
I have no idea what to do. No copy-n-past code posted previously in this thread works either, so I don't think its a problem with my code. Do I need to get some other plugin for the imageabs function or something like that?
The whole code:
CODE
$font(calibri,10,bold,)
$alignabs(10,9,200,50,,)
%artist%
$imageabs(0,0,images\somerandomimage.png,)
2Pacalypse
Oct 30 2006, 10:02
item:
$imageabs(2,$if($strcmp(%tracknumber%,01),0,$add(17,$mul(-17,%tracknumber%))),images\album_overlay.png,)
$imageabs(3,$if($strcmp(%tracknumber%,01),1,$add(18,$mul(-17,%tracknumber%))),$replace($replace(images\albums\
$directory(%path%,2)\$directory(%path%,1)\mini.png,',',),?,),)
$font(calibri,10,bold,)
$if($strcmp(%tracknumber%,01),$alignabs(113,1,170,55,,)
$if(%artist%,%artist%,$font(Calibri,10,italic bold,)Artist unknown))
$if($strcmp(%tracknumber%,02),$alignabs(113,1,170,55,,)
$if(%album%,%album%,$font(Calibri,10,italic bold,)Album unknown))
$if($strcmp(%tracknumber%,03),$alignabs(113,1,170,55,,)
$if(%genre%,%genre%,$font(Calibri,10,italic bold,)Genre unknown))
$if($strcmp(%tracknumber%,04),$alignabs(113,1,170,55,,)
$if(%date%,%date%,$font(Calibri,10,italic bold,)Date unknown))
$if(%_selected%,$drawrect(277,1,550,16,brushcolor-216-216-216 pencolor-210-210-210))
/// Now Playing
/////////////////////////////////
$if(%isplaying%,
$font(calibri,10,,0-160-0)
$alignabs(284,1,30,12,,)
$ifgreater(%tracknumber%,9,%tracknumber%,$right(%tracknumber%,1))
$alignabs(317,1,250,20,,)%title%
$alignabs(467,1,120,20,right,)%length%
$font(calibri,10,,114-116-120)
$alignabs(691,1,220,20,left,)%artist%
//// Rating
/////////////////////////
$puts(rating,%play_counter%)
$if($greater($get(rating),4),$puts(rating,5))
$if($equal($get(rating),0),$puts(rating,0))
$if($stricmp(%play_counter%,?),$puts(rating,0))
$imageabs(604,0,images\$get(rating)s1.png,)
,
/// Inactive tracks
/////////////////////////
$font(calibri,10,,0-0-0)
$alignabs(284,1,30,12,,)
$ifgreater(%tracknumber%,9,%tracknumber%,$right(%tracknumber%,1))
$alignabs(317,1,245,20,,)%title%
$alignabs(467,1,120,20,right,)%length%
$font(calibri,10,,114-116-120)
$alignabs(691,1,220,20,left,)%artist%
//// Rating
/////////////////////////
$puts(rating,%play_counter%)
$if($greater($get(rating),4),$puts(rating,5))
$if($equal($get(rating),0),$puts(rating,0))
$if($stricmp(%play_counter%,?),$puts(rating,0))
$imageabs(604,0,images\$get(rating)s1.png,)
)
Didnt write most of this so if some1 could tell me which bit is causing the track number to cut off
kockroach
Oct 30 2006, 10:11
QUOTE(2Pacalypse @ Oct 30 2006, 11:02)

Didnt write most of this so if some1 could tell me which bit is causing the track number to cut off
I posted earlier that you might need to align your text to the top of the item row. The new Vista fonts have some numbers that are aligned differently, such as the numbers 9 and 6.
In your code, where you see $alignabs, the last two positions in the code deal with horizontal and vertical alignment. If you put "top" in the last position, I believe it will work.
For example:
Instead of
$alignabs(113,1,170,55,,)
Use
$alignabs(113,1,170,55,,top)
I noticed that the SDK distinguishes between an active playlist and a playing playlist. It seems that with single_column_playlist, the playing playlist is always the active playlist even though you may be viewing a different playlist. Is there a reason for this? I'm asking because I have, perhaps an unconventional layout where I have a dedicated "Now Playing" playlist and a dedicated "Browser" playlist. With this layout it is not really possible to use the foo_uie_quicksearch plugin because it always searches the current active playlist, which in my case, when viewing the "Browser", is the "Now Playing" playlist not the "Browser" playlist.
Perhaps I'm not understanding the foobar2000 concept of "active" and "playing" playlists.
Thanks.
[EDIT]
QUOTE
it is multiple instance (and with selectable playlists...)
That explains the way it acts this way, for instance you could have more then one panel in your layout viewing different playlists, which one is "active" in this scenario? I only have one panel showing, and I use the single_columns_playlist context menu playlist selection to switch playlists, so this didn't occur to me.
Still, I wonder if there is some solution to using foo_uie_quicksearch, for my particular layout?
terrestrial
Oct 31 2006, 02:04
QUOTE(jonpb @ Oct 30 2006, 22:08)

I noticed that the SDK distinguishes between an active playlist and a playing playlist. It seems that with single_column_playlist, the playing playlist is always the active playlist even though you may be viewing a different playlist. Is there a reason for this? I'm asking because I have, perhaps an unconventional layout where I have a dedicated "Now Playing" playlist and a dedicated "Browser" playlist. With this layout it is not really possible to use the foo_uie_quicksearch plugin because it always searches the current active playlist, which in my case, when viewing the "Browser", is the "Now Playing" playlist not the "Browser" playlist.
Perhaps I'm not understanding the foobar2000 concept of "active" and "playing" playlists.
Thanks.
no, active and playing playlists are different. in any case I've switched things around for the new version to make things work better.
QUOTE(Nickoladze @ Oct 30 2006, 23:13)

$ifgreater(3, %_itemcount%,!noheader!,)
That should work, but the !noheader! command isn't working for me for some reason... Did it get removed?
you can't use %_itemcount% in the group by box... there are no groups when the group by string is evaluated, hence no %_itemcount%. it's the chicken and the egg problem.
--------
I've uploaded a new version. hopefully I didn't break anything.. If anyone still has graphical glitches, let me know.