[DjaxPlayer] ####General Type = G Title = %a | %y-%l | %d-%n - %S Name = Djax Player Default = Window size=250x550 FPane0 page=genres FPane1 artistpsize=32,artistinfo=1 FPane2 albumpsize=32,albuminfo=1 SongList follow=1,cols=playandqueue_titleaa QueueList follow=1,cols=playandqueue_titleaa SongTree follow=1,sort=1_11_12_13_0,grouping='album|pic',cols=playandqueue_track_titleaa_length_rating SimpleSearch fields=9s_10s_11s_17s_23s_16s,wordsplit=1 ###main layout (left and right container) MBmenu = MainMenuItem PSortItem PFilterItem QueueItem HistItem LSortItem PlayItem HBIndic2 = MBmenu VBmain = HBIndic2 _HPmain HPmain = VBleft VBright ##left container VBleft = VBcon HSeparator0 HBEqual _TBlist0 HBQueueButton HBPlayButton #controls VBcon = HBButtons HSeparator2 HBArtist HBAlbum HBTitle HBTime HBButtons = ChooseRandAlbum Pref Playlist ChooseAlbum TogButton1(label="Equalizer",widget=HBEqual,resize=_) Filter Sort Queue Pos -TogButton2(label="<-->",widget=VBright,resize=h) -Quit -Vol HBTime = Filler0 _Scale -Length -LabelTime HBTitle = LockSong Label3(markup=%d-%n-) _Title(font=8) -Next -Play -Stop -Prev HBArtist = LockArtist _Artist(font=16) -Next1(activate=NextArtist,tip="Next Artist") HBAlbum = LockAlbum Label5(markup=%y-) _Album(font=12) -Next2(activate=NextAlbum,tip="Next Album") #left tabs TBlist0 = "Songlist" VBTab0 "Queue" VBTab1 "PlayLists" VBTab2 "Artist" VBTab3 "Album" VBTab4 VBTab0 = HBPlayButton _SongTree0(group=3,songypad=1) VBTab1 = HBQueueButton HBQueueInfo _QueueList(group=2,songypad=1) HBTabInfo = Total2(group=tab) VBTab2 = HBTabInfo _TabbedLists(group=tab,songypad=1) VBTab3 = AABox3(aa=artist,group=Play:artist,nb=4) FPane3(group=Play:artist,nb=5,pages=album,page_album/mode=mosaic,activate1=play,activate2=addplay,hidetabs=1,) _SongTree3(group=Play:artist,songypad=1,nb=6) VBTab4 = AABox4(aa=album,group=Play) _SongTree4(group=Play:album,songypad=1) HBQueueButton = EditListButtons1(group=2,small=1) 4QueueActions HBQueueInfo = Total1(group=2) HBEqual = Equalizer ##right container VBright = HBButtonR HSeparator3 VBinfo _TBlist HBButtonR = Filler3 Stars Filler2 _Title_by(font=10) -Label0(markup=--(%g)-- ) #info VBinfo = HBbox HBbox = #right tabs TBlist = "Browser" VBBro "Context" Context(followselection=1) #Browser VBBro = HBSearch _VPPanes HBSearch = 5_SimpleSearch ResetFilter PlayFilter QueueFilter -Total0 VPPanes = HPPanes0 HPTitres1 HPPanes0 = FPane0(nb=2,hide=1) HPPanes HPPanes = FPane1(nb=4,pages=album,page_album/mode=mosaic,hidetabs=1,hidebb=1,activate=play,activate2=addplay) HPTitres1 = FPane2(nb=3,pages=albumartist,hide=1,activate=playlist,activate2=addplay) _SongTree(activate=play,activate2=addplay,songypad=1) VSize0 = 120 HBEqual HSize0 = Filler0 LockArtist LockAlbum HSize1 = 200 VBleft HSize2 = 60 Filler2 HSize3 = 20 Filler3 VolumeScroll = HBButtons #####end DjaxPlayer [Djax Browser2] Type=B Title = %a | %l | %d-%n - %S Name = Djax Browser2 Default = Window size=1120x820 HPfp 180 HPbig 780 VPlistAA 645 FPane0 page=artist FPane1 page=album VBmain = HBstatus 5_HPbig HBstatus = SimpleSearch 10MBlist ResetFilter Refresh PlayFilter FLock -Total MBlist = HistItem LSortItem PlayItem HPbig = HPfp _VPlistAA VBAlbum1 = AABox1(aa=album,group=1) _FPane0(nb=3,group=1) HPfp = HPfp2 VBAlbum1 VBArtist1 = AABox0(aa=artist,group=1) _FPane2(nb=2,group=1) VPList1 = FPane1(nb=1,group=1) _SongTree(group=1,songypad=1) HPfp2 = VPList1 VBArtist1 VPlistAA = _TabbedLists(group=2,songypad=1) [Djax info] Type=T HBButton = 20Filler2 Prev Stop Play Next HBAlbum = Label7(markup=%y-) _Album HBTitle = Label1(markup= %d-%n-) Title HBProgress = _Scale HBArtist = -Artist VBText = HBArtist HBAlbum HBTitle HBButton HBProgress HBmain = _VBText 2Filler1 -Cover(forceratio=1) VolumeScroll = HBmain #SongTree Group & Columns definitions ##################################### {Group pic} title= with picture head=title:h vcollapse=head vmin=pic:y+pic:h+2 left=pic:w+2 #title: text(markup=''.pesc($title).'',pad=2) title: text(pad=2, markup=''.pesc($title).\ if(showyear && $year,' ('.pesc($year).')').'',\ init_markup=' ',) pic: +aapic(y=title:h+title:y+4,picsize=picsize,ypad=2) picsize : OptionNumber(default=100,min=20,max=1000,step=10) showyear : OptionBoolean(default=1,name='show year') myfont : OptionFont(default='Arial Bold 18',name='font') {Group simple2} title= Simple title with year head=title:h left=4 vcollapse=head title: text(markup=''.pesc($title).'' . if($year,' ('.pesc($year).')'),pad=4) {Group artistalbumside} title=album and artist on the left side vmin= pic:y + pic:h +2 left=width title: text(markup=''.pesc($album).'\n'.pesc($artist).'',pad=2,w=left) pic: aapic(y=title:y + title:h +2, picsize=min(picsize,width), pad=2) width: OptionNumber(default=200,min=20,max=1000,step=10) picsize : OptionNumber(default=100,min=20,max=1000,step=10) {Column testtitleandprogress} title=title & progress sort=album:i title:i width=200 songbl=text hreq=text:h progress: pbar( fill=$progress, hide=!$playing,y=1,h=-2) text: text(markup=playmarkup(pesc($title))) {Column playandqueue} menutitle = Playing & Queue width = 20 ico: icon(pad=2,icon=$playicon) {Column icolabel} menutitle= Labels' Icons sort = label:i width = 50 ico : icon(pad=2,icon=$labelicons) {Column titleaa} menutitle = Title - Artist - Album title = Song hreq=text:h width=200 sort= title:i text : text(markup=''.pesc($title).'\n'.pesc($artist).' - '.pesc($album).'',pad=2) {Column titleandicon} title = title & icon sort = title:i width = 200 songbl= text hreq = text:h text : text(pad=2,markup=playmarkup(pesc($title)),w=-icolabel:w) icolabel : icon(pad=2,x=text:w,icon=$labelicons) {Column albumminipic} title = Small album picture sort = album:i width = 20 hreq = 20 album : aapic(picsize=$_h,aa='album') {Column ratingpic} title = Rating menutitle = Rating (picture) sort = rating width=100 #hreq = pic:h #pic : picture(file=ratingpic($rating),init_file=ratingpic(0)) pic : picture(file=ratingpic($rating),h=$_h,w=$_w,resize='ratio',init_file=ratingpic(0)) {Column right_aligned_folder} menutitle = Folder (right-aligned) title = Folder hreq=text:h width=200 sort= path songbl= text text : text(markup= pesc($path), x=-text:w) {Group artistalbum2} title=album and artist above left head=title:h vcollapse=head vmin=pic:y+pic:h+2 left=pic:w+2 title2: text(markup=''.pesc($artist).'',pad=2,x=-title2:w) title: text(markup=''.pesc($album).' ['.pesc($artist).'] ' . if($year,'('.pesc($year).')'),pad=2,w=min($_w-title2:wr-10,title:wr+2*title:xpad)) pic: +aapic(y=title:h+title:y+4,picsize=picsize,ypad=2,aa='album') picsize : OptionNumber(default=100,min=20,max=1000,step=10) [Volume] VSize= 100 VolSlider VBox = LabelVol(xalign=.5) _VolSlider(vertical=1) [Equalizer] Default = Window(size=300x160) VBmain = _Equalizer Title = Equalizer [Progress] VBmain = _ProgressV(lastclose=1) Title = Progress [Karaoke] Type= K VBmain= PluginKaraoke Window= pos=50%x100%,size=80%x1,insensitive=1,nodecoration=1,ontop=1 #### Overlay layouts for Titlebar plugin [O_play] Type= O Name= _"Play button" HBmain = Play(size=menu,button=0,tip="%t by %a",group=Play) [O_stop_play_next] Type= O Name= _"Stop, Play and Next buttons" HBmain = Stop(size=menu,button=0) Play(size=menu,button=0) Next(size=menu,button=0) [O_stop_play_next_timebar] Type= O Name= _"Stop, Play and Next buttons and Time" HBmain = Stop(size=menu,button=0) Play(size=menu,button=0) TimeBar(minwidth=100,text=%t) Next(size=menu,button=0) [O_stop_play_next_title_artist] Type= O Name= _"Stop, Play and Next buttons and Title/Artist" HBmain = Stop(size=menu,button=0) Play(size=menu,button=0) Next(size=menu,button=0) _Title_by(minwidth=200) [O_title_artist_insens_left] Type= O Name= _"Insensitive title-artist (left-aligned)" HBmain = _Title_by(ellipsize=end) Window = insensitive=1,size=250x1 [O_title_artist_insens_right] Type= O Name= _"Insensitive title-artist (right-aligned)" HBmain = _Title_by(ellipsize=end,xalign=1) Window = insensitive=1,size=250x1 # type D layouts : for desktop widgets [Djax Desktop] Type= D Name= _"Djax Desktop" Window = transparent=1 DefaultFontColor= white HBCover = Cover(forceratio=1,minsize=200,default=/home/jacques/.config/gmusicbrowser/layouts/nocover/nocover.png) HBprogress = _Scale HBVol = Vol(size=menu) HBbuttons = Prev(size=menu,button=1) Play(size=menu,button=1) Next(size=menu,button=1) -HBVol -Length -LabelTime HBTitle = Label3(markup=%d-%n-) _Title LabelsIcons HBArtist = _Artist -Quit(size=menu) HBAlbum = Label5(markup=%y-) _Album VolumeScroll = HBVol VBText = _HBCover HBprogress HBbuttons 2HBArtist 2HBAlbum 2HBTitle [Djax Desktoptip] Type= D Window= borderwidth=0,transparent=1 DefaultFontColor= white Name= _"Djax Desktoptip" VBMain = HBmain HBControl HBVol = Vol(size=menu) HBmain = 2_TimeBar(text="%t-%a",minwidth=200,size=menu) HBControl = Cover(forceratio=1,default=/home/jacques/.config/gmusicbrowser/layouts/nocover/nocover.png) ChooseRandAlbum(size=menu) Prev(size=menu) Play(size=menu) Next(size=menu) Next2(activate=NextAlbum,tip="Next Album",size=menu) -Quit(size=menu) -HBVol VolumeScroll = HBVol #type P layouts : pages that can be added to a TabbedLists [same_album] Type= P Name=Album HBInfo = Total1(group=Play:album) VBmain = HBInfo _SongTree(group=Play:album,songypad=1) [same_artist] Type= P Name=Same artist VBmain = _SongTree(group=Play:first_artist,songypad=1) AABox0(aa=artist,group=Play) [same_year] Type= P Name=Same year VBmain = _SongTree(group=Play:year,songypad=1)