[Help] Renaming Uses Name of Variable

When importing, the files are named exactly as written in the paths definition.

Result: “%the{albumartist)/(album)%if{$hasyear, ($year)}/%if{$multidisc,$disc-}$track. $artist - $title”

Expected: “Michael Jackson/Thriller (1982)/01. Michael Jackson - Wanna Be Startin’ Something.mp3”

Here’s a snapshot from my config.

   plugins: fetchart lastgenre inline embedart zero the fromfilename discogs 
        default: %the{$albumartist)/$(album)%if{$hasyear, ($year)}/%if{$multidisc,$disc-}$track. $artist - $title
        comp: Compilations/%the($album)%if{$hasyear, ($year)}/%if{$multidisc,$disc-}$track. $artist - $title
        albumtype:soundtrack: Soundtracks/%the($album)%if{$hasyear, ($year)}/%if{$multidisc,$disc-}$track. $artist - $title
        multidisc: 1 if disctotal > 1 else 0
        hasyear: 1 if year > 0 else 0

Be sure to use curly braces, not parentheses.

dang it…i closed the curly brace with a regular parenthesis. Thanks for the catch.