[quote name='Yotsuya' post='481502' date='Mar 27 2007, 23:02']
The left/right clicks work as you described in your previous post however I would think it more intuitive just to be able to left click to check each box instead of the left click for both boxes and right click for sort box.
[/quote]
left/click right click saves a few clicks and is faster once you get the hang of it. I will eventually remove the "group by" check box as it is a bit misleading and have another way to indicate "group by" (maybe a dash or something above/below the sort index).
Also, the little numbers between the boxes appear to indicate the precedance of the grouping/sorting, is there a way to reorder these without clearing the boxes and starting over?
nope, just remember the old order and start over
As for the crashing, foobar continues to crash often when loading the main configuration dialog. I do not believe I am using any raw unicode characters in my configuration and have drawn flack in some other threads for my overuse of $char(). However, I do run my systems under the Japanese codepage 932 instead of the US codepage 437.
yeah, its something to do with codepages and unicode / utf8 conversion. it's crashing within scintialla, who's code I'm not familiar with so I'm not quite sure what's going on. I tried changing the codepage on my system to see if I could reproduce the crash but then vista refused to boot, which meant I had to reinstall does bringing up the scpl layout box ever cause a crash, or is it only the main panels ui settings dialog (the one with the formatting string).
EDIT: What is the proper procedure for modifying an existing preset? I can select an existing preset in "Sort/Group By" dialog and it will display the current settings, I can change those settings, but when I go to [Save] I am prompted for a new preset name. If I type in the old preset name it creates a second preset with that same name.
fixed.
[quote name='D3WEY' post='481508' date='Mar 27 2007, 23:41']
Probably my last try on this...might as well give it one more bump on the new page:
[quote name='D3WEY' post='480125' date='Mar 21 2007, 09:33']
Does anyone know why, ever since switching to Panels UI, my drag'n'dropped playlist items always move to the bottom of the playlist? In ColumnsUI, there was an option to have dropped items insert wherever you dropped them. That option, while still set the way it was, obviously doesn't function since i'm using Panels UI. Thanks for any help you can provide
[/quote]
[/quote]
you can't. scpl doesn't really support drag and drop positioning yet.
[quote name='Yotsuya' post='481516' date='Mar 28 2007, 00:29']
Has anyone figured out how to switch layouts in scpl?
I tried making some buttons like this:
$button2($sub(%_width%,42),$get(mainpanel.y),0,0,14,14,X,x,PVAR:SET:playlist.mode:0,)
$button2($sub(%_width%,28),$get(mainpanel.y),0,0,14,14,Y,y,PVAR:SET:playlist.mode:1,)
$button2($sub(%_width%,14),$get(mainpanel.y),0,0,14,14,Z,z,PVAR:SET:playlist.mode:2,)
And set my layout selector code to this:
$select($add($getpvar(playlist.mode),1),
$scplsetlayout(Album)
,
$scplsetlayout(Singles)
,
$scplsetlayout(Radio)
)
But it does not switch when I click the buttons. I can confirm the buttons are setting the pvars as they change with $getpvar(playlist.mode) in a Track Display panel. I tried manually changing the layout from the SCPL configuration dialog but could not figure out how.
I also tried using he $scplsetlayout() as the button command but that does not appear to work either. Also, when it comes to the different layouts the delete button does not appear to work and I cannot find a way to rename an existing layout.
All these new toys to play with
[/quote]
the layout selector code is only evaluated when the playlist changes / or a new sorting/grouping is applied. ideally you shouldn't have to manually select a layout, but the layout should be automatically chosen based on the sorting/grouping pattern. with the new sort/group main menu with the new version you should be able to create a preset and button as a workaround though.
[quote name='Squeller' post='481536' date='Mar 28 2007, 03:51']
Latest one does not work here. At first foobar says that the modeule is missing (the typical question wether I want to keep the configuration), then it complains that it cannot load the component. Missing dependency. W2K here.
[/quote]
fixed.
[quote name='Kiteroa' post='481543' date='Mar 28 2007, 04:32']
I may be wrong but from my playing with it:
It seems to me that the SCP layout selector code only runs after the SCP is redrawn either by using the "sort/group by" option or by sending/adding etc. to the playlist (changing playlist contents?).
The layout name in the SCPL configuration dialog chooses which layout you are editting.
The "sort/group by" option chooses which sort and grouping to use and then SCP layout selector code is run to determine SCP layout to apply (layout names are case sensitive!). The value of the variables at the time the SCP layout selector code is run determines which layout is used. Changes to the variables have no effect until the SCP is changed again by "sort/group by" or by changing the SCP contents.
To get layouts changing more dynamically the SCP layout selector code would have to be run more often (Per Track or Per Second?)
I'm not sure whether it is really is working as it seems to me; whether it is meant to work like this or whether it should be updating more often! I'm sure we'll find out in the next few days!
Im looking forward to playing with it some more, tomorrow.
[/quote]
all correct
[quote name='DiGiCharat' post='481566' date='Mar 28 2007, 07:05']
nope
i'm working in windows xp professional edition
maybe a user32.dll problem because everytime i crash i noticed that
Symbol: "GetWindowTextLengthW" (+00000547h)
Address: 01AAE580h, location: "foo_ui_panels", loaded at 019F0000h - 01ABA000h
Address: 019F0000h, location: "foo_ui_panels", loaded at 019F0000h - 01ABA000h
performed some search on internet and found it's related to user32.dll..
[/quote]
yeah, its scintilla. same problem as Yotsuya and a couple of other people.
[quote name='shakey_snake' post='481580' date='Mar 28 2007, 08:06']
I'm interested to know where this new sort info stuff is stored. (.pui? .cfg?)
As well as what this means to the SORT: and FILTER: button commands (if anything)
[/quote]
SORT: is kinda depricated. the settings are stored in the .cfg.
[quote name='TheBlackCat' post='481684' date='Mar 28 2007, 17:29']
I still haven't fully fixed the button transparency problem with my buttons.
[/quote]
post your button images and I will take a look.
[quote name='FofR' post='481852' date='Mar 29 2007, 14:26']
Like the new system, going to take a short while adapting my layout to it though.
Can you apply this sorting using a $button command?
[/quote]
not directly yet, but through the main menu in the new version.
[quote name='FofR' post='481856' date='Mar 29 2007, 14:51']
EDIT: Right click adds one box left click adds both? That was in no way intuitive. Is there a way to group by but not sort by?
[/quote]
have a empty sort by string.
Bug 2: Cannot seem to delete an empty SCPL, does it delete on fb2k close?
fixed with the new version.
Bug 3: For auto playlists when sorting cannot be changed the sort by dialogue should be greyed out or give a warning.
didn't think of that. will do for the next version.
Are the Sort/Group by settings stored in the PUI? Im going to assume yes.
no, in the main foobar .cfg.
In the group header box is it possible to do something like $if($grouped(album),this code, that code) I often only want to change the header, not the code.
yep ($isgrouped() and $sortidx() would be the functions).
On the setlayout code section for $isgrouped() it'd be nice to have some way of choosing between when grouped solely by album and grouped by album AND something else, so, something like $onlygroupedby(). As far as I can see you can have OR and AND commands so multiple groupings are fine, just not solitary ones. Another approach would be $and($isgrouped(album),$secondarygroup(none)). At the moment you'd have to NOT all the other "group by" options to achieve this result.
hmmm... maybe a $groupcount()...