# bb code help

**URL:** https://community.mp3tag.de/t/bb-code-help/14866
**Category:** Export
**Created:** [July 2, 2013, 8:32pm UTC](https://community.mp3tag.de/t/bb-code-help/14866 "2013-07-02T20:32:43Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![johnr79](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/cc9497/32.png) [@johnr79](https://community.mp3tag.de/u/johnr79)
#### Post date: [July 2, 2013, 8:32pm UTC](https://community.mp3tag.de/t/bb-code-help/14866/1 "2013-07-02T20:32:43Z")

</div>

ok so i got this working how i want it to except for 1 thing any help is appreciated  
i need the line where it reads the folder name to ignore discs that dont contain multiple folders

with multiple discs i get cd 1 cd2 above the tracklisting but on single artist albums it still prints cd above tracklisting i just want a tracklist with no cd above the listing on single artist albums

```
$filename(bbcode.txt,ansi)
'[align=center]'
'[b][size=13]' %album% '[color=orange]([/color][color=grey]'%year%'[/color][color=orange])[/color][/size][/b]'

'[img]COVER IMAGE HERE[/img]'

'[b][u][size=13]Release Info[/size][/u][/b]'

'[b]Album [color=red]:: [/color][/b]' %album%
'[b]Genre [color=red]:: [/color][/b]' %genre%
'[b]Year [color=red]:: [/color][/b]' %year%

'[b][u][size=12]Tracklisting[/size][/u][/b]'
$loop(%_folderpath%,1)
'[b][u][size=7]'CD %DISCNUMBER%'[/size][/u][/b]'

$loop($num(%_track%,2)$num(%_artist%)%_title%)'[color=grey]'$num(%track%,2) '[/color][color=red]- [/color]'%artist% '[color=red]- [/color]'%title% '[color=orange]([/color][color=grey]'[$replace(%_length%,_,:)]'[/color][color=orange])[/color]'
$loopend()

$loopend()

'[/align]
```

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [February 14, 2014, 8:40am UTC](https://community.mp3tag.de/t/bb-code-help/14866/2 "2014-02-14T08:40:25Z")

</div>

> [@johnr79](#):
>
> ... with multiple discs i get cd 1 cd2 above the tracklisting but on single artist albums it still prints cd above tracklisting i just want a tracklist with no cd above the listing on single artist albums ...

```
Try to change the line from ...
'[b][u][size=7]'CD %DISCNUMBER%'[/size][/u][/b]'

to ...
['[b][u][size=7]CD '%DISCNUMBER%'[/size][/u][/b]']

```

DD.20140214.1040.CET
