Page 1 of 1

pfpbatchtag from txt-file

Posted: 23 Feb 2023 11:48
by doobeedoo
Hello Bernd

We would like to use the new pfpbatchtag to update the artist and title tags of our audio files. For the moment that information is found in the filename. I've made an excel file who extracts that info from the filename into 2 columns (artist and title).

If I'm right I have to generate a txt file with all the filenames (I suppose that will be full path filename?) and also a metadata.csv file. It's not clear however what structure that CSV file must have ... first row with tags to be modified?, delimiter needed?

Is it possible to give an example or some more explanation?

Thanks in advance

Bernard

Re: pfpbatchtag from txt-file

Posted: 23 Feb 2023 12:51
by radio42
Why so complicated? Just use the existing Tagger application (ProppFrexx Tagger.exe) and open the folder containing those audio files - then select then and right-click on Selection -> Get TAGs from Filename...
In the upcoming dialog you can specify the filename pattern to extract the TAGs...
TAGs from Filename.jpg

However,
an example for the pfpbatchtag.exe tool is explained here: https://www.proppfrexx.radio42.com/foru ... php?t=3340
E.g. use:

Code: Select all

pfpbatchtag.exe -f=generictxt Music1 -i="C:\Export\export.csv"
The format definition (in the example it is called Music1) is defined in the provided file called "pfpbatchtag.importformats". In that format definition you specify the delimiter, headers, quotes, encoding, fields etc. You can add our own formats to that file yourself if you like.

Re: pfpbatchtag from txt-file

Posted: 13 Mar 2023 19:18
by doobeedoo
Hi Bernd

Unfortunately our filenames were not clean enough to use the tagger program to insert the tags from the filename.

Almost everything worked fine with the pfpbatchtag.exe ... only for filenames with square brackets the program had problems ... no error was given but the tags were not updated. Luckily there aren't many of those ... so we'll do these manually.

Bernard

Re: pfpbatchtag from txt-file

Posted: 13 Mar 2023 19:23
by radio42
??? Can you send a sample file?
ProppFrexx is fully Unicode and all characters and filenames are supported.

TAGs depend on the format. Eg. MP3 tags are by default in Latin1. But you can overwrite these in the settings to also support UTF8 here.

Also make sure to specify UTF8 in the .importformats file format specification.

So I need a concrete sample to look at. But square brackets should always be supported. As such I assume another issue with these files.

Re: pfpbatchtag from txt-file

Posted: 15 Mar 2023 15:11
by doobeedoo
Hi Bernd

Attached the test csv-file and the pfpbatchtag.importformats with the format "Noordzee" I used.

Kind regards

Bernard

Re: pfpbatchtag from txt-file

Posted: 15 Mar 2023 19:14
by radio42
Unfortunately there was no .mp3 file attached. So I used my own test file which I renamed to your filename ("Adele - Chasing pavements [Album Version].mp3").
But I could not experience any issue:
Before.jpg
Processing.jpg
After.png
After.png (9.33 KiB) Viewed 1717 times
But I saw a '__MACOSX' sub-folder in your Archive.zip - so could it be, that you are processing it on a MACOSX file system and that the square brackets are problematic using Parallels - as I am using a Windows Filesystem?
Have you tested it under Windows as well?
Or are all filenames using square brackets problematic on your system? As under WIndows they are not!

Re: pfpbatchtag from txt-file

Posted: 13 Apr 2023 16:20
by doobeedoo
Hey Bernd

I did create de zip-file on a macbook. But the conversion was done on a windows machine.

Fortunately there weren't much files with square brackets, so I did the rest manually. We finally have the metadata available and are already showing the metadata on our stream. Now I'm struggling with the RDS feed, but because it's a totally new topic I will open a new topic on that one.

Bernard

Re: pfpbatchtag from txt-file

Posted: 13 Apr 2023 17:49
by radio42
Unfortunately I can not say what might went wrong on your side, as with all my tests it worked fine here. As you can see aboveā€¦
But glad, that all tracks are now tagged correctly again.

A simple RDS example is given here: viewtopic.php?p=2140