brauche Hilfe bei meinem "Grouping" (NG Playlist)

Begonnen von s_PLASH, 21. Februar 2011, 05:37:32

Vorheriges Thema - Nächstes Thema

s_PLASH

#15
Zitat von: stefle in 14. Oktober 2011, 18:24:31
Wenn du statt Klammern Farben verwendest, brauchst du kein $replace:

$rgb(255,0,128)$strstr(%mediatype%,Maxi), Maxi)$if($strstr(%mediatype%,Single), Single)$if($strstr(%mediatype%,Compilation), Compilation)
du meinst, ich kann
$replace($if($strstr(%mediatype%,Maxi), Maxi)$if($strstr(%mediatype%,Single), Single)$if($strstr(%mediatype%,Compilation), Compilation), ']',']',' []',)
damit ersetzen? irgendiwe klappt das nicht. das ergebnis ist immer "0, Maxi" in der farbe $rgb(255,0,128), ohne vorangehendes leerzeichen. auch wird der rest des strings komplett ignoriert.

stefle

Sorry, da ist was beim copy&pasten schiefgegangen.

Probier mal das:

$rgb(255,0,128)$if($strstr(%mediatype%,Maxi), Maxi)$if($strstr(%mediatype%,Single), Single)$if($strstr(%mediatype%,Compilation), Compilation)

s_PLASH

Zitat von: stefle in 15. Oktober 2011, 18:57:23
Probier mal das:

$rgb(255,0,128)$if($strstr(%mediatype%,Maxi), Maxi)$if($strstr(%mediatype%,Single), Single)$if($strstr(%mediatype%,Compilation), Compilation)
geht :top: :)