/usr/share/gmusicbrowser/layouts/songtree.layout is in gmusicbrowser 1.1.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | #SongTree Group & Columns definitions
#####################################
{Group Compact}
title=Compact
head=pic:h
tail=25
vcollapse=head
vmin=pic:y+pic:h+25
title: text(markup='<b><big>'.pesc($album).'</big></b>'. if($year,'\n'.pesc($year)) . '\n'.pesc($artist),pad=2,x=pic:w)
pic: aapic(y=title:y,picsize=picsize,ypad=2,xpad=1,aa='album')
picsize : OptionNumber(default=50,min=20,max=1000,step=10)
{Group discleft}
title=disc on the left side
head=3
left=width
vcollapse=head+title:h+line:h+2
title: text(markup='<b><big>'.pesc($title).'</big></b>'.if(!$_expanded,'<big><b>»</b></big>'),pad=2,w=left))
width: OptionNumber(default=15,min=10,max=100,step=1)
line: line(x1=1,y1=1,x2=$_w,y2=1,color='#ccc',width=1)
{Group artistalbum_breadcrumbs}
title=album and artist breadcrumbs
head=title:h
tail=25
vcollapse=head
vmin=pic:y+pic:h+25
left=pic:w+2
title: text(markup='<b><big>'.pesc($album).'</big></b>'. if($year,' <big><b>«</b></big> '.pesc($year)) . ' <big><b>«</b></big> '.pesc($artist),pad=2)
pic: +aapic(y=title:h+title:y,picsize=picsize,ypad=2,xpad=1,aa='album')
picsize : OptionNumber(default=100,min=20,max=1000,step=10)
picstars : picture(file=ratingpic($rating_avrg),x=(picsize/2)-(picstars:w/2),y=pic:y+pic:h,hide=$rating_avrg==50 || picsize < 80)
{Group pic}
title= _"with picture"
head=title:h
vcollapse=head
vmin=pic:y+pic:h+2
left=pic:w+2
#title: text(markup='<b><big>'.pesc($title).'</big></b>',pad=2)
title: text(pad=2, markup='<span font_desc="'.myfont.'">'.pesc($title).\
if(showyear && $year,' <small>('.pesc($year).')</small>').'</span>',\
init_markup='<span font_desc="'.myfont.'"> </span>',)
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 simple}
title= _"Simple title"
head=title:h
left=4
vcollapse=head
title: text(markup='<b><big>'.pesc($title).'</big></b>',pad=4)
{Group artistalbumside}
title= _"Album and artist on the left side"
vmin= pic:y + pic:h +2
left=width
title: text(markup='<b><big>'.pesc($album).'\n'.pesc($artist).'</big></b>',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 RhythmboxQueue}
menutitle = _"Rhythmbox 2nd queue column"
title = _"Queue"
hreq=text:h
width=200
sort= title:i
text : text(markup=pesc($title).'\n<small>by <i>'.pesc($artist).'</i>\non <i>'.pesc($album).'</i></small>',pad=2)
{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 queuenumber}
menutitle = Queue-Item Number
title = #
width = 20
text: text(markup=$queued, x=-text:w)
{Column playandqueueandtrack}
menutitle = Playing/Queue Icon or Track
title = #
width = 20
sort = track
ico: icon(pad=2,icon=$playicon, hide= !$playing && !$queued)
text: text(markup=pesc($track.' '.$queued), hide= $playing || $queued)
{Column playandqueue}
menutitle = _"Playing and queue icons"
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='<b>'.pesc($title).'</b>'.pesc($version_or_empty).'\n<small><i>'.pesc($artist).'</i> - '.pesc($album).'</small>',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).'<small>'.pesc($version_or_empty).'</small>')),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),x=pic:w)
#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 artistalbum}
title= _"Album and artist"
head=title:h
vcollapse=head
vmin=pic:y+pic:h+2
left=pic:w+2
title2: text(markup='<b><big>'.pesc($artist).'</big></b>',pad=2,x=-title2:w)
#title2: text(markup='by <b><big>'.pesc($artist).'</big></b>',pad=2,x=title:w)
#title: text(markup='<b><big>'.pesc($album).'</big></b> ',pad=2)
title: text(markup='<b><big>'.pesc($album).'</big></b> ' . if($year,'<small>('.pesc($year).')</small>'),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)
|