import from Toolbox losing links to media files
Up one level
import from Toolbox losing links to media files
Where an ELAN file links to multiple media files, my links are being corrupted at the import from Toolbox stage of the following repeated export/import cycle:
ELAN -> Toolbox -> CORRUPTION HAPPENS HERE! -> ELAN -> Toolbox -> etc.
Extracted from an example:
In the first stage, the original ELAN file has the following links to two media files:
<MEDIA_DESCRIPTOR MEDIA_URL="file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.m4a" MIME_TYPE="unknown" RELATIVE_MEDIA_URL="file:/./NM1977_a001_01.m4a"/>
<MEDIA_DESCRIPTOR MEDIA_URL="file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.wav" MIME_TYPE="audio/x-wav" RELATIVE_MEDIA_URL="file:/./NM1977_a001_01.wav"/>
In the second stage, after it is exported to Toolbox, the two links still exist:
\ELANMediaURL file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.m4a
\ELANMediaMIME unknown
\ELANMediaURL file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.wav
\ELANMediaMIME audio/x-wav
In stage three, importing back to ELAN, the links get corrupted:
<MEDIA_DESCRIPTOR MEDIA_URL="file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.m4a file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.wav" MIME_TYPE="unknown audio/x-wav" RELATIVE_MEDIA_URL="file:/../../../../Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.m4a file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.wav"/>
In stage four, the corruption is not corrected when exporting back to Toolbox:
\ELANMediaURL file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.m4a file:///C:/Users/Lol and Enrique/Documents/Lol Work/OLCAP/MCNAIR Converted/Segments/NM1977_a001_01.wav
\ELANMediaMIME unknown audio/x-wav
And so the cycle goes on where my links to the two media files don't stay and I have to re-link every time I import the Toolbox file into ELAN.
Re: import from Toolbox losing links to media files
Yes, I can see that something is going wrong when you have more than one media file. I'll see if that can be fixed before the next release.
-Han