Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: [SOLVED] The 2 last characters of the resulting CUE file truncated (Read 1401 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] The 2 last characters of the resulting CUE file truncated

I have a CUE file named: (1982) Skin, Brains, and Guts (E.P.).cue

Linked to a full album FLAC named: (1982) Skin, Brains, and Guts (E.P.).flac

When I try to split per track, I use this template:

%directoryname%\'('%year%')' %album%[  '('%unique%')']

To my understanding the result must be a CUE and FLAC files located in the same directory and named:

(1982) Skin, Brains, and Guts (E.P.) (1).cue as the filename is already taken .

My issue is I the is last .) is truncated.

Result: (1982) Skin, Brains, and Guts (E.P.cue

It happens only when the album name contains .) at the end.

Where I am wrong in my template?

Here some info about original the CUE file

Code: [Select]
PERFORMER "7 Seconds"
TITLE "Skin, Brains, and Guts (E.P.)"
REM DATE 1982
REM GENRE Hardcore
FILE "(1982) Skin, Brains, and Guts (E.P.).flac" WAVE

CUETools CUE file generated:

Code: [Select]
PERFORMER "7 Seconds"
TITLE "Skin, Brains, and Guts (E.P.)"
REM DATE 1982
REM GENRE "Hardcore"
REM DISCNUMBER 1
REM TOTALDISCS 1
FILE "1.01 - Skin, Brains, and Guts.flac" WAVE
Encoding tied: UTF-8, UTF-8 and ANSI

The MediaInfo from the original FLAC file:

Code: [Select]
Album                                    : Skin, Brains, and Guts (E.P.)
Album/Performer                          : 7 Seconds / 7 Seconds
Part                                     : 1/1
Performer                                : 7 Seconds
Genre                                    : Hardcore
Recorded date                            : 1982
Writing application                      : reference libFLAC 1.3.1 20141125
CONTENTGROUP                             : USA

Resulting track MediaInfo result:

Code: [Select]
Album                                    : Skin, Brains, and Guts (E.P.)
Album/Performer                          : 7 Seconds
Part                                     : 1
Part/Total                               : 1
Track name                               : Skin, Brains, and Guts
Track name/Position                      : 01
Track name/Total                         : 9
Performer                                : 7 Seconds
Genre                                    : Hardcore
Recorded date                            : 1982
CDTOC                                    : 9+96+F9A+1F8A+2DF3+3695+6283+77C2+8BD7+9895+C555

Version of CUETools tried: 2.1.6 and 2.1.7

The FLAC files are generated, named and tagged correctly,

The content of the CUE file is correct.

I am using Windows 10 64bit

Usually use UTF-8 BOM for more compatibility with non-latin characters.

I am sure this is a simple mistake in my template but I cannot see it.

TIA

Re: The 2 last characters of the resulting CUE file truncated

Reply #1
Quote
To my understanding the result must be a CUE and FLAC files located in the same directory and named:

(1982) Skin, Brains, and Guts (E.P.) (1).cue as the filename is already taken .

My issue is I the is last .) is truncated.

Result: (1982) Skin, Brains, and Guts (E.P.flac

It happens only when the album name contains .) at the end.
? - did you mean .cue?

So you're using
%directoryname%\'('%year%')' %album%[  '('%unique%')'].cue
so you can modify the file name of the .cue
instead of using
%directoryname%\%filename%[  '('%unique%')'].cue

korth

Re: The 2 last characters of the resulting CUE file truncated

Reply #2
oops edited the post as I meant .cue yes.

Thanks is worked!

Re: The 2 last characters of the resulting CUE file truncated

Reply #3
So you did notice the .cue I added to your template.
korth

Re: [SOLVED] The 2 last characters of the resulting CUE file truncated

Reply #4
Yes, and tested both template 8)
I was sure the .cue was implied.

Thanks I now can process 1846 albums in batch

Re: [SOLVED] The 2 last characters of the resulting CUE file truncated

Reply #5
Just don't try to do everything at once. CUETools stores some data from each rip processed until the end of the run.
korth

Re: [SOLVED] The 2 last characters of the resulting CUE file truncated

Reply #6
I do it per artist basis to be sure.