Is the name you want available in $disctitle? If you, you might try something 
like %if{$disctitle,$disctitle/} in your path format.

> On Mar 11, 2017, at 1:26 PM, Daniel Köbsch <[email protected]> wrote:
> 
> Hi,
> 
> i have some trouble to find the right config for importing the following.
> For example:
> https://www.discogs.com/Billy-Joel-Original-Album-Classics/release/4494369
> A Box of 5 "Essential Albums". This Box has a nusicbrainz entry:
> https://musicbrainz.org/release/8c4dc677-f1af-4d0d-be17-bcee5cd68df9
> 
> I have this box in a Folder named /Billy Joel Essential/
> 
> the relevant part of my config is:
> 
> paths:
>     singleton: singles/%bucket{$artist}/$artist/$artist $title [$year]
>     comp: Various Artists/$album%aunique{} [$year] 
> [$format]/%if{$multidisc,disc $disc/}$track $artist $title
>     default: Album/%bucket{$albumartist}/$albumartist/[$year] 
> $album%aunique{} [$format]/%if{$multidisc,disc $disc/}$track $title
>     
> import:
>      move: yes
>      copy: no
>      write: yes
> 
> 
> after doing an "beet import Billy\ Joel\ Essential" i get 
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/disc 01
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/disc 02
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/disc 03
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/disc 04
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/disc 05
> 
> but i want 
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/$Albumtitle
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/$Albumtitle
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/$Albumtitle
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/$Albumtitle
> /Album/[ABC]/Billy Joel/[2012] Original Album Classics [MP3]/$Albumtitle
> 
> but ONLY if such an albumtitle exists! For all other cases the disc 01/disc 
> 02 scheme is ok.
> 
> Could someone please help me finding the right config?
> Thanks you very much!
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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