In the pic below, you can see that there are two albums in the playlist.
The first one, with the 2 digits tracknumber, is displayed correct with the artist, date, album and genre in the left panel.
But the second one, with the 3 digits tracknumber, is not displaying anything in the left panel.
I'm using this code, does anybody know which line or lines should I modify in order to fix this issue?
CODE
//if there is a number of songs
$if(%tracknumber%,
//The first line in the album
$ifequal($sub(%tracknumber%,1),0,
//The performer if va != 1
%_t2%$ifequal($get_global(va),1,
$if3($meta(album artist),'VA'),
$if3(%artist%,%_t2%'Unknown Artist')),
//Second line in the album
$ifequal($sub(%tracknumber%,1),1,
%_t1%[%date%$if(%album%,'. ')][%album%],
//Third line in the album
$ifequal($sub(%tracknumber%,1),2,
%_t2%$if3(%genre%,'Unknown'),
)))
$tab(2)
//The track with coloring if<10
%_t3%'['
$ifgreater(%tracknumber%,9,
%_t1%$num(%tracknumber%,2),
%_t3%'0'%_t1%$num(%tracknumber%,1))
%_t3%'] '
//artist if va == 1
$ifequal($get_global(va),1,%_t2%%artist%' ● ',)
//title
%_t1%$replace(%title%,'(',%_t2%'(',')',%_t2%')'%_t1%)
$tab(3),
//if not numbers songs
//artist
%_t2%[%artist%]$if(%artist%,' ● ')
//title
%_t1%$replace(%title%,'(',%_t2%'(',')',')'%_t1%)
$tab()
//date. album
%_t1%[%date%$if(%album%,'. ')][%album%])
$if(%tracknumber%,
//The first line in the album
$ifequal($sub(%tracknumber%,1),0,
//The performer if va != 1
%_t2%$ifequal($get_global(va),1,
$if3($meta(album artist),'VA'),
$if3(%artist%,%_t2%'Unknown Artist')),
//Second line in the album
$ifequal($sub(%tracknumber%,1),1,
%_t1%[%date%$if(%album%,'. ')][%album%],
//Third line in the album
$ifequal($sub(%tracknumber%,1),2,
%_t2%$if3(%genre%,'Unknown'),
)))
$tab(2)
//The track with coloring if<10
%_t3%'['
$ifgreater(%tracknumber%,9,
%_t1%$num(%tracknumber%,2),
%_t3%'0'%_t1%$num(%tracknumber%,1))
%_t3%'] '
//artist if va == 1
$ifequal($get_global(va),1,%_t2%%artist%' ● ',)
//title
%_t1%$replace(%title%,'(',%_t2%'(',')',%_t2%')'%_t1%)
$tab(3),
//if not numbers songs
//artist
%_t2%[%artist%]$if(%artist%,' ● ')
//title
%_t1%$replace(%title%,'(',%_t2%'(',')',')'%_t1%)
$tab()
//date. album
%_t1%[%date%$if(%album%,'. ')][%album%])
Many thanks,
Gonzalo
