On Fri, Oct 27, 2017 at 05:02:11AM BST, Bearcat Şándor wrote:
> I had things working fine when moving files.   My path used to be: default: 
> %lower{%the{$albumartist}/$original_year-$album%if{$albumdisambig,_[$albumdisambig]}/$disc-$track-
>  
>    
>     $title}
> 
> I'm integrating more dvd-a and sacds into my collection and i need a field 
> to differentiate them. I'm using catalog number for that.  I've changed my 
> path to default: 
> %lower{%the{$albumartist}/$original_year-$album_[$catalognum]%if{$albumdisambig,_[$albumdisambig]}/
>  
>  
>     $disc-$track-$title}
> 
> i would expect awesome_group/1955-awesome_album_[PQ1-DVD]_[album 
> disambiguation if it's there]/01-01-my_track.wv
> 
> but instead i'm getting $album in there instead of the album name.  
> 
> What the heck am i doing wrong?

You have changed '$album%if' to '$album_' and the underscore character
is treated as part of the variable - change it to ${album} instead[0].

Why not use '%aunique{}'?

[0] https://docs.python.org/3/library/string.html#template-strings

Cheers,

Raf

-- 
You received this message because you are subscribed to the Google Groups 
"beets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to