Help - Search - Members - Calendar
Full Version: foo_ui_panels
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57
wraithdu
QUOTE(terrestrial @ Mar 27 2007, 23:31) *

its just building a sort / grouping string. I'll do the "Artist / Date ......

Ok, I got that I think.

Two more then -

1. What exactly does the 'Group by sort' checkbox do? And if it does what I think, does it take the Primary or Secondary sort?
2. When is the 'Secondary Sort' applied? Only if it's the last sort by criteria in the order?

And I'll agree, this is a challenge to wrap your head around. I can see that it will be very flexible, especially being able to choose differenct layouts. This would eliminate some logic code in SCPL and simplify things for different layouts (singles, albums, etc), especially if you can assign specific sorting presets to different playlists and SCPL panels.

EDIT:
Bug (maybe) - I cannot delete a layout under right-click -> settings (button does nothing). I can create a layout however, without a problem.
Request - ability to rename a layout (I suppose this isn't necessary once we can delete layouts, ie create new and delete the old)
Yotsuya
IPB Image
The new version is a noticeable improvement. Configurations are now saved across restarts. After a little tweaking of the sort strings I got my old sorting style back. The check boxes now appear in the Sort/Group By dialog (as pictured above) however I think there is room for improvement with the interface. The headers are gone so the user has to guess what the checkboxes mean. 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. 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?

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.

Is !noheader! still functional? I tried using it in the group by page for each of the criteria I am grouping by but it does not appear to have an effect.

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.
TheBlackCat
Wow. I will have to play with it a bit, but it looks really powerful. Nice work!
jclim00
Is there any way to group by disc number as well? Some of my albums have different cover art for different discs and I like having group headers for each.
D3WEY
Probably my last try on this...might as well give it one more bump on the new page:

QUOTE(D3WEY @ 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 sad.gif
Yotsuya
jclim00:
File> Preferences> Display> Panels UI> Sort/Group

- Click [New]
- Enter a name in the Name: box, i.e. "Disc Number"
- Group by sort and [Primary Sort] should already be selected
- Enter this into the text box (I am using track numer to determine album vs. single):
CODE
$if(%tracknumber%,%discnumber%,!single)

- Click [OK], [Save All], [Close]

- Right-Click your playlist
- Select "Sort/Group By>" then "Edit" from the pop-up menu
- Left-Click on the criteria you named earlier, i.e. "Disc Number", to sort and group by that criteria
- [OK] and you should be done.

NOTE: You may want to uncheck all the boxes in the Sort/Group By dialog and recheck each field in the order you want the playlist sorted. You'll probably want Disc Number to be sorted right after Album.
jclim00
Gah. I completely missed the subgroup under panels_ui. Thanks brah

edit: liking this much more now that I know you can customize the fields biggrin.gif
Yotsuya
Has anyone figured out how to switch layouts in scpl?
I tried making some buttons like this:
CODE
$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:
CODE
$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 :)
jclim00
$rand() makes for a very nice way to randomize your playlist using the sort system biggrin.gif
pIv
I upgrade panels from 0.8.1 to 0.9.

With version 0.8 I use single column playlist in dockable panel and it is ok.

Now I have have permanent crash when start foobar2000. Thus I delete SCP from dockable panel then create new one and in it define SCP again.

This is result of my experience:
CODE

Illegal operation:
Code: C0000005h, flags: 00000000h, address: 0012F5F0h
Access violation, operation: read, address: FFFFFFFFh
Call path:
entry=>app_mainloop
This is the first crash logged by this instance.
Code bytes (0012F5F0h):
0012F5B0h: E0 32 05 01 14 E0 06 01 1C 00 00 00 DC F5 12 00
0012F5C0h: 14 02 00 00 E3 EA 90 7C D0 F5 12 00 30 00 00 00
0012F5D0h: 58 9E 7A 00 46 00 00 00 00 00 00 00 44 0B 45 00
0012F5E0h: 00 00 00 00 00 00 00 00 00 00 00 00 14 02 00 00
0012F5F0h: CF 00 00 00 44 02 00 00 E0 32 05 01 73 B4 D3 77
0012F600h: 27 C0 D3 77 CE 27 05 01 44 0B 45 00 00 00 00 00
0012F610h: 00 00 00 00 00 00 00 00 14 02 00 00 CF 00 00 00
0012F620h: 44 02 00 00 D5 4B EB EA F4 F6 12 00 6B 0B EB 01
Stack (0012F4B9h):
0012F499h: 00E34E60 7F000000 0103A30C 74000000
0012F4A9h: 3BA9BC3C 14000000 58010A59 44007A9E
0012F4B9h: 4600450B 00000000 DC000000 E00012F5
0012F4C9h: CD010532 00DCBAAB DC000000 E00012F5
0012F4D9h: 44010532 5B0012F5 E077D3D0 44010532
0012F4E9h: 4600450B 00000000 DC000000 000012F5
0012F4F9h: 44000000 0000450B 14000000 01000000
0012F509h: 00000000 00000000 10000000 01000000
0012F519h: 00000000 01000000 00000000 00000000
0012F529h: F8000000 DC0012F4 880012F0 670012F5
0012F539h: 3077D604 0077D388 30000000 C04712F5
0012F549h: 0077D3B4 E0000000 44010532 4600450B
0012F559h: 00000000 DC000000 6C0012F5 01007A9E
0012F569h: 14000000 F0010A59 00010A58 D4000000
0012F579h: 000040A6 6C000000 DC0012F5 B40012F0
0012F589h: 670012F6 D077D604 FF77D3B4 C0FFFFFF
0012F599h: 9E0012F5 5877D3CF 46007A9E 00000000
0012F5A9h: DC000000 E00012F5 14010532 1C0106E0
0012F5B9h: DC000000 140012F5 E3000002 D07C90EA
0012F5C9h: 300012F5 58000000 46007A9E 00000000
Registers:
EAX: 0012F547, EBX: 00000000, ECX: 77D3B3A7, EDX: 7C90EB94
ESI: 00000046, EDI: 00450B44, EBP: 0012F4DC, ESP: 0012F4B9
Unable to identify crash location

Loaded modules:
foobar2000 loaded at 00400000h - 004F3000h
ntdll loaded at 7C900000h - 7C9B1000h
kernel32 loaded at 7C800000h - 7C8F6000h
COMCTL32 loaded at 773C0000h - 774C3000h
msvcrt loaded at 77C00000h - 77C58000h
ADVAPI32 loaded at 77DC0000h - 77E6C000h
RPCRT4 loaded at 77E70000h - 77F01000h
GDI32 loaded at 77F10000h - 77F57000h
USER32 loaded at 77D30000h - 77DC0000h
SHLWAPI loaded at 77F60000h - 77FD6000h
SHELL32 loaded at 7C9C0000h - 7D1D9000h
ole32 loaded at 774D0000h - 7760D000h
shared loaded at 10000000h - 10029000h
comdlg32 loaded at 76380000h - 763C9000h
IMM32 loaded at 76360000h - 7637D000h
LPK loaded at 62F00000h - 62F09000h
USP10 loaded at 75540000h - 755AB000h
uxtheme loaded at 5B260000h - 5B298000h
MSCTF loaded at 746E0000h - 7472B000h
UnlockerHook loaded at 003F0000h - 003F4000h
msctfime loaded at 75310000h - 7533E000h
foo_albumlist loaded at 00A90000h - 00AD7000h
OLEAUT32 loaded at 77110000h - 7719C000h
foo_autoplaylist loaded at 00B00000h - 00B30000h
foo_bitcompare loaded at 00B50000h - 00B77000h
foo_cdda loaded at 00BA0000h - 00BD6000h
foo_channel_mixer loaded at 00C00000h - 00C3B000h
foo_common loaded at 00C50000h - 00C83000h
foo_converter loaded at 00CB0000h - 00D19000h
foo_convolve loaded at 00D40000h - 00D91000h
foo_cuesheet_creator loaded at 00DC0000h - 00DEC000h
foo_cwb_hooks loaded at 00E10000h - 00E45000h
foo_dbsearch loaded at 00E70000h - 00EE0000h
foo_default_videoplayer loaded at 00F00000h - 00F0D000h
MSVCR80 loaded at 78130000h - 781CB000h
foo_discogs loaded at 00F30000h - 00FA2000h
gdiplus loaded at 4EBE0000h - 4ED83000h
WS2_32 loaded at 71A90000h - 71AA7000h
WS2HELP loaded at 71A80000h - 71A88000h
WINMM loaded at 76B20000h - 76B4E000h
foo_dockable_panels loaded at 01050000h - 01083000h
foo_dsp_crossfader loaded at 010B0000h - 010BF000h
foo_dsp_std loaded at 010D0000h - 01111000h
foo_explorer loaded at 01140000h - 01158000h
foo_freedb2 loaded at 01180000h - 011C0000h
foo_freedb2_fix loaded at 011E0000h - 011F5000h
foo_fullscreen loaded at 01220000h - 0123B000h
foo_guidlookup loaded at 01260000h - 01278000h
foo_history loaded at 012A0000h - 012BC000h
foo_infobox loaded at 012E0000h - 01320000h
foo_input_awma loaded at 01340000h - 01359000h
WMVCore loaded at 01370000h - 0158C000h
wmidx loaded at 4B380000h - 4B3A9000h
WMASF loaded at 59C10000h - 59C4C000h
msdmo loaded at 73670000h - 73677000h
WININET loaded at 771A0000h - 77246000h
CRYPT32 loaded at 77A70000h - 77B05000h
MSASN1 loaded at 77B10000h - 77B22000h
urlmon loaded at 7DF10000h - 7DFB0000h
VERSION loaded at 77BF0000h - 77BF8000h
MSACM32 loaded at 77BD0000h - 77BE5000h
MSVFW32 loaded at 75A40000h - 75A61000h
WSOCK32 loaded at 71AB0000h - 71ABA000h
DRMClien loaded at 01590000h - 015DF000h
foo_input_monkey loaded at 015F0000h - 01639000h
foo_input_shorten loaded at 01660000h - 0168D000h
foo_input_std loaded at 016D0000h - 017E4000h
foo_input_tta loaded at 01810000h - 0183D000h
foo_lnk loaded at 01860000h - 01879000h
foo_lock loaded at 018A0000h - 018B8000h
foo_locktest loaded at 018E0000h - 018F8000h
foo_masstag loaded at 01920000h - 01970000h
foo_masstag_addons loaded at 01990000h - 0199E000h
foo_menu_addons loaded at 019B0000h - 019D0000h
foo_metadbstats loaded at 019E0000h - 01A0E000h
foo_noss loaded at 01A30000h - 01A47000h
foo_out_ks loaded at 01A70000h - 01A9A000h
SETUPAPI loaded at 77910000h - 77A04000h
foo_playcount_mod loaded at 01AC0000h - 01AD5000h
foo_playlist_manager loaded at 01AF0000h - 01B34000h
foo_playlist_name_enhanced loaded at 01B60000h - 01B80000h
foo_playlist_tree loaded at 01BA0000h - 01C12000h
libmzsch360_000 loaded at 10400000h - 105D0000h
libmzgc360_000 loaded at 01C40000h - 01CE4000h
foo_pqview loaded at 01D30000h - 01D4B000h
foo_preview loaded at 01D70000h - 01D91000h
foo_random loaded at 01DB0000h - 01DED000h
foo_removeplayed loaded at 01E10000h - 01E28000h
foo_rgscan loaded at 01E50000h - 01E98000h
foo_run loaded at 01EC0000h - 01EEB000h
foo_runcmd loaded at 01F10000h - 01F3F000h
foo_scheduler loaded at 01F60000h - 01FCF000h
POWRPROF loaded at 74A90000h - 74A98000h
foo_sendtodevice loaded at 01FF0000h - 0201F000h
foo_sic loaded at 02040000h - 02099000h
foo_skip loaded at 021C0000h - 021DB000h
foo_trackfinder loaded at 02200000h - 02226000h
foo_trackpos loaded at 02250000h - 0226F000h
foo_tradersfriend loaded at 02290000h - 022CA000h
foo_uie_albumart loaded at 022F0000h - 0232C000h
foo_uie_albumlist loaded at 02350000h - 0238D000h
foo_uie_bookmarks loaded at 023B0000h - 023FB000h
foo_uie_console loaded at 02410000h - 0242B000h
foo_uie_explorer loaded at 02450000h - 0248D000h
foo_uie_playlists_dropdown loaded at 024B0000h - 024E9000h
foo_uie_queuemanager loaded at 02510000h - 02549000h
mscoree loaded at 79000000h - 79045000h
msvcm80 loaded at 7C4C0000h - 7C53D000h
mscorwks loaded at 79E70000h - 7A3D1000h
mscorlib.ni loaded at 790C0000h - 79BA8000h
mscorjit loaded at 79060000h - 790B3000h
rsaenh loaded at 0FFD0000h - 0FFF8000h
System.ni loaded at 7A440000h - 7ABFE000h
System.Drawing.ni loaded at 7ADE0000h - 7AF74000h
foo_uie_quicksearch loaded at 04C90000h - 04CD7000h
foo_uie_tabs loaded at 04D00000h - 04D2A000h
foo_uie_trackinfo loaded at 04D50000h - 04D7F000h
foo_uie_vis_egoh loaded at 04DA0000h - 04DBD000h
foo_uie_wsh_panel loaded at 04DD0000h - 04E06000h
foo_ui_columns loaded at 04E50000h - 04EE8000h
foo_ui_egoh loaded at 04F10000h - 04F4E000h
foo_ui_panels loaded at 04F60000h - 05033000h
foo_ui_std loaded at 05060000h - 050B7000h
foo_unpack loaded at 050E0000h - 0510E000h
foo_utils loaded at 05130000h - 05168000h
foo_verifier loaded at 05190000h - 051C0000h
foo_version loaded at 051E0000h - 05206000h
dbghelp loaded at 59C60000h - 59D01000h
foo_write_http loaded at 05330000h - 0536B000h
correct loaded at 05490000h - 05496000h
CLBCATQ loaded at 76FC0000h - 7703F000h
COMRes loaded at 77040000h - 77107000h
SXS loaded at 75E60000h - 75F10000h
jscript loaded at 75C20000h - 75C8E000h
xpsp2res loaded at 20000000h - 202CD000h
appHelp loaded at 77B30000h - 77B52000h
cscui loaded at 77A10000h - 77A65000h
CSCDLL loaded at 765D0000h - 765ED000h
Msimg32 loaded at 76350000h - 76355000h
wtsapi32 loaded at 76F40000h - 76F48000h
WINSTA loaded at 76330000h - 76340000h
NETAPI32 loaded at 5BD50000h - 5BDA4000h
vlmshlp loaded at 07600000h - 07607000h
System.Windows.Forms.ni loaded at 7AFD0000h - 7BC56000h
imagehlp loaded at 76C80000h - 76CA8000h

Stack dump analysis:
Address: 00DCBAABh, location: "foo_cuesheet_creator", loaded at 00DC0000h - 00DEC000h
Address: 10000000h, location: "shared", loaded at 10000000h - 10029000h
Address: 20000000h, location: "xpsp2res", loaded at 20000000h - 202CD000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 00DCBAABh, location: "foo_cuesheet_creator", loaded at 00DC0000h - 00DEC000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 7B021402h, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 10000000h, location: "shared", loaded at 10000000h - 10029000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 7B000000h, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 00DCBAABh, location: "foo_cuesheet_creator", loaded at 00DC0000h - 00DEC000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 20007A9Fh, location: "xpsp2res", loaded at 20000000h - 202CD000h
Address: 10000000h, location: "shared", loaded at 10000000h - 10029000h
Address: 7B00570Ah, location: "System.Windows.Forms.ni", loaded at 7AFD0000h - 7BC56000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05004B00h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05007A9Fh, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 00DCBAABh, location: "foo_cuesheet_creator", loaded at 00DC0000h - 00DEC000h
Address: 200012FBh, location: "xpsp2res", loaded at 20000000h - 202CD000h
Address: 10000000h, location: "shared", loaded at 10000000h - 10029000h
Address: 0177D604h, location: "foo_input_std", loaded at 016D0000h - 017E4000h
Address: 10000000h, location: "shared", loaded at 10000000h - 10029000h
Address: 100012FBh, location: "shared", loaded at 10000000h - 10029000h
Address: 0200000Ah, location: "foo_sendtodevice", loaded at 01FF0000h - 0201F000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 10004C70h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uReplaceCharAdd" (+00000040h)
Address: 10003D07h, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uFixAmpersandChars" (+00000077h)
Address: 00C01EECh, location: "foo_channel_mixer", loaded at 00C00000h - 00C3B000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05001606h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 20001669h, location: "xpsp2res", loaded at 20000000h - 202CD000h
Address: 10003D5Ch, location: "shared", loaded at 10000000h - 10029000h
Symbol: "uFixAmpersandChars_v2" (+0000004Ch)
Address: 05001601h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 00EAD1DCh, location: "foo_dbsearch", loaded at 00E70000h - 00EE0000h
Address: 0500496Fh, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05004C05h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 0200000Ah, location: "foo_sendtodevice", loaded at 01FF0000h - 0201F000h
Address: 00EA8F5Bh, location: "foo_dbsearch", loaded at 00E70000h - 00EE0000h
Address: 02004AF9h, location: "foo_sendtodevice", loaded at 01FF0000h - 0201F000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h
Address: 05000000h, location: "foo_ui_panels", loaded at 04F60000h - 05033000h

Version info:
foobar2000 v0.9.4.2
UNICODE

Additional info:
FLAC Decoder 1.1.0 (foo_input_std)
Autoplaylist Manager 1.0 (foo_autoplaylist)
Freedb2 characters fixer (masstagger addon) 0.02 (foo_freedb2_fix)
freedb Tagger 0.5.2a (foo_freedb2)
Run Command 1.0 beta 2 (foo_runcmd)
ZIP/GZIP reader 1.0 (foo_unpack)
Convolver 0.3 (foo_convolve)
Scheduler 3.53 (foo_scheduler)
Binary Comparator 1.1 (foo_bitcompare)
Run services 0.3.2 (foo_run)
Quick Search Toolbar 2.8j (foo_uie_quicksearch)
Playlist Name Enhanced 1.2 (foo_playlist_name_enhanced)
foo_skip 0.2 (foo_skip)
Track info panel 0.82 (foo_uie_trackinfo)
Egoh User Interface 1.1.0 (foo_ui_egoh)
Default User Interface 0.9acc (foo_ui_std)
Queue manager panel 0.2.3 (foo_uie_queuemanager)
foosic music database 1.0 beta 12 (foo_sic)
Discogs Tagger 0.92 (foo_discogs)
Standard Input Array 1.0 (foo_input_std)
Gapless Crossfader 0.2.4 (foo_dsp_crossfader)
Playlist Tree Panel 3.0.BETA_2 [Mar 23 2007 - 16:44:16] (foo_playlist_tree)
Track Finder 2.1.1 [Jun 16 2006 - 12:36:15] (foo_trackfinder)
Fullscreen 0.3.1 (foo_fullscreen)
Tabbed panel modified 0.2.5 (foo_uie_tabs)
Metadata Cache Statistics 1.2 (foo_metadbstats)
foobar2000 core 0.9.4.2 (Core)
Panels UI 0.9.0 beta [Mar 27 2007 - 18:16:33] (foo_ui_panels)
Shorten decoder 0.4.2a (foo_input_shorten)
Console panel 0.2.1 (foo_uie_console)
Remove played Files 1.3.0 (foo_removeplayed)
foo_explorer 1.31 (foo_explorer)
Randomized Playlist Entry 1.2.3 (foo_random)
cwbowron's title format hooks 1.1.0beta [Dec 1 2006 - 13:47:34] (foo_cwb_hooks)
Egoh Spectrum analyser (uie) 1.1.0 (foo_uie_vis_egoh)
WMA Decoder 1.1 (foo_input_std)
Masstagger 1.6 (foo_masstag)
TTA Audio Decoder (unofficial) 2.4.2 (foo_input_tta)
Send to Device 1.0.5 [Nov 17 2006 - 14:16:40] (foo_sendtodevice)
History 0.2 (foo_history)
Menu Addons 0.3.8 (foo_menu_addons)
Play Count Mod 1.0.2 (foo_playcount_mod)
Playlist Lock Test 1.0 (foo_locktest)
Monkey's Audio decoder 2.1.1 (foo_input_monkey)
CD Audio Decoder 2.1.1 (foo_cdda)
Live Show Tagger 0.6.1 (foo_tradersfriend)
Standard DSP array 1.0 (foo_dsp_std)
Cuesheet Creator 0.4.3a (foo_cuesheet_creator)
Shell Link Resolver 1.2 (foo_lnk)
HTTP Writer 1.1 (foo_write_http)
Channel Mixer 0.9.6.1 (foo_channel_mixer)
Special file info box 2.0.3 (foo_infobox)
Acro WMA decoder 0.1.6.2 (foo_input_awma)
Kernel Streaming Output 1.2.2 (foo_out_ks)
No ScreenSaver 1.0 (foo_noss)
Track Positioner 1.0 (foo_trackpos)
Explorer Tree 1.04.6a (foo_uie_explorer)
Bookmarks 0.1.8pre (foo_uie_bookmarks)
Album list panel 0.2.1 (foo_uie_albumlist)
Columns UI 0.1.3 beta 1v8 TEST (foo_ui_columns)
Common services 0.1 (foo_common)
Preview 1.1 (foo_preview)
Dockable Panels 1.0.6 [Mar 27 2007 - 16:39:47] (foo_dockable_panels)
Masstagger Addons 0.3.3 (foo_masstag_addons)
Playlist Tools 0.5.9 (foo_utils)
Components versions viewer 0.3 (foo_version)
ReplayGain Scanner 2.0.2 (foo_rgscan)
Converter 1.0.1 (foo_converter)
Album List 3.2.0 (foo_albumlist)
File Integrity Verifier 1.0 (foo_verifier)
Album Art Panel 0.2.6 (foo_uie_albumart)
Playlist Manager 1.0.2 (foo_playlist_manager)
Pause on Lock 0.4 (foo_lock)
Playlists Dropdown 0.6 alpha 3 (foo_uie_playlists_dropdown)
RAR reader 1.1 (foo_unpack)
Default video player 0.1.3 (foo_default_videoplayer)
WSH Panel (uie) 0.7.1 (foo_uie_wsh_panel)
Database Search 1.4 (foo_dbsearch)
Squeller
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.
Kiteroa
QUOTE(Yotsuya @ Mar 28 2007, 18:29) *

Has anyone figured out how to switch layouts in scpl?
I tried making some buttons like this:
CODE
$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:
CODE
$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 smile.gif


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.
DiGiCharat
QUOTE(CepiPerez @ Mar 27 2007, 14:24) *

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.


nope crying.gif

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.. crying.gif
shakey_snake
0.9.1 beta is certainly interesting.
I've long thought that grouping and sorting should be related somehow.

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)
Yotsuya
Is there any button command that will force a refresh of SCPL? If there was, we could stack this with any other button that tries to update the layout.
TheBlackCat
I still haven't fully fixed the button transparency problem with my buttons. I am currently using a workaround by placing a duplicate of the buttons in the background using imageabs2, but that is not an ideal solution and I am not entirely sure it will work properly. Somehow the background shows through the button transparency even though the buttons do not, although I have not gotten that to work perfectly, either.

It does not seem to be a problem with my computer, since I tried it on another computer with no luck. Both have windows XP. It does not seem to be a problem with the PNG, since I tried other PNG's (including foobar buttons) and the results were the same. I have the latest versions of both libpng and zlib, not that I think those will make a difference. I have tired eliminating all components besides panels ui and that did not help. I tried various changes to the image, including re-saving them using different software. I can find no difference between my PNG's and other transparent 24-bit PNG's (not that they work, either).

I can only think of three possible reasons. One is that both computers have the same software causing trouble. But I don't know what that would be, and they don't have much software in common. The second is that it is a problem with windows XP, but a lot of other people have XP and don't seem to have this problem. The third is that it lies somewhere in my code, but I am not sure where. So I will just post the entire config (it is not very long, still in early stages). I can tell you that none these worked: changing the redraw type, reordering the buttons, deleting everything but the buttons, changing the clickable area (even eliminating it), deleting the "if" test for the play buttons, and changing or eliminating the options on the buttons. I am pretty much stuck at this point, so any help would be greatly appreciated. I cannot continue with the config unless I have transparency working in the buttons.

CODE
// PerTrack

$if($and(%isplaying%,$not(%ispaused%)),
$button($eval(%_width%/2-61),$eval(%_height%-34-4-121),30,30,60,60,/buttons\play-on.png,/buttons\play-on.png,Play or pause,),
$button($eval(%_width%/2-61),$eval(%_height%-34-4-121),30,30,60,60,/buttons\play-off.png,/buttons\play-on.png,Play or pause,)
)

$button($eval(%_width%/2-35),$eval(%_height%-49-4),0,0,75,54,/buttons\stop off.png,/buttons\stop on.png,Stop,TOOLTIP:'Stop')
$button($eval(%_width%/2-35),$eval(%_height%-49-49-121-4),0,0,75,54,/buttons\restart off.png,/buttons\restart on.png,Play,TOOLTIP:'Replay')

$button($eval(%_width%/2-35-161),$eval(%_height%-68-4),0,0,75,54,/buttons\rew off.png,/buttons\rew on.png,Seek back by 5 seconds,TOOLTIP:'Rew')
$button($eval(%_width%/2+35) ,$eval(%_height%-68-4),0,0,75,54,/buttons\ff off.png,/buttons\ff on.png,Seek ahead by 5 seconds,TOOLTIP:'FF')
$button($eval(%_width%/2-35-162),$eval(%_height%-68-115-4-5),0,0,75,54,/buttons\back off.png,/buttons\back on.png,Previous,TOOLTIP:'Previous')
$button($eval(%_width%/2+35) ,$eval(%_height%-68-115-4-5),0,0,75,54,/buttons\forward off.png,/buttons\forward on.png,Next,TOOLTIP:'Next')


$panel(Menu,Menu,1,1,$sub(%_width%,2),19,)
$puts(yOffset,21)

$if(%_trackinfo_notrack%,
,
$panel(Playing,Track Display,0,$get(yOffset),%_width%,50,)
$puts(yOffset,71)
)
$panel(Playlist,Single Column Playlist,$eval(%_width%/4),$get(yOffset),$eval(%_width%/4*3),$sub(%_height%,300),)

$panel(Seek,WSH panel,0,$sub(%_height%,100),%_width%,30,)
$panel(Volume,WSH panel,$sub(%_width%,300),$sub(%_height%,30),300,30,)



$font(,13,,255-255-255)$padding($calcwidth(0000000000),0)($align(left,bottom)$font(,13,,255-255-255)
$if(%_trackinfo_notrack%,
Album Gain: None$char(10)
Track Gain: None
,

Album Gain: $if2([%__replaygain_album_gain%],None)$char(10)
Track Gain: $if2([%__replaygain_track_gain%],None)


// PerSecond

$setpvar(percent,$eval(%playback_time_seconds%/%length_seconds%))

$align(left,bottom)$font(,13,,255-255-255)
$if(%_trackinfo_notrack%,
None$char(10)
0 kbps$char(10)
0 kHz
,
%codec%$char(10)
%bitrate% kbps$char(10)
$div(%samplerate%,1000) kHz


)
saberrider
to be honest: I don't like the new system, mainly because without !noheader! feature search playlists and single song playlists aren't very nice. I also prefer written code over user interfaces. But it's a nice feature for beginners, I guess. unsure.gif
Kiteroa
QUOTE(Yotsuya @ Mar 29 2007, 09:43) *

Is there any button command that will force a refresh of SCPL? If there was, we could stack this with any other button that tries to update the layout.


If the playlist is active you can use the utils menu command to "Send to playlist..." and choose the same playlist name.

Not sure how to get it as a button command - there is a component which gives separate menu commands with the appropriate playlist name on them which you may be able to refer to as a button command.

Easy to get the playlist name:

%cwb_activelist% - active playlist name
%cwb_playinglist% - playing playlist name

EDIT

Foo_utils "Edit other/Send to playlist/1 - Browser" type commands are only accessible from the buttons customise menu (i.e. for the foobar buttons bar). They do not appear in the commands in the drop-down in the panels-ui.


Kiteroa
Feature request:

Any chance of having customisable actions in SCP like those provided by the Album List or Browser components? They allow you to choose the command to be carried out on double-click, middle click etc.

Would give even more flexibility!
wraithdu
QUOTE(saberrider @ Mar 28 2007, 18:32) *

to be honest: I don't like the new system, mainly because without !noheader! feature search playlists and single song playlists aren't very nice.

Hmmm, !noheader! seems to be working for me. Did you try to uncheck the 'Group by sort' checkbox? If you don't, nothing typed in the 'Group By' section is actually used.
Smitty2k1
Love the Sort/Group by right click function. I've got two requests for that feature:


!) Allow sorting/grouping by directory structure
2) Allow sorting/grouping by ALBUM ARTIST

Thanks for your hard work!
Yotsuya
To those having trouble with the !noheader! I was able to make it work here is some more detail:
IPB Image

In order for !noheader! to work, your Group By code must resolve to !noheader! and nothing else. If you group by more than one criteria, your group by code becomes the combination of all the criteria so make sure you uncheck the "Group By Sort" box on each of the criteria you group by and make sure only one of them resolves to !noheader!

If more than one criteria resolves to !noheader!, your Group By code would be !noheader!!noheader! and does not work.
If you do not clear the Group By Sort box, your group by code will include the sort code from your criteria and does not work.

Smitty2k1: You can sort and group by directory structure if you create custom criteria based off $directory(%path%,n) where n is the level of the directory structure you want to process.

Terrestrial: I experimented around with a util called applocale by microsoft to force foobar to run in different locales. Foobar does not crash under the normal US English but it crashes in many other locales including Japanese which is my system default. So the good news is that I can force foobar to run as US English when I need to do editing but would it be possible to fix compatibility in the editor (Did you call it scintilla?) to work under any locale?
shakey_snake
QUOTE(Smitty2k1 @ Mar 29 2007, 00:05) *

Love the Sort/Group by right click function. I've got two requests for that feature:


!) Allow sorting/grouping by directory structure
2) Allow sorting/grouping by ALBUM ARTIST

Thanks for your hard work!
Smitty, you can change these to whatever you want by going to:
File->preferences->PanelUI -> sorting and grouping
saberrider
QUOTE(shakey_snake @ Mar 28 2007, 22:15) *

File->preferences->PanelUI -> sorting and grouping


OK, now I feel stupid. Didn't know that this field even existed. Now everything makes sense. Thank you! biggrin.gif
nate
QUOTE(Kiteroa @ Mar 28 2007, 18:58) *

Foo_utils "Edit other/Send to playlist/1 - Browser" type commands are only accessible from the buttons customise menu (i.e. for the foobar buttons bar). They do not appear in the commands in the drop-down in the panels-ui.


Yep, I noticed that back with trackinfo_mod, and Terrestrial confirmed it here. Looks like it carried over to this.

I tried making a workaround by putting a foobar buttons bar behind my custom buttons panel, but it didn't work so well sad.gif. If Terrestrial does indeed add this functionality, it'd be rad smile.gif

-Nate
VeaaC
QUOTE(nate @ Mar 29 2007, 16:21) *

QUOTE(Kiteroa @ Mar 28 2007, 18:58) *

Foo_utils "Edit other/Send to playlist/1 - Browser" type commands are only accessible from the buttons customise menu (i.e. for the foobar buttons bar). They do not appear in the commands in the drop-down in the panels-ui.


Yep, I noticed that back with trackinfo_mod, and Terrestrial confirmed it here. Looks like it carried over to this.

I tried making a workaround by putting a foobar buttons bar behind my custom buttons panel, but it didn't work so well sad.gif. If Terrestrial does indeed add this functionality, it'd be rad smile.gif

-Nate

It is the same with foo_run commands
sizetwo
After installing the latest beta, brumals config is broken. It shows the items in the playlist without an album header etc. Just as one continuous list of songs ... Am I doing something wrong ? It worked before ...
shakey_snake
Sizetwo.
You answer can be found on the last three pages of this thread.
wraithdu
QUOTE(nate @ Mar 29 2007, 10:21) *

I tried making a workaround by putting a foobar buttons bar behind my custom buttons panel, but it didn't work so well sad.gif. If Terrestrial does indeed add this functionality, it'd be rad smile.gif

-Nate

In the meantime you can install foo_run and foo_runcmd. Create a foo_run service that uses the foo_runcmd syntax. foo_runcmd can access those commands just fine (I use it so send albums to foobar after being processed with REACT2). Then in your button code execute the foo_run service by name.
FofR
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?
sizetwo
QUOTE(shakey_snake @ Mar 29 2007, 10:41) *

Sizetwo.
You answer can be found on the last three pages of this thread.


Ooops. Paying attention helps, doesnt it. blink.gif And I really like the new sorting routines. Good stuff.

Thanks.
FofR
Bug: When I open the sort/group by edit box, the little one, when I click a check box both boxes check themselves. When I uncheck... both uncheck. I also cannot see the G and S titles for the checkbox columns.

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?

Bug 2: Cannot seem to delete an empty SCPL, does it delete on fb2k close?

Bug 3: For auto playlists when sorting cannot be changed the sort by dialogue should be greyed out or give a warning.

Are the Sort/Group by settings stored in the PUI? Im going to assume yes.

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.

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.
Kiteroa
I've just worked out that when buttons are stacked processing stops when a main menu or context menu command is executed.

I'm curious as to whether this is by design or because of a technical constraint?

What I want a button which

activates a playlist
selects all
runs replaygain as album
highlights playing

No problem with getting each command to run separately but how to do it them all?




CepiPerez
QUOTE(Kiteroa @ Mar 29 2007, 19:13) *

I've just worked out that when buttons are stacked processing stops when a main menu or context menu command is executed.

I'm curious as to whether this is by design or because of a technical constraint?

What I want a button which

activates a playlist
selects all
runs replaygain as album
highlights playing

No problem with getting each command to run separately but how to do it them all?


Did you try using multiple buttons in the same area?
oScARSh
Bug Report : (maybe a bug)

1. Layouts cannot be deleted

2. $scplsetlayout() in Layout selector seems not to work.
Rukh
Guys,

I'm relatively novice at this, these might be stupid questions, but I can't find the answers in the wiki or this forum, so...

1) I want to replace the titlebar in foobar. I've hidden the default one and have created a new panel
CODE
$panel(pnlTitlebar,Single Column Playlist,0,200,%_width%,26,)

I couldn't figure out which type of panel to use so I used a SCPL? It worked and I've put images and buttons on the panel... but was there an easier way to replace the titlebar or re-image the titlebar?

2) I have a 5x26pixel image that I want to stretch over the width of the screen. I've used the following code inside the subpanel:
CODE
$imageabs2(%_width%,26,0,0,%_width%,26,-200,0,/images\waz_titlebar.png,NOKEEPASPECT ALPHA-255)

but it doesn't work! Even with alpha set to 255, the left and right edges of the image fade sad.gif So as a temporary fix, I've used the following code:
CODE
$imageabs2($eval(%_width%+400),26,0,0,$eval(%_width%+400),26,-200,0,/images\waz_titlebar.png,NOKEEPASPECT)

But it's messy and surely there is a better way? tongue.gif

Thanks,
Rukh
CepiPerez
@Rukh:
1 - If you want to create your own titlebar, don't use a panel.
Just write the code in the main layout (this way you can move the window).

2 - Try this code:
$imageabs2($eval(%_width%+400),26,,,,,-200,0,/images\waz_titlebar.png,NOKEEPASPECT)
Kiteroa
QUOTE(CepiPerez @ Mar 30 2007, 11:26) *

QUOTE(Kiteroa @ Mar 29 2007, 19:13) *

I've just worked out that when buttons are stacked processing stops when a main menu or context menu command is executed.

I'm curious as to whether this is by design or because of a technical constraint?

What I want a button which

activates a playlist
selects all
runs replaygain as album
highlights playing

No problem with getting each command to run separately but how to do it them all?


Did you try using multiple buttons in the same area?


Yes - the only command executed is the command of top button .
Rukh
1 - I've put it back in the main layout. Thanks for the tip.

2 - I still have a problem with transparency, or opaque-ness. My titlebar, which is a uniform colour, 5 pixels wide stretched across the screen is darker at the edges?? It is very obvious because I've pasted a box of the same colour over the top of it to check... even extending the image 200 pixels past the edge of the screen does not solve the problem.

How do I stop this auto-opaque-ness?? Alpha 255 does not work.


Rukh
Axem
QUOTE(Squeller @ 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.


I'm getting the same thing. I'm running Windows 2000 also. Is there some additional library or special Windows XP dll required now?
Russell777
I don't know if it will solve your problem,but it worths a try:GDI+ library
Axem
Well the dll was already in the directory, but I replaced it anyway. Still nothing. sad.gif
Comwan
Hi,

I'm using your wonderful plugin now, but one thing bothers me.
I have a global shortcut mapped to activate or hide the foobar window but with your plugin it does'nt work that great. At first it worked but now it won't activate anymore i.e it's hidden. On top of that it flickers and steals focus sometimes (but not showing the window).

Can you take a look at this? I'm using the latest (0.91 beta) version and I'm on XP SP2
terrestrial
QUOTE(Kiteroa @ Mar 27 2007, 22:39) *

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 layouts are stored per panel, so they won't be available to both (so you can have different designs for the two).

QUOTE

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).


added.

QUOTE

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)


I've added a $sortidx() functions. for grouping the order doesn't matter.

QUOTE

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?


I think that might be a bit harder to use, as when you click something the order will change (which means if you click again, you will hit a different item)

QUOTE

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


%_height% will return the rowheight in scpl.

QUOTE(wraithdu @ Mar 27 2007, 22:49) *

1. What exactly does the 'Group by sort' checkbox do? And if it does what I think, does it take the Primary or Secondary sort?


with it checked it will group by the primary sort field. without it will group by what's in the "Group by" box.

QUOTE

2. When is the 'Secondary Sort' applied? Only if it's the last sort by criteria in the order?


yep.

QUOTE

This would eliminate some logic code in SCPL and simplify things for different layouts (singles, albums, etc), especially if you can assign specific sorting presets to different playlists and SCPL panels.


with the new $playlistname() function it should be easier to automatically switch layouts based on playlist.

QUOTE

Bug (maybe) - I cannot delete a layout under right-click -> settings (button does nothing). I can create a layout however, without a problem.


fixed.
terrestrial
QUOTE(Yotsuya @ 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.


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).

QUOTE

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 wink.gif

QUOTE

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 sad.gif 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).

QUOTE

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(D3WEY @ Mar 27 2007, 23:41) *

Probably my last try on this...might as well give it one more bump on the new page:

QUOTE(D3WEY @ 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 sad.gif



you can't. scpl doesn't really support drag and drop positioning yet.

QUOTE(Yotsuya @ Mar 28 2007, 00:29) *

Has anyone figured out how to switch layouts in scpl?
I tried making some buttons like this:
CODE
$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:
CODE
$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 smile.gif


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(Squeller @ 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.


fixed.

QUOTE(Kiteroa @ 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.


all correct wink.gif

QUOTE(DiGiCharat @ Mar 28 2007, 07:05) *

nope crying.gif

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.. crying.gif


yeah, its scintilla. same problem as Yotsuya and a couple of other people.



QUOTE(shakey_snake @ 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)


SORT: is kinda depricated. the settings are stored in the .cfg.

QUOTE(TheBlackCat @ Mar 28 2007, 17:29) *

I still haven't fully fixed the button transparency problem with my buttons.


post your button images and I will take a look.

QUOTE(FofR @ 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?


not directly yet, but through the main menu in the new version.

QUOTE(FofR @ 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?


have a empty sort by string.

QUOTE

Bug 2: Cannot seem to delete an empty SCPL, does it delete on fb2k close?


fixed with the new version.

QUOTE

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.

QUOTE

Are the Sort/Group by settings stored in the PUI? Im going to assume yes.


no, in the main foobar .cfg.

QUOTE

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).

QUOTE

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()...

terrestrial
QUOTE(Kiteroa @ Mar 29 2007, 16:13) *

I've just worked out that when buttons are stacked processing stops when a main menu or context menu command is executed.

I'm curious as to whether this is by design or because of a technical constraint?


by design due to some techincal considerations... I'll see if I can remove this restriction in the future.

QUOTE(oScARSh @ Mar 29 2007, 17:39) *

2. $scplsetlayout() in Layout selector seems not to work.


have you added the appropriate layouts to scpl?

QUOTE(Rukh @ Mar 29 2007, 18:36) *

2 - I still have a problem with transparency, or opaque-ness. My titlebar, which is a uniform colour, 5 pixels wide stretched across the screen is darker at the edges?? It is very obvious because I've pasted a box of the same colour over the top of it to check... even extending the image 200 pixels past the edge of the screen does not solve the problem.


its a gdi+ thing with stretching images.

QUOTE(Comwan @ Mar 30 2007, 06:56) *

Hi,

I'm using your wonderful plugin now, but one thing bothers me.
I have a global shortcut mapped to activate or hide the foobar window but with your plugin it does'nt work that great. At first it worked but now it won't activate anymore i.e it's hidden. On top of that it flickers and steals focus sometimes (but not showing the window).

Can you take a look at this? I'm using the latest (0.91 beta) version and I'm on XP SP2


seems to work fine from me (on xp sp2). are you doing anything else to get this problem?

-------------------------

I've uploaded 0.9.2
FofR
That was a marathon answering session, thanks for your responses. smile.gif.

I do foresee a problem with storing Sort by info in the cfg - many people who create and distribute their pui layouts will likely want to have smart sorting code that changes with buttons etc. New users of the layout would have to add each sort command manually to make the layout work correctly. It's proving a hassle getting everyone to change one variable, let alone this sad.gif.

It'd be nice if the pui could provide the complete solution as you said it should earlier in this topic.

Is it an fb2k limitation preventing pui storage? I don't really understand this change in philosophy, storing component information outside of the pui. If it is a limitation, any change of creating an "install these sort by/group settings if they don't exist" option?
jclim00
QUOTE(FofR @ Mar 30 2007, 13:06) *

That was a marathon answering session, thanks for your responses. smile.gif.

I do foresee a problem with storing Sort by info in the cfg - many people who create and distribute their pui layouts will likely want to have smart sorting code that changes with buttons etc. New users of the layout would have to add each sort command manually to make the layout work correctly. It's proving a hassle getting everyone to change one variable, let alone this sad.gif.

It'd be nice if the pui could provide the complete solution as you said it should earlier in this topic.

Is it an fb2k limitation preventing pui storage? I don't really understand this change in philosophy, storing component information outside of the pui. If it is a limitation, any change of creating an "install these sort by/group settings if they don't exist" option?


Maybe an option to import a pui's sort/group settings? Or a way to separate user global sort/group and layout specific sort/group so the user's own custom sorts don't get overwritten. (I've already tinkered around with the presets and I would hate to load up a pui that suddenly decides that this is how the sort/groups should be and overwrites my settings)
FofR
Good call, maybe a pui specific sort/group settings? Then by changing the pui the sort functions change, when you change back you still have your original versions.

Trying to make a chronological sort, sorting by Data puts the earliest at the top, I can use the sort by/reverse menu to change the whole playlist but then the albums aren't in order. A reverse chronological order would be great, any ideas on how to get this to work? Maybe for each sort by option there could be a way of reversing it? So I could sort by opposite date order then sort by track order.
terrestrial
QUOTE(FofR @ Mar 30 2007, 12:06) *

I do foresee a problem with storing Sort by info in the cfg - many people who create and distribute their pui layouts will likely want to have smart sorting code that changes with buttons etc. New users of the layout would have to add each sort command manually to make the layout work correctly. It's proving a hassle getting everyone to change one variable, let alone this sad.gif.


well, the layouts should handle the "visual" stuff, but the sort / grouping stuff is more of a user preference that really shouldn't change with the layout, as each person would have their slightly different way of sorting (and grouping). each layout should contain multiple scpl layouts to handle different grouping / sorting situations (eg "Album", "Singles", "Rating", etc) and the names should probably be standardized, but the user should ultimately decide which layout goes with which sorting/grouping pattern (and they would only have to do this once, and it would work across all layouts).

for buttons, instead of using names perhaps using something like $setpreset(1) would work, or maybe some standard preset names....

or is there some other problem I'm not quite seeing?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.