Any suggestion or best way to copy 48 tags from MP3 files located in one subdirectory to FLAC files located in a different subdirectory under parent directory?
I exported and edited a csv file, but always get “Cannot parse at Line 1…” error message whenever I import the file no matter how many different ways I try.
Before importing the file, I removed the header and added data to all fields. I also checked the spelling of field names and the order of their appearance in the Tag Panel. I only edited the exported file and get the error message when I import the same file. I used %dummy% in fields that I don’t want to import, but didn’t use it in the “_path”, “path”, or “_filename” fields.
The csv list is sorted by “ID_Unique” that I use to match MP3 and FLAC files, instead of using “_path”, “path” or “_filename”. The list order does not match exactly because of the different amounts of FLAC files verses MP3s.
Any help would be greatly appreciated. Thanks in advance!
The order in the tag panel does not really matter. More important are the real field names (and not their visible labels).
You would have to show us at least 1 line from the data file and also the field list that you use for import.
But perhaps that is all a little complicated.
Please try the follwing:
Sort the mp3 files and the flac files so that they follow the same order, i.e. the data from the first mp3 should be copied to the first flac, the second to the second and so on.
Select all mp3 files
Use Edit > Copy Tag (or Ctrl-C)
Select all flac files
Use Edit > Paste Tag (or Ctrl-V)
The data from the mp3 files should now show up in the flac files. Including any embedded picture.
I’m working with 105+K files to produce the exported/imported file that produces the error: “Cannot parse line 1 - imported tags from … to one file.” and does not update the line shown below. I tried to import with and without Line 1 (Headings).
$filename(csv,utf-16)
Path;ID Number;Name;Title;Title SORT;Title Artist AS SHOWN;Title Artist FOLDER;Album Artist PARENT FOLDER;_Album Artist FOLDER;_Album Artist FOLDER SORT;Title Artist SORT;Title Artist FOLDER SORT;Contributing Artists/Guests;Aliases-Group Members-Associates;Album;Album ORIGINAL;Track;Year;Year Title ORIGINAL;Year Album ORIGINAL;Year Title REISSUE;Year Album REISSUE;Genre;Rating;BPM;Length;Compilation;Greatest Hits;Instrumental;Live;Soundtrack;Mix;For Sale;For Sale MEDIA;For Sale PRICE;Tangible;FLAC;Condition Cover;Condition Media;Barcode;Catalog Number;URL CLOUD;URL PASSWORD;Lyrics;Composer;Publisher;
$loop(%_filename_ext%)%dummy%;%id_number%;%dummy%;%title%;%titlesort%;%title_artist_shown_as%;%title_artist_folder%;%albumartist%;%album_artist_folder%;%album_artist_folder_sort%;%title_artist_sort%;%title_artist_folder_sort%;%artist%;%aliases%;%album%;%origalbum%;%track%;%year%;%origyear%;%year_album_original%;%year_title_reissue%;%year_album_reissue%;%genre%;%rating wmp%;%bpm%;%_length%;%compilation%;%greatest_hits%;%instrumental%;%live%;%soundtrack%;%mix%;%for_sale%;%for_sale_media%;%for_sale_price%;%tangible%;%flac%;%condition_cover%;%condition_media%;%barcode%;%catalognumber%;%url_cloud%;%url_password%;%unsyncedlyrics%;%composer%;%publisher%;
$loopend()
The file must contain only importable data - no headings.
The files must have a structure of 1 record per line, the line must be terminated with carriage return/linefeed characters.
Line breaks must not be part of the payload data.
The data in the fields must not contain the field separator as character, otherwise the field count will fail
To assign data to a particular file, the path to the target file must be part of the corresponding record.
E.g. if you exported from mp3 files as source and the target files are flac, then you have to adapt the path and the file extension.
I do not see the list of fields that you use for import - the export looks strange to me as you have a couple of %dummy% fields which should lead to ignored contents. While this may be OK for import it looks strange for an export as it would be easier to leave out the data from start.
A further obstacle could be: the filenames without extension have to be the same for source and target files.
The image shown with headings is what the exported file looks like after I open it and separate it in Excel. All the data looks fine. I change data in any field and save the file saved as comma separated delimiter. Next I import it using the same file structure and “%tags% separated by ;” in the format string.
The imported CSV file shows the fields separated by spaces (replacing the Tab. I guess). I replaced the spaces with ; as shown below, but still get “Cannot pase Line 1 error”.
C:\Music\MP3s Collection\R&B, Soul\K\Kool & The Gang\Kool & The Gang - Everybody's Dancin' [1978]\It's All You Need.mp3;50694;It's All You Need;It's All You Need;;;__;Kool & The Gang;Various Artists;Various Artists;Cool and The Gang;Cool and The Gang;"JT Taylor | James ""J.T."" Taylor";"JT Taylor | James ""J.T."" Taylor";Everybody's Dancin';Everybody's Dancin';8;1978;1978;1978;N/A;2003;R&B/Soul;5;95;3:13;1;1;1;1;1;1;Yes;CD Album;1;1;1;2 - Near Mint (NM or M-): Almost flawless, minimal signs of handling., markings indicating singles, videos, and favorite songs;3 - Excellent (E) / Very Good Plus (VG+): Light signs of wear or light scuffs, but nothing that significantly impacts sound quality.;074646741924;BK 67419;www.____.com;N/A;"eng||Gigolette";"Rose Marie McCoy | Sylvia McKinney";De-Lite Records
You would have to define a list of fields - the sample record features 46 fields.
column 5&6 are empty - if that is intended.
The export script creates 47 fields.
I actually tried the data, put it in a text file (just a single line),
selected a test audio file,
selected Convert>Text file-Tag and selected the just created text file
set the field list
%dummy%;%id_number%;%dummy%;%title%;%titlesort%;%title_artist_shown_as%;%title_artist_folder%;%albumartist%;%album_artist_folder%;%album_artist_folder_sort%;%title_artist_sort%;%title_artist_folder_sort%;%artist%;%aliases%;%album%;%origalbum%;%track%;%year%;%origyear%;%year_album_original%;%year_title_reissue%;%year_album_reissue%;%genre%;%rating wmp%;%bpm%;%_length%;%compilation%;%greatest_hits%;%instrumental%;%live%;%soundtrack%;%mix%;%for_sale%;%for_sale_media%;%for_sale_price%;%tangible%;%flac%;%condition_cover%;%condition_media%;%barcode%;%catalognumber%;%url_cloud%;%url_password%;%unsyncedlyrics%;%composer%;%publisher%
Which led to added fields in the sample file:
So you would have to check what is different in your environment
Thanks so much, I’ll try again. I do see that there are a few fields that I don’t want to remove.