IPB

Welcome Guest ( Log In | Register )

> Notice!

Please take a minute to check our Frequently Asked Questions. Use Search to reveal possible related topics.

Also make sure you've read the Forum Guidelines before posting in this forum.

 
Reply to this topicStart new topic
> Batch convert tag-filename?
.MG
post May 11 2017, 15:59
Post #1


Member


Group: Members
Posts: 3
Joined: 11-May 17
Member No.: 23414
Mp3tag Version: 2.82



I had no problem doing a batch filename --> tag operation..
But I can't seem to rename files with tag --> filename
Using mp3tag version 2.82

Any suggestions appreciated


The first part worked great
Convert a directory of flac files filename --> tag
This worked great, with the simple parsing "%artist% - %title%"

But when I try to rename a directory of .m4a tracks from the title tag..
For a single file:

Whitney Houston - I look to you.m4a
Format string: %artist% - %title%
preview: "- Whitney Houston - I look to you.m4a"

And for a batch (2,000) of files:

Whitney Houston - I look to you.m4a
Format string: %artist% - %title%
preview: " - .m4a"

Am I missing something obvious? I could work around the "- " prefix quirk if I only needed to rename one file. But when I try a batch tag-filename operation the preview shows that the tag fields are not passed resulting in blank filenames.










edited for typos; .mp4 --> .m4a

This post has been edited by .MG: May 12 2017, 07:25
Go to the top of the page
 
+Quote Post
ohrenkino
post May 11 2017, 18:21
Post #2


Member


Group: Full Members
Posts: 9013
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84a



if you see nothing but the "-" as the filename, then you have not got any data in the referenced fields (or at least this is the case in the first file).

Do you see data in the columns of the file list? If that is empty, then the import from the file names with Convert>Filename-Tag did not go as expected.
Check the extended tags dialogue (Alt-T) for one file and see which field names you find.
Is there a typo like "titel" instead of "title"?
If you cannot find anything, a screenshot of the extended tags dialogue would be great.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
.MG
post May 12 2017, 06:17
Post #3


Member


Group: Members
Posts: 3
Joined: 11-May 17
Member No.: 23414
Mp3tag Version: 2.82



Thank you for pointing me in the right direction. Sure enough, there were a dozen files with empty tags at the top of the list, so that the first preview screen was showing all blank results.

The only remaining issue is that I still get " - " prefixed to the tag-filename results

e.g. tag - filename
%artist - %title

original filename: [varies] e.g. Ariana Grande - Into you (24-96) (2017 HDtracks) (SACD sr) (2016).m4a
original title tag: Ariana Grande - Into you.m4a
converted filename: - Ariana Grande - Into you.m4a

It's not obvious why the hyphen is prefixed or how to squelch it. Does mp3tag presume that we will always use a minimum of three tag fields? But it isn't very hard to workaround either as consistent prefixes can be stripped with a bulk renaming utility.
Go to the top of the page
 
+Quote Post
ohrenkino
post May 12 2017, 06:34
Post #4


Member


Group: Full Members
Posts: 9013
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84a



ZITAT(.MG @ May 12 2017, 07:17) *
...Does mp3tag presume that we will always use a minimum of three tag fields? ...

No, MP3tag does not presume anything in this case, it only uses, what data you supply.
So you have to check if either the string you use for filenames has a leading hyphen or whether the data in ARTIST itself has that - sort by ARTIST and see if you find artists with that character in front.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
.MG
post May 12 2017, 07:22
Post #5


Member


Group: Members
Posts: 3
Joined: 11-May 17
Member No.: 23414
Mp3tag Version: 2.82



There wasn't a leading hyphen in the ARTIST column or elsewhere. But it eventually dawned on me what was causing it. mp3tag is deriving each string variable from a different tag, rather than pulling multiple variables from a single tag as I was expecting as I was accustomed to with another program.

Not an issue at all once it was clear what is happening.

Thanks for your assistance in figuring out what had transpired.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2017 - 06:14