assistance with Foobar layout - dividing layout library/playlist 2014-01-23 22:47:23 Ive got my layout pretty much how I want.Just cant seem to get it to behave how I wantIm trying for a split layout where:The left side is all "library" views and selectionsThe right side is all playlist and playing track views and selections.an example would be album art2 album art panes but when I select playing file both change.if I select library file, both change.Messed around with the "prefer playing or selection" toggle, not what I need thosame goes for the text displays on each sideIm sure this is doable Im just dont know the scripting needed.Any help is appreciatedthanksattaching screenie for referenceBD
assistance with Foobar layout - dividing layout library/playlist Reply #1 – 2014-01-24 08:22:49 Try rightclicking on them and look for options as 'prefer currently playing/prefer currently selected'.
assistance with Foobar layout - dividing layout library/playlist Reply #2 – 2014-01-24 09:12:10 ^presumably you're using columns? you don't get those options on the default UI panels.i have some scripts for the WSH panel mod component which you can try. for them to work as you want, you must set file>preferences>display>selection viewers to prefer current selection.then when you add a "library" panel, you can right click>selection mode>use display preferencesfor your now playing panel, the selection mode must be set to prefer now playing (which is the default).the 2 scripts you want are named artreader and properties inside this package: https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zipmake sure you check the readme carefully.note the properties panel only displays details for a single track at a time. it won't aggregate totals for any kind of multiple selection like the default panel does. it looks like this...screenshot
assistance with Foobar layout - dividing layout library/playlist Reply #3 – 2014-01-24 09:18:38 Oh well. I was suggesting your script in the first version of my comment as a backup plan but then went ahead and double-checked the CUI panel and settled on that. Last Edit: 2014-01-24 09:19:47 by Daeron
assistance with Foobar layout - dividing layout library/playlist Reply #4 – 2014-01-24 16:21:25 Thanks muchI will dl and check it out
assistance with Foobar layout - dividing layout library/playlist Reply #5 – 2014-01-24 17:37:02 MarcThanks very much!Exactly what I was looking for.Ive got it set up and working how I want.My only Q: using the "simple text reader" scriptHow do I center justify?How do I remove the underlining?
assistance with Foobar layout - dividing layout library/playlist Reply #6 – 2014-01-24 17:48:47 line 24 begins gr.DrawLine... - you can delete that.and to centre the text, line 10 begins var t = new text(....insert this on the next line.Code: [Select]t.centre = true;
assistance with Foobar layout - dividing layout library/playlist Reply #7 – 2014-01-24 18:14:41 var p = new panel("Simple Text Reader", ["metadb", "simple_text"]);var t = new text(6, 30, p.w - 12, p.h - 30);t.centre = true;on_item_focus_change();like that?doesnt seem to work
assistance with Foobar layout - dividing layout library/playlist Reply #8 – 2014-01-24 18:22:42 well it works for me. i did test before i posted: screenshot
assistance with Foobar layout - dividing layout library/playlist Reply #9 – 2014-01-24 18:26:45 ok hmmmm I dunno thenfor the properties window I just have text_filename_tf | %genre%text_title | %genre%is that messing w it?
assistance with Foobar layout - dividing layout library/playlist Reply #10 – 2014-01-24 18:32:45 it looks like you're using the wrong script. simple text reader reads and displays the contents of text files. i think you want my simple tag reader script. that has the option to centre align text on the right click menu so you don't need to modify that one.
assistance with Foobar layout - dividing layout library/playlist Reply #11 – 2014-01-24 18:42:58 tried that script tooAlways left justifiedeven with center text = trueI dunno something seems to be overriding it?Ill mess w it more
assistance with Foobar layout - dividing layout library/playlist Reply #12 – 2014-01-24 18:48:42 got itline 23changed to p.centre_text
assistance with Foobar layout - dividing layout library/playlist Reply #13 – 2014-01-24 18:49:48 you can try resetting the panel. hold shift>right click>properties>click clear.edit: ah, i see you wanted to centre the title. Last Edit: 2014-01-24 18:51:23 by marc2003
assistance with Foobar layout - dividing layout library/playlist Reply #14 – 2014-01-24 18:56:08 almost there, almost perfectHow can I remove the white "scroll arrows" from windows that wont have multiple lines?
assistance with Foobar layout - dividing layout library/playlist Reply #15 – 2014-01-24 19:18:02 eh? the arrows only show when there are too many lines to fit in the panel.if you mean you want to hide them even when there is too much content, add this inside the on_size function after t.size();Code: [Select]t.up_btn.x = - 20;t.down_btn.x = -20;
assistance with Foobar layout - dividing layout library/playlist Reply #16 – 2014-01-25 19:49:28 this works fine to remove the arrows thank youthe windows im talking about only have 1 line value in a small windowie, %genre%b4 this tweak when I resized the window to make it symmetrical the white arrows would pop ineven though there really wasnt anything else belowits probably a border padding for text or something../guesspretty much set with all your excellent assistancethe only thing I would want now is for the "library side" viewers not to jump to "playlist side" data when I click on something outside of Foobarie, when focus is not on Foobar both sides show now playing data
assistance with Foobar layout - dividing layout library/playlist Reply #17 – 2014-01-25 20:34:26 it seems you really are abusing those scripts by not using them for their real purpose? you're just using the title to display a single line when really they're meant for displaying whole blocks of text. oh well, whatever works... nothing can be done about your last point. it's how other panels behave as well.
assistance with Foobar layout - dividing layout library/playlist Reply #18 – 2014-01-26 17:30:57 Thanks for your assistanceI will continue to poke at it and see