There is a 3 step workaround.
-
For all selected mp3 files run one export script, which extracts the unsyncedlyrics tag field contents from each mp3 file and creates one DOS batch command file for all.
When this command file runs afterwards it will create automatically named text files, each containing the unsyncedlyrics tag field contents of one mp3 file.
This part of the process slightly modifies the data for safe processing through the DOS command interpreter.
-
Run external command file.
This will create one text file per unsyncedlyrics tag field contents in the same folder where the source mp3 file resides.
This part of the process slightly modifies the data by appending a space character at end of each line.
-
Import unsyncedlyrics text file/s contents into some tag field into some mp3 file/s.
Remove data modifications to get an identically copy of the original unsyncedlyrics tag field contents.
ad 1. Export script "Export USLT":
$filename($left(%_workingpath%,2)\TEST\Export.USLT.cmd,ANSI)'@ECHO OFF'
$loop(%_folderpath%%_filename_ext%)
$if(%UNSYNCEDLYRICS%,'SET FILEOUT='$replace(%_folderpath%%_filename%,&,^&,'%','%%')'.USLT.txt'
'IF EXIST "%FILEOUT%" DEL "%FILEOUT%" >NUL:'
'ECHO.FILEOUT: "%FILEOUT%"'
$regexp($regexp($regexp($char(10)$replace(%UNSYNCEDLYRICS%,'|','^|','>','^>','<','^<','"','^"','&','^&','%','%%')$char(13),\n,\n'ECHO.'),\r,' >>"%FILEOUT%"'\r),^\n(.+)\r$,$1),)
$loopend()
'PAUSE'
Note: Adapt working folder path to your needs.
Caution: Previewing export output command file will instantly run the command file.
ad 2. Example part of command file:
SET FILEOUT=O:\TEST\T\80er\01.USLT.txt
IF EXIST "%FILEOUT%" DEL "%FILEOUT%" >NUL:
ECHO.FILEOUT: "%FILEOUT%"
ECHO.eng^|^|A beautiful and blinding morning >>"%FILEOUT%"
ECHO.The world outside begins to breathe >>"%FILEOUT%"
ECHO.See clouds arriving without warning >>"%FILEOUT%"
ECHO.I need you here to shelter me >>"%FILEOUT%"
ECHO. >>"%FILEOUT%"
ECHO.And I know that only time will tell us how >>"%FILEOUT%"
ECHO.To carry on without each other >>"%FILEOUT%"
ECHO. >>"%FILEOUT%"
ad 3. Import actionsgroup "Import USLT.mta":
Begin Actionsgroup Import USLT
Action #1
Actiontype 14: Import text file
Field: USLT
Filename: %_folderpath%%_filename%.USLT.txt
Action #2
Actiontype 4: Replace with regular expression
Field: USLT
Regular expression: ÷\r
Replace matches with: \r
[_] case sensitive comparison
Action #3
Actiontype 4: Replace with regular expression
Field: USLT
Regular expression: \r\n\Z
Replace matches with:
[_] case sensitive comparison
Note: Replace one special character ÷ with one space character.
End Actionsgroup Import USLT (3 Actions)
Note: Adapt the tag field name to your needs.
DD.20080611.1705.CEST