Re: [mb-users] Picard file naming issue

Calvin Walton <[email protected]> Wed, 14 Aug 2013 10:28:57 -0400
Newsgroups gmane.comp.audio.musicbrainz.user
Message-ID <1376490537.4408.67.camel@hp-a6734f>
On Wed, 2013-08-14 at 16:17 +0200, Frederic Da Vitoria wrote:
> 2013/8/14 Calvin Walton <[email protected]>
> 
> > On Wed, 2013-08-14 at 11:58 +0200, Frederic Da Vitoria wrote:
> > > Hello,
> > >
> > > I have just tagged this
> > > http://musicbrainz.org/release/541d57c6-79f8-4cfd-b76b-0ae019d99036 with
> > > Picard. I found that the file names were strange: all the Requiem tracks
> > > were named ## Gabriel Faure - Requiem, op..mp3 and all the Messe tracks
> > > were named ## Gabriel Faure & Andre Message.mp3. I first thought this
> > was a

> > >
> > "$if2(%albumartistsort%,%artistsort%)/$left(%originaldate%,4)-%album%/$if($gt(%totaldiscs%,1),%discnumber%-,)$num(%tracknumber%,2)$if(%compilation%,
> > > %artist% -,) %title%"

> > Windows has an issue where the maximum total length of a filesystem path
> > is limited to a fixed value. As a result, Picard has to truncate file or
> > directory names if you're approaching this limit.

> Yes, sorry, I should have mentioned this before. I am running Windows Seven
> 64 bits. My current Picard base path is d:\Sons\_MusicBrainz Picard\ There
> is a space in there but I don't think this is the issue or I wouldn't have
> any output at all, would I? I have been using the same path for years now
> (Seven for 1 year, Vista 32 bits before) without any issue of this type.

Hmm, so the full file path should look like
D:\\Sons\_MusicBrainz Picard\Fauré, Gabriel\1988-Requiem _ Messe des
pêcheurs de Villerville (Ensemble Musique Oblique, feat. choir_ Chœur de
la Chapelle Royale, choir_ Petits Chanteurs de Saint Louis, conductor_
Philippe Herreweghe)/01 Gabriel Fauré - Requiem, Op. 48_ I. Introit &
Kyrie.mp3

By my count that is... 293 characters total. The maximum path length
that Picard uses on Windows is 240 characters, so it has to remove 53
characters from the filenames somewhere. Unfortunate, but there's not
much we can do about it...

You can try putting a function into your file naming pattern to shorten
the album name, e.g. by replacing %album% with $truncate(%album%,100) to
leave more space for track names.

-- 
Calvin Walton <[email protected]>


_______________________________________________
MusicBrainz-users mailing list
[email protected]
http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-users