Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Coverting id3 tag from the directory path (Read 7105 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Coverting id3 tag from the directory path

Hallo everybody,

in some cases, I have in my archives flac files described just by directory path+filename. Is it possible, after I make mp3 file out of them, to tag them in a batch mode using all info in directory path incl. the year, and extract this info for full tagging as follows:

TAG required:
Artist, Year Album, Track name, Year

The existing path:
\XXXXX\my music\interpret name\year album\track number title

which is in my opinion and for my purposes quite logical

f.i. .........\my music\the legendary pink dots\1986 any day now\01 casting the runes

The tag editors I used to use cannot do that, always some manual edit was necessary, but I am becoming familiar with Godfather which seems to be much sophisticated and great tagging utility, and it maybe can cope with that.

How about batch tagging of blank genres, missing release years and so on in incomplete tags-is there a chance to add them  just by selecting the files and using some commands?

Many thanks in advance,

Crzmn

Coverting id3 tag from the directory path

Reply #1
I am not sure if I got you right... Are you trying to do that with TGF in particular, or are you looking for a general solution? MP3Tag for example can generate tags out of file names (and paths) by using the Filename-Tag assistant.

Coverting id3 tag from the directory path

Reply #2
Foobar can do this with its masstagger, and I believe Tag&Rename can do it as well.

Coverting id3 tag from the directory path

Reply #3
I'm not quite certain why you posted this in the "speech" forum and whether you're still looking for an answer.

Anyway, both Mp3Tag (easier to use) and foobar2000's Masstagger (even more powerful) are my preferred way of tagging files, too. Here are the tagging commands you would need:

Code: [Select]
mp3tag: ..\..\%interpret%\%year% %album%\%track% %title%
Fb2K: ..\..\%interpret%\%date% %album%\%track% %title%

Coverting id3 tag from the directory path

Reply #4
Code: [Select]
Mp3tag:
..\..\%artist%\%year% %album%\%track% %title%
foobar2000:
..\..\%artist%\%date% %album%\%track% %title%

This would be the right syntax (%interpret% would create an INTERPRET tag field).

Best regards,
~ Florian

Coverting id3 tag from the directory path

Reply #5
Quote
(...)
This would be the right syntax (%interpret% would create an INTERPRET tag field).


Oops. You're right, of course. Well, would be weird if you weren't . Anyway, didn't know that the label between the %'s is used as tagname directly. Is that always the case, at least with unknown labels?

Coverting id3 tag from the directory path

Reply #6
Quote
Anyway, didn't know that the label between the %'s is used as tagname directly. Is that always the case, at least with unknown labels?
[a href="index.php?act=findpost&pid=253417"][{POST_SNAPBACK}][/a]

Yes, the part between the two %'s is used as the tag field's name at both foobar2000 and Mp3tag. This way a user can use own tag fields if he needs them.
APEv2 allows all names natively and at ID3v2 unknown fields are saved at TXXX frames.

Best regards,
~ Florian

Coverting id3 tag from the directory path

Reply #7
Quote
I'm not quite certain why you posted this in the "speech" forum and whether you're still looking for an answer.

Anyway, both Mp3Tag (easier to use) and foobar2000's Masstagger (even more powerful) are my preferred way of tagging files, too. Here are the tagging commands you would need:

Code: [Select]
mp3tag: ..\..\%interpret%\%year% %album%\%track% %title%
Fb2K: ..\..\%interpret%\%date% %album%\%track% %title%

[a href="index.php?act=findpost&pid=253155"][{POST_SNAPBACK}][/a]

Coverting id3 tag from the directory path

Reply #8
@crazyman: Uhm, yes? That way my posting, correct

Coverting id3 tag from the directory path

Reply #9
Quote
@crazyman: Uhm, yes? That way my posting, correct
[a href="index.php?act=findpost&pid=256033"][{POST_SNAPBACK}][/a]


Thanks you all who tried to help, and really helped. Sorry I could not react earlier, but my request was (probably by my mistake) placed to another section where I just by chance found it, and not to intended mp3 section.

One more question to Florian or anybody: Is there any batch tagging empty fields after their selection possible, f.i. those genres which is empty in half of my archive tracks, and they are only 4-5 together, so that I don´t need to do that manually ....


Thx,


Crzmn

Coverting id3 tag from the directory path

Reply #10
Quote
Is there any batch tagging empty fields after their selection possible, f.i. those genres which is empty in half of my archive tracks, and they are only 4-5 together, so that I don´t need to do that manually ....

I don't know if I understand you correctly, but you can easily select some tracks in the file view of Mp3tag, enter the genre in the genre field on the left and press Ctrl+S or 'File, Save tag'.

Best regards,
~ Florian

Coverting id3 tag from the directory path

Reply #11
Quote
Hallo everybody,

in some cases, I have in my archives flac files described just by directory path+filename. Is it possible, after I make mp3 file out of them, to tag them in a batch mode using all info in directory path incl. the year, and extract this info for full tagging as follows:

[a href="index.php?act=findpost&pid=249225"][{POST_SNAPBACK}][/a]


Other posts have established which and how various taggers can to this.  Another consideration is that you can tag the flac files before encoding mp3's.. the tags should carry over then you will have both formats tagged.

Coverting id3 tag from the directory path

Reply #12
Quote
Code: [Select]
Mp3tag:
..\..\%artist%\%year% %album%\%track% %title%
foobar2000:
..\..\%artist%\%date% %album%\%track% %title%

This would be the right syntax (%interpret% would create an INTERPRET tag field).

Best regards,
~ Florian
[a href="index.php?act=findpost&pid=253392"][{POST_SNAPBACK}][/a]


I can't make this work !

I use this directory structure :

e:\musique\artist - year - album\01 - title

for example :

e:\musique\mr bungle - 1989 - ou818\02 - squeeze me macaroni.mp3

In Mp3tag I entered

Code: [Select]
%artist% - %year% - %album\%track% - %title%


and here is the preview I obtain :

Code: [Select]
"E:\musique\ou818\01 - Intro.mp3" ->
track: 01
title: Intro

"E:\musique\ou818\02 - Squeeze Me Macaroni.mp3" ->
track: 02
title: Squeeze Me Macaroni

"E:\musique\ou818\03 - Slowly Growing Deaf.mp3" ->
track: 03
title: Slowly Growing Deaf

"E:\musique\ou818\04 - The Girls of Porn.mp3" ->
track: 04
title: The Girls of Porn

"E:\musique\ou818\05 - Love Is A Fist.mp3" ->
track: 05
title: Love Is A Fist

"E:\musique\ou818\06 - Mr Nice Guy.mp3" ->
track: 06
title: Mr Nice Guy


It seems it's not taking the parent directory into account ! What's wrong ?


Coverting id3 tag from the directory path

Reply #14
Damn it ! Thanks Sebastian it works just fine now...