Generate CUE file from tracklist?

thank you

download it again. i stumbled over the same problem and made a edit of the second action to deal with the spaces after the tracklength.

i treated the "eng||" as a regex "^...||" so it should be no problem even if a user has changed the Mp3Tag standard

i deliberatly didn't pack the export into the actiongroup, because for many users (for me) timestamped lyrics will be enough. that's also the reason why i've chosen that field, it's more or less standard for tracklists of dj-mixes.
it should be easy even for beginners to add the export to the actiongroup.

I did.
You should not edit mta file manually. see action #1.

DD.20110321.2017.CET

I don't understand what you mean? Isn't it working now?
Where is the difference if I edited action within Mp3Tag or with a text editor in the mta file?
With the second action, I meant #1 (treating #0 as the first action)

EDIT:
Ah, I see the differences. There are some extra slashes in the mta. Uploaded it again, hope it's working now.

\r\n is not escaped to \\r\\n ...
... and you can add 6 actions more to get 99 actions, which should be the maximum of the cuesheet list.
I've changed the tag-field name and what before works does not work now. I have to dig in deeper.
Maybe now it is the missing "eng||" attribute?

DD.20110321.2030.CET

I hope it works now. Uploaded again. Had no internet connection for a short time before.

I've packed the export into the actiogroup now.

If you change the field, "^...||" must be replace with "^"

Thanks Dano!
I don't know if I had do anything wrong but when I execute this comand I get this error:


AutoIt Error

Line 1095 (File "D:\TextToCue_length.exe"):

Error: Subscript used with non-Array variable.

Aceptar

What could be causing this? I use win7x64.
Thanks!

Thank you pone!

Now I check it!

Sorry, the tool work. I'm write wrong the comand line (tracklist.txt.txt) :stuck_out_tongue:

QUOTE (dano @ Mar 21 2011, 14:56) <{POST_SNAPBACK}>
6) Finally start the export with this script:
$filename(export.cue,ansi)TITLE ""
PERFORMER ""
FILE "Test.mp3" MP3
$loop(a)  TRACK $num(%_counter%,2) AUDIO
    TITLE "%title%"
    PERFORMER "%artist%"
    INDEX 01 %composer%
$loopend()<!--QuoteEnd--></div><!--QuoteEEnd-->

Dano, all work ok! many thanks!!
Only one thing, for export I prefer use this:

$filename(export.cue,ansi)
FILE "Test.mp3" MP3
$loop(a)  TRACK $num(%_counter%,2) AUDIO
    TITLE "%title%"
    PERFORMER "%artist%"
    INDEX 01 %composer%
$loopend()

This form cue splitter run beter, if I don't do it get warnigs!

I've updated my post with a full automatic solution. But it is limited to a certain layout of the tracklist file.

Also great work by pone - solving the problem with Mp3tag.

pone, your work run ok, also many thanks!
dano, I test it and also work very fine! thanks!

you are my hero's!!! :laughing: :music: hehe

this function is good when you have a mp3 without cue file and you don't find in internet! this happens to me many times!

the only problem is you must to use a specific format on the tracklist. It's a pity that you can not use an custom format for read the tracklist but nothing happens with it I save the most part of the work and I this is fine. :w00t:

thanks again

edit: sorry, "shame" no, "pity" :stuck_out_tongue: google translator is a traitor.

Yes, dano, that is the simple app what I have thought of!
Better you mark all the old instructions in the 'download' post above as invalid.

DD.20110322.1604.CET

Dano, I have a little problem!

I would like create an action that:

  1. import text file:

field: INDEXTIME
filename: C:\Tracklist_length.txt

  1. Export:

Generar CUE

$filename(export.cue,ansi)
FILE "Test.mp3" MP3
$loop(a)  TRACK $num(%_counter%,2) AUDIO
    TITLE "%title%"
    PERFORMER "%artist%"
    INDEX 01 %INDEXTIME%
$loopend()

If I do it this I obtain this cue:

FILE "Test.mp3" MP3
  TRACK 01 AUDIO
	TITLE ""Cookies With A Smile" (Avicii remix)"
	PERFORMER "Dada Life"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 02 AUDIO
	TITLE ""Conscindo""
	PERFORMER "Mark Knight & Wolfgang Gartner"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 03 AUDIO
	TITLE ""Calypso" (Manuel De La Mare Shibuya remix)"
	PERFORMER "Jay Lumen"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 04 AUDIO
	TITLE ""Get Fresh""
	PERFORMER "Moguai"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 05 AUDIO
	TITLE ""Professional Killers" (Jerome Isma-ae & Daniel Portman remix)"
	PERFORMER "Komytea"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 06 AUDIO
	TITLE ""I Feel So""
	PERFORMER "Olav Basoski"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 07 AUDIO
	TITLE ""Bad Davis""
	PERFORMER "Stefano Noferini"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 08 AUDIO
	TITLE ""Last Ones Standing" (Benny Benassi remix)"
	PERFORMER "Example"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 09 AUDIO
	TITLE ""Bubblegum" (original mix)"
	PERFORMER "Afrojack"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 10 AUDIO
	TITLE ""Melocoton" (original mix)"
	PERFORMER "Alex Kenji & Bass Kleph"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 11 AUDIO
	TITLE ""Somewhere" (Bass Kleph remix)"
	PERFORMER "Jesse Voorn"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 12 AUDIO
	TITLE ""The Knife" (Nic Fanciulli remix)"
	PERFORMER "Plump DJs"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 13 AUDIO
	TITLE ""Headstrong""
	PERFORMER "Pete Tong & Paul Rogers"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 14 AUDIO
	TITLE ""LoL""
	PERFORMER "Wally Lopez"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

  TRACK 15 AUDIO
	TITLE ""Downpipe" (original club mix)"
	PERFORMER "Mark Knight & D Ramirez vs Underworld"
	INDEX 01 00:00:00
06:03:00
13:33:00
20:43:00
28:59:00
36:57:00
42:26:00
49:52:00
56:11:00
60:08:00
66:18:00
72:34:00
79:45:00
86:55:00
95:26:00

But, If I import without action (using the mp3tag menu) I get this:

FILE "Test.mp3" MP3
  TRACK 01 AUDIO
    TITLE ""Cookies With A Smile" (Avicii remix)"
    PERFORMER "Dada Life"
    INDEX 01 00:00:00
  TRACK 02 AUDIO
    TITLE ""Conscindo""
    PERFORMER "Mark Knight & Wolfgang Gartner"
    INDEX 01 06:03:00
  TRACK 03 AUDIO
    TITLE ""Calypso" (Manuel De La Mare Shibuya remix)"
    PERFORMER "Jay Lumen"
    INDEX 01 13:33:00
  TRACK 04 AUDIO
    TITLE ""Get Fresh""
    PERFORMER "Moguai"
    INDEX 01 20:43:00
  TRACK 05 AUDIO
    TITLE ""Professional Killers" (Jerome Isma-ae & Daniel Portman remix)"
    PERFORMER "Komytea"
    INDEX 01 28:59:00
  TRACK 06 AUDIO
    TITLE ""I Feel So""
    PERFORMER "Olav Basoski"
    INDEX 01 36:57:00
  TRACK 07 AUDIO
    TITLE ""Bad Davis""
    PERFORMER "Stefano Noferini"
    INDEX 01 42:26:00
  TRACK 08 AUDIO
    TITLE ""Last Ones Standing" (Benny Benassi remix)"
    PERFORMER "Example"
    INDEX 01 49:52:00
  TRACK 09 AUDIO
    TITLE ""Bubblegum" (original mix)"
    PERFORMER "Afrojack"
    INDEX 01 56:11:00
  TRACK 10 AUDIO
    TITLE ""Melocoton" (original mix)"
    PERFORMER "Alex Kenji & Bass Kleph"
    INDEX 01 60:08:00
  TRACK 11 AUDIO
    TITLE ""Somewhere" (Bass Kleph remix)"
    PERFORMER "Jesse Voorn"
    INDEX 01 66:18:00
  TRACK 12 AUDIO
    TITLE ""The Knife" (Nic Fanciulli remix)"
    PERFORMER "Plump DJs"
    INDEX 01 72:34:00
  TRACK 13 AUDIO
    TITLE ""Headstrong""
    PERFORMER "Pete Tong & Paul Rogers"
    INDEX 01 79:45:00
  TRACK 14 AUDIO
    TITLE ""LoL""
    PERFORMER "Wally Lopez"
    INDEX 01 86:55:00
  TRACK 15 AUDIO
    TITLE ""Downpipe" (original club mix)"
    PERFORMER "Mark Knight & D Ramirez vs Underworld"
    INDEX 01 95:26:00

And this is OK. So, I undertand that is not possible create an action group for this? It is a bug of program?

thank you!

Convert > Text file - tag
and
Action > Import text file
is not the same.

Yet it should be possible to do Convert > Text file - tag as action, but it is probably not so easy.

I has suppose it. It's no problem for me.

Thank you dano!

I've made a similar action before so here it is. You can import a Tracklist length file with up to 50 lines with this action:

Import_Tracklength.zip (554 Bytes)

:w00t: perfect!! thank you dano!! :music:

I made a modification of my action & export group, optimized now for use in combination with my discogs web source scripts.
So you can download tracklist information and generate cue files within Mp3Tag with only a few clicks.

[WS] Discogs (pone mod)

wonderful! good job pone!
thanks u