Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_ui_panels (Read 1317622 times) previous topic - next topic
0 Members and 8 Guests are viewing this topic.

foo_ui_panels

Reply #725
Eliminate components you don't need, one at a time.


i tried to install a new clean foobar and just install the require components state in the config thread

but still no luck 

maybe my OS problem? 

foo_ui_panels

Reply #726
maybe my OS problem? 


Are you on Vista? Some components crash Foobar2000 on Vista. Remove each one, one at a time, until it stops crashing. Then you'll know which it is.

foo_ui_panels

Reply #727
DiGiCharat:
If you have windows vista you need to update Playlists dropdown.
The version you got crashes foobar on Vista.
But you have a lot of components I don't use, maybe you need to update more components.

foo_ui_panels

Reply #728
I've uploaded a new version. Back up your configuration before upgrading Your "group by" will not be carried through to the new version, as it uses a new sorting / grouping system.

foo_ui_panels

Reply #729
I've uploaded a new version. Back up your configuration before upgrading Your "group by" will not be carried through to the new version, as it uses a new sorting / grouping system.

Is there more changes or additions?

foo_ui_panels

Reply #730
Dude, you've just made things so confusing. Never-the-less, I'll be working my head around the new system...

foo_ui_panels

Reply #731
Could someone please explain how the new grouping/sorting system works? I want to know what awaits me before I update.

foo_ui_panels

Reply #732
Could someone please explain how the new grouping/sorting system works? I want to know what awaits me before I update.

Yes.
The new version doesn't use "group by" anymore
When you update the component you will see all the songs like it was one album, or one artist.
Using right click on the playlist you get a new option in the menu: "Sort / Group by". Here you can edit a new sort order or use the presets ones.

foo_ui_panels

Reply #733
Do CWB Hooks functions and variables not work in the 'Single Column Playlist layout selector'?

foo_ui_panels

Reply #734
The new grouping system didn't work at all. The "Sort by" menu opened a window containing a list that said Artist, Album and so on. Next to the list there were two empty columns (could be because of my theme?) that were titled "G" ans "S". While clicking beneath these letters the grouping and sorting changed. Sometimes it would even crash (sorry forgot to safe that error log, but it will be easy to reproduce). Anyway, it seems like you're not able to write any code into that window and because I use a script to enable !noheader! on search playlists, I'll stay with the old version. :/

foo_ui_panels

Reply #735
Ok, very weird.  I have no idea what's going on with that group/sort dialog.  Will we eventually be able to edit it such that we can use sorting and grouping strings as we had before?

I had sorting/grouping strings using $cwb_ltrim() to put artsts/albums that started with 'The ' in the correct place, etc.  Stuff like that?

foo_ui_panels

Reply #736
The new layout system is going to take some getting used to, and I assume there will be a way to switch profiles from a button command? However foobar is not saving changes I am making to the "Sort/Group Criteria" between restarts.

Is there a way to use !noheader! and will we eventually be able to access the "Sort/Group Criteria" dialog from the "Sort/Group By" dialog?


And the main configuration dialog still randomly crashes.

foo_ui_panels

Reply #737
you can define sorting / grouping criteria in the preferences window. once defined you can call up the sort/group dialog (right click, sort/group, edit) and choose your sorting and grouping.

for example, you could have a criteria called "Album", sorting by "%album%", and grouping by "%album%". left clicking on the check box under "S" on the "Album" column will sort by "%album", then group by "%album%", then run the scpl layout chooser to determine which layout to pick. If you right click, it will only sort by "%album%" but not group by "%album%".

it sounds complicated, but it really isn't. it also allows for more flexible grouping (eg sort/group by rating and automatically switch to an appropriate layout, etc).

foo_ui_panels

Reply #738
Ok, I'll have to go explore it a little more thoroughly, but I'm not seeing any checkboxes in the right-click Edit dialog under the "S" and "G" columns.  Perhaps it is the Windowblinds VS I use.  Anyone else with this problem besides saberrider?

foo_ui_panels

Reply #739
hi
i would like to know

1.how to show the previous and next song
2.and the previous and next artist or album
3.and finally I would like to know if we can show the tracklist of the album
(all of this in the track display)

what i can use for do this
thanks in advance

foo_ui_panels

Reply #740
Ok, I'll have to go explore it a little more thoroughly, but I'm not seeing any checkboxes in the right-click Edit dialog under the "S" and "G" columns.  Perhaps it is the Windowblinds VS I use.  Anyone else with this problem besides saberrider?


I'm running XP - native style - no checkboxes visible!

foo_ui_panels

Reply #741
I do not have any checkboxes under the Sort/Group By dialog either:


I am beginning to get the hang of the new grouping system and am trying to keep an open mind about it but it is losing all changes between restarts. I can even delete presets and they re-appear when I restart.

Edit: If I click on the area where the checkbox should be, the different sort criteria are applied. So the checkboxes are there we just cannot see them.

Edit: Would it be possible to launch the "Sort/Group Criteria" dialog from the above "Sort/Group By" dialog instead of in addition to backing out and navigating back through preferences? I generally like having as many settings as possible accessable from the main preferences but the existing system seems counter-intuitive.

foo_ui_panels

Reply #742
Is there more changes or additions?


there are probably a couple of other little things that I can't remember.


Dude, you've just made things so confusing. Never-the-less, I'll be working my head around the new system...


hehe, it's better- you'll just have to get used to it


Do CWB Hooks functions and variables not work in the 'Single Column Playlist layout selector'?


no, they won't.

The new grouping system didn't work at all. The "Sort by" menu opened a window containing a list that said Artist, Album and so on. Next to the list there were two empty columns (could be because of my theme?) that were titled "G" ans "S". While clicking beneath these letters the grouping and sorting changed. Sometimes it would even crash (sorry forgot to safe that error log, but it will be easy to reproduce). Anyway, it seems like you're not able to write any code into that window and because I use a script to enable !noheader! on search playlists, I'll stay with the old version. :/


it appears to be a problem with xp.. I'll have to try and narrow the problem when I get on an xp machine.

I had sorting/grouping strings using $cwb_ltrim() to put artsts/albums that started with 'The ' in the correct place, etc.  Stuff like that?


you should still be able to do all that.

The new layout system is going to take some getting used to, and I assume there will be a way to switch profiles from a button command? However foobar is not saving changes I am making to the "Sort/Group Criteria" between restarts.


yeah, its not saving chanes... will be fixed when I get the new version done.

Quote
And the main configuration dialog still randomly crashes.


it's scintilla... I may have to go back to a regular text box. are you using any non-ascii characters in the format string?

foo_ui_panels

Reply #743
Ok, I'll have to go explore it a little more thoroughly, but I'm not seeing any checkboxes in the right-click Edit dialog under the "S" and "G" columns.  Perhaps it is the Windowblinds VS I use.  Anyone else with this problem besides saberrider?


I have the same problem and I am not using windowblinds or anything of the sort.

foo_ui_panels

Reply #744
file>preference> panel ui> sort by> and click on modify
it's that?

Edit: It's good i found

foo_ui_panels

Reply #745
Trivial Bug
I don't know if I already mentioned this. There's a glitch with the Scintilla editing component of foo_ui_panels, where commented code loses its green colour when indented. No big deal I know, but it makes it easier to sift through code if the all the commented lines are green.

foo_ui_panels

Reply #746
ok, I've uploaded a fixed version. this also removes non-anscii characters from your formatting to see if it fixes the crashes in scintilla, so be careful if you're using unicode characters (switch to $char(x) before upgrading).

foo_ui_panels

Reply #747
Man, this is like trying to learn to write left-handed.  Ok, so what do these new things mean -

1.  $if(%single%,!single,%album%) - the %single% and !single variables
2.  !various
3.  album - from the 'Type' preset
4.  how exactly does $scplsetlayout() work?
5.  I'll assume $isgrouped() is self-explanatory?

 

foo_ui_panels

Reply #748
its just building a sort / grouping string. I'll do the "Artist / Date / Album" preset as an example:

1) Sort and group singles first (I tag my singles with %single%).
2) Sort by "Artist"
3) Sort by "Date"
4) Sort and group by "Album"
5) Sort by tracknumber

The end result is that all the songs in the playlist are orderd with singles first in their own group, then the albums, sorted first by artist, then by date.  Just think of it as one big "Sort by" string, which is the sum of Type + Artist + Date + Album + Track.

the !various and others are just little tweaks to sort various artists albums before the others.

Once everything is sorted and grouped, the layout is determined (eg if you are grouping by "Album" you would want a different layout than if you were grouping by "Artist"). The $scplsetlayout() tells scpl which layout to use. $isgrouped tests if you are grouping by that particular criteria, which is useful to determine which layout to use.

foo_ui_panels

Reply #749
Thanks - tick boxes OK under XP, now.

I can see that adding this extra layer will allow much more flexibility! It is tricky to get one's head around though.

Could/should all SCP layouts be available to all SCP panels (I have 2 SCPs in my config: one as a browser; one as a "Now Playing", it would be good to be able to use the same layouts in both)?

The selected "sort/group by" type seems to stick to the SCP until changed- if so, maybe it should be ticked (like the playlist name the SCP displays).

How can you tell what the first sort key field is? $isgrouped() seems to be true if the field (should that be criteria name?) is anywhere in the sorting/grouping sequence)

How about sorting the "sort/group by" entries so they are listed in the order selected (as well as/ instead of the numerical subscripts). Maybe with up/down buttons?  Might be easier to use?

Thanks again - this upgrade is a real challenge!


Also:

How about giving %_rowheight% and %_norows% as variables we can use in SCP (similar to %_width%  or %_height% in panels_UI)!