I would like to add a line of text as the first line in a .CSV file when using export if possible.
code
$filename(csv,utf-16)Title;Artist;
$loop(%_filename_ext%)%title%;%artist%;
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/
output
Title;Artist;
Elected;Alice Cooper;
School's Out;Alice Cooper;
build on 5/25/2015 with Mp3tag v2.70 - the universal Tag editor - http://www.mp3tag.de/en/
I would like to add text as the first line so the output would look like this:
sep=;
Title;Artist;
Elected;Alice Cooper;
School's Out;Alice Cooper;
build on 5/25/2015 with Mp3tag v2.70 - the universal Tag editor - http://www.mp3tag.de/en/
you could modfiy the export script like this:
$filename(csv,utf-16)sep=;
Title;Artist;
$loop(%_filename_ext%)%title%;%artist%;
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/
FANTASTIC! Thanks, this works great!
I needed this so that the export files could be double clicked on, opening in Excel and having all of the fields in separate columns. Without it all text ended up in column A.
I did change the list separator in Windows 8.1 setup to ; but then , deliminated wouldn't open right.
as , and ; could be part of the data, it might be an idea to use the tab-character as separator - that should avoid confusion:
Title$char(9)Artist
$loop(%_filename_ext%)%title%$char(9)%artist%
$loopend()build on %_date% with %_app% - the universal Tag editor - http://www.mp3tag.de/en/