Well, this slash is only included if $disctitle is defined:
%if{$disctitle,$disctitle/}

I presume that’s not what you want?


> On Mar 21, 2017, at 7:55 PM, Daniel Köbsch <[email protected]> wrote:
> 
> well… sometimes it does not work
> with settings still being
>  default: Album/%bucket{$albumartist}/$albumartist/[$year] $album%aunique{} 
> [$format]/%if{$multidisc,disc $disc }%if{$disctitle,$disctitle/}$track $title
> 
> for this album
> https://musicbrainz.org/release/b303e6b3-216c-4cf5-ad0c-96c70e9b60a6
> 
> i get 
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 01 01 Change of 
> the Guard.flac 
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 02 07 Miss 
> Understanding.flac
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 03 13 Re Run 
> Home.flac 
> and so on,
> not the expected
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 01 The Plan/01 
> Change of the Guard.flac 
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 02 The Glorious 
> Tale/01 Miss Understanding.flac
> /Album/[JKL]/Kamasi Washington/[2015] The Epic [FLAC]/disc 03 The Historic 
> Repetition/01 Re Run Home.flac 
> 
> what am i doing wrong here?
> 
> 
> Am Montag, 20. März 2017 10:08:53 UTC+1 schrieb Daniel Köbsch:
> This works!
> Thank you very much for your kind support!
> 
> Am Montag, 20. März 2017 02:51:50 UTC+1 schrieb Adrian Sampson:
> Delete the slash from this part:
> %if{$multidisc,disc $disc/}
> 
> 
>> On Mar 19, 2017, at 1:22 PM, Daniel Köbsch <[email protected]> wrote:
>> 
>> Hi again.
>> 
>> Works almost ;)
>> 
>> with the config like this:
>> default: Album/%bucket{$albumartist}/$albumartist/[$year] 
>> $album%aunique{}[$format]/%if{$multidisc,disc 
>> $disc/}%if{$disctitle,$disctitle/}$track $title
>> I get a directory structure like this:
>> /Album/[PQR]/Renaud/[2006] Les 100 plus belles chansons 1985-2006 [MP3]/disc 
>> 05/À Ingrid Bétancourt et Brassens
>> -----------------------------------------------------------------------------------------------------------------^
>> how do i get rid of the slash i marked red?
>> thanks again for looking into this
>> 
>> 
>> 
>> Am Sonntag, 12. März 2017 18:57:05 UTC+1 schrieb Adrian Sampson:
>> No, everything you're describing should be accomplishable with paths 
>> configuration. I just don't understand what's going wrong here---your paths 
>> config looks right from here.
>> 
>> And also no---FWIW, turning all those options off will just leave the files 
>> where they are.
>> 
>> On Mar 12, 2017, at 1:53 PM, Daniel Köbsch <[email protected]> wrote:
>> 
>>> :)
>>> right, i get the albumtitle now.
>>> but i don't get the Boxset-Title with subdirectories of Albums, 
>>> but ONLY when such a boxset with albumtitles exists.
>>> 
>>> For all other multidisc albums i want the disc 1/disc 2 subdirectory scheme.
>>> 
>>> i mean: i'ts ok it this can't be automated. I still could move the Boxset 
>>> into the Artist-directory and import with
>>>      move: no
>>>      copy: no
>>>      write: no
>>> 
>>> can't i?
>>> 
>>> Am Sonntag, 12. März 2017 18:41:58 UTC+1 schrieb Adrian Sampson:
>>> Everything looks fine from here -- $album should expand to the name of the 
>>> album. Good luck!
>>> 
>>> On Mar 12, 2017, at 1:37 PM, Daniel Köbsch <[email protected]> wrote:
>>> 
>>>> Am Sonntag, 12. März 2017 18:23:21 UTC+1 schrieb Adrian Sampson:
>>>> Alas, it's impossible to tell what's going on without your paths 
>>>> configuration and more information about the metadata for the tracks in 
>>>> question.
>>>> 
>>>> ok, so here is my beets config:
>>>> directory: /run/media/user/alexandria
>>>> library: ~/Musik/beets/alexandria/musiclibrary.blb
>>>> pluginpath: ~/Musik/beets
>>>> 
>>>> paths:
>>>>     singleton: singles/%bucket{$artist}/$artist/$artist $title [$year]
>>>>     comp: Various Artists/$album%aunique{} [$year] 
>>>> [$format]/%if{$disctitle,$disctitle/}$track $artist $title
>>>>     default: Album/%bucket{$albumartist}/$albumartist/[$year] 
>>>> $album%aunique{} [$format]/%if{$disctitle,$disctitle/}$track $title
>>>>     
>>>> # Just import the music, with copying and modifying the meta data
>>>> import:
>>>>      move: yes
>>>>      copy: no
>>>>      write: yes
>>>> 
>>>> #import:
>>>> #     move: no
>>>> #     copy: no
>>>> #     write: no
>>>> 
>>>> 
>>>> # files/directories matching one of these patterns are ignored during 
>>>> import
>>>> ignore: [".*", "*~", "System Volume Information", ".AppleDouble", "._*", 
>>>> "*~", ".DS_Store"]
>>>> ignore_hidden: yes
>>>> per_disc_numbering: no
>>>> threaded: yes
>>>> 
>>>> # use auto-tagging where possible
>>>> # do not require confirmation on strong matches
>>>> autotag: yes
>>>> timid: no
>>>> 
>>>> # use the release-date of the original (first) release of an album?
>>>> original_date: no
>>>> 
>>>> # files matching these patterns are deleted from source after import
>>>> clutter: ["Thumbs.DB", ".DS_Store"]
>>>> 
>>>> # filename for the album art
>>>> art_filename: cover  # results in "cover.jpg"
>>>> 
>>>> max_filename_length: 0  # unlimited
>>>> 
>>>> ui:
>>>>     terminal_width: 120
>>>>     
>>>> 
>>>> 
>>>> # Plugins 
>>>> --------------------------------------------------------------------
>>>> plugins: edit scrub lastimport chroma acousticbrainz fetchart replaygain 
>>>> web missing lastgenre fuzzy discogs lyrics bucket inline
>>>> 
>>>> #bpd embedart copyartifacts
>>>> 
>>>> match:
>>>>     strong_rec_thresh: 0.10
>>>> #    strong_rec_thresh: 0.01
>>>>     length_diff_thresh: 10.0
>>>> 
>>>> scrub:
>>>>     auto: yes
>>>> 
>>>> lastfm:
>>>>     user: someuser
>>>> 
>>>> copyartifacts:
>>>>      extensions: .*
>>>>      print_ignored: yes
>>>> 
>>>> item_fields:
>>>>     multidisc: 1 if disctotal > 1 else 0
>>>> 
>>>> acoustid:
>>>>     apikey: right_api_key
>>>> 
>>>> acousticbrainz:
>>>>   auto: yes
>>>> 
>>>> web:
>>>>     #host: 127.0.0.1
>>>>     port: 8080
>>>> 
>>>> lastgenre:
>>>>     canonical: yes
>>>>     count: 7
>>>> 
>>>> bpd:
>>>>     host: 127.0.0.1
>>>>     port: 6600
>>>>     password:
>>>> 
>>>> zero:
>>>>     fields: comments
>>>> 
>>>> fetchart:
>>>>     auto: yes
>>>>     maxwidth: 400
>>>>     cautious: true
>>>>     cover_names: cover folder
>>>> 
>>>> replaygain:
>>>>     auto: yes
>>>>     overwrite: yes
>>>>     albumgain: yes
>>>> 
>>>> missing:
>>>>     format: $albumartist - $album - $track - $title
>>>>     count: yes
>>>>     total: yes
>>>> 
>>>> bucket:
>>>>     bucket_alpha: ['[0-9]', '[ABC]', '[DEF]', '[GHI]', '[JKL]', '[MNO]', 
>>>> '[PQR]', '[STU]', '[VWX]', '[YZ]']
>>>> 
>>>> 
>>>>  
>>>> 
>>>> -- 
>>>> 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.
>>> 
>>> -- 
>>> 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.
>> 
>> -- 
>> 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.
> 
> 
> -- 
> 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.

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