gmusicbrowser Forum

Main board => Customization => Topic started by: helloindustries on December 19, 2010, 00:54:53

Title: Seeking layout (or help to make) like this
Post by: helloindustries on December 19, 2010, 00:54:53
Ideally, i'd like to have GmusicBrowser laid out like this (click for larger).
Problem is; I can't make much sense of the code for layouts, so i'm here asking for help.

Perhaps someone is feeling kind enough to modify the layout 'Playlist, Library & Context' to resemble my mock-up?

(http://i901.photobucket.com/albums/ac212/helloiamdene/gmusiclayout1thumb.jpg) (http://i901.photobucket.com/albums/ac212/helloiamdene/general%20stuff/gmusiclayout1.jpg)

And the same again, but described in text:
Modify layout 'Playlist, Library & Context' to include the filter list below the Playlist. Add playlist tabs to the top of the playlist.
Title: Re: Seeking layout (or help to make) like this
Post by: bucaneer on December 19, 2010, 02:52:29
This seems to do the trick:
Code: [Select]
[Playlist, Library & Context (custom)] based on Playlist, Library & Context
VBplaylist = 5_TabbedLists(mode=playlist,group=1) EditListButtons(group=1,small=1)
VPplayfilter = VBplaylist FilterPane3(hidebb=1,group=1)
VBLeft          = VBplayer  _VPplayfilter

I suggest putting it in a separate layout file (e.g. ~/.config/gmusicbrowser/layouts/custom.layout) so that it wouldn't mess with future updates. And, of course, the layout won't show up until you restart gmusicbrowser.
Title: Re: Seeking layout (or help to make) like this
Post by: helloindustries on December 19, 2010, 03:10:45
Did as you suggested and it all worked beutifully ^_^

Thanks so much!
Title: Re: Seeking layout (or help to make) like this
Post by: helloindustries on December 19, 2010, 03:27:20
And now you're going to hate me ;)

Going back to the original layout, would you mind simply adding another filter pane and remove the context tab above, please?
On consideration, it's probably a better idea.

Apologies for the mess-around.
Title: Re: Seeking layout (or help to make) like this
Post by: bucaneer on December 19, 2010, 04:35:36
If I understand you right, this should be it:
Code: [Select]
[Playlist, Library & Context (custom 2)] based on Playlist, Library & Context
HPfp1 = _FilterPane3(hidebb=1,group=1,nb=1) _FilterPane0(nb=1,hidebb=1)
HPfp2 = _FilterPane1(nb=2,hidebb=1) _FilterPane2(nb=3,hidebb=1)
HPfp0 = _HPfp1 _HPfp2
HPBottom = VBLeft _VPRight
TBRight =

The leftmost filter pane controls playlist.
Title: Re: Seeking layout (or help to make) like this
Post by: helloindustries on December 19, 2010, 13:45:17
If I understand you right, this should be it:
Code: [Select]
[Playlist, Library & Context (custom 2)] based on Playlist, Library & Context
HPfp1 = _FilterPane3(hidebb=1,group=1,nb=1) _FilterPane0(nb=1,hidebb=1)
HPfp2 = _FilterPane1(nb=2,hidebb=1) _FilterPane2(nb=3,hidebb=1)
HPfp0 = _HPfp1 _HPfp2
HPBottom = VBLeft _VPRight
TBRight =

The leftmost filter pane controls playlist.

That was precisely it :)
Thanks so much!