IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Tagging from path and file name with tag.exe
phoenix_rising
post Apr 25 2012, 02:27
Post #1





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172



Hi Guys,

Newby here and apology's if this has been answered... It may be quite simply but im not finding tag.exe's documentation very easy to understand...

Im trying to batch encode all of my .ape files with id3v1 tags...
The filenames are as follows:

eg. c:\music\The Al Di Meola Project - Kiss My Axe [EAC APE]\The Al Di Meola Project - Kiss My Axe - Global Safari.ape

I want to populate the tags with the Artist - Album - Title information.

Evertime i refer to the A L T scheme i end up with the following information in the ARTIST field in the tag:

The Al Di Meola Project - Kiss My Axe [EAC APE]

when it should just be:

The Al Di Meola Project

I take it that TAG is pulling the Artist information (A - scheme) information from the foldername...

Is there anyway to tell it NOT to pull this information from the folders and filename and from the cuefile?

or

failing that, is there anyway of telling it not to look at any of the information BEFORE the "-" in the folder name?

ANY HELP WOULD BE LEGENDARY!!! smile.gif

* Maybe theres another command line tagger i can use that will pull the fields from the .cue file as oposed to folder and filename???

This post has been edited by phoenix_rising: Apr 25 2012, 02:29
Go to the top of the page
+Quote Post
Kohlrabi
post Apr 25 2012, 09:11
Post #2





Group: Super Moderator
Posts: 1109
Joined: 12-March 05
From: Kiel, Germany
Member No.: 20561



QUOTE (phoenix_rising @ Apr 25 2012, 03:27) *
Im trying to batch encode all of my .ape files with id3v1 tags...

Why? My educated guess is that any software which can handle APE playback also can handle APE tags.

QUOTE (phoenix_rising @ Apr 25 2012, 03:27) *
eg. c:\music\The Al Di Meola Project - Kiss My Axe [EAC APE]\The Al Di Meola Project - Kiss My Axe - Global Safari.ape

I want to populate the tags with the Artist - Album - Title information.

You can use foobar2000 to masstag your files, just select the files, right click and open the properties. Then click on Tools->Automatically fill values... If, as per your example, the file name contains the whole relevant information, and the folder name is not needed, you can use "File names" as the source (default). Then use the pattern
CODE
%artist% - %album% - %title%
to fill the correct values in the tags. Mind you that this will create APE tags, not ID3, I don't know how to put ID3 into APE files and honestly I don't want to know or care.

Your filenames are missing tracknumber information, so you'd need to add that later, manually. As I understood you have CUE sheets though, you can use those to tag your files using foobar2000, too. You can simply load/open the CUE sheet in foobar2000, and if it finds the referenced files, it will properly be able to play the tracks from the CUE, and you will be able to read the embedded metadata.

This post has been edited by Kohlrabi: Apr 25 2012, 09:13


--------------------
It's only audiophile if it's inconvenient.
Go to the top of the page
+Quote Post
phoenix_rising
post Apr 25 2012, 11:06
Post #3





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172




"Why? My educated guess is that any software which can handle APE playback also can handle APE tags."

Well i believe the ID3v1\v2 tags are FAR more compatible and well supported than the apev2 tagging format ... Can someone confirm?

"You can use foobar2000 to masstag your files, just select the files, right click and open the properties. "

I'm looking for something command line based as my issue really is that im automating the whole process from "unzip-decompress-split-re-encode-tag."


Does anyone have any experience with command line based tagging utility's that can simply write id3v2 (or ape tags) using fields from .cue or filenames exclusively?

Go to the top of the page
+Quote Post
greynol
post Apr 25 2012, 14:31
Post #4





Group: Super Moderator
Posts: 10249
Joined: 1-April 04
From: San Francisco
Member No.: 13167



If it's compatibility that you want then why are you using Monkey's Audio?


--------------------
Your eyes cannot hear.
Go to the top of the page
+Quote Post
phoenix_rising
post Apr 25 2012, 15:36
Post #5





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172



QUOTE (greynol @ Apr 25 2012, 14:31) *
If it's compatibility that you want then why are you using Monkey's Audio?


I hear ya... My reasening is that i've always used monkeys for years and have around 20,000 tracks already in the format... although as of the last few weeks i am seriously thinking of porting over my collection to FLAC to stay current under a format that i believe is still being worked on? I spose my biggest issue with the APE tags is the potential issues i may run into when with having to tag to id3 when porting my collection to mp3 for my phone, car stereo etc... as tagging isnt super important to me as i just want the ARTIST, TITLE and ALBUM info i thought id opt to use what i deemed the most widely supported tag format (ID3)

But going back to my original post does anyone know if i can use tag.exe to read the cue files and populate the .ape files with (any format of tag) as i cant seem to find a command to do it...

Anyone got any commandline alternatives to tag.exe for this? It's literally the last piece of the puzzle for my script and ive trawled the net and forum posts trying to dig out a little self contained command line exectuable i can call in a batch... sad.gif
Go to the top of the page
+Quote Post
greynol
post Apr 25 2012, 16:00
Post #6





Group: Super Moderator
Posts: 10249
Joined: 1-April 04
From: San Francisco
Member No.: 13167



The idea that you're going to have fewer issues with ID3 tags is silly. ID3v2 will require re-writing all your files to disc and ID3v1 has character limitations. Concerns about compatibility are imaginary.

Use APE tags.

This post has been edited by greynol: Apr 25 2012, 16:02


--------------------
Your eyes cannot hear.
Go to the top of the page
+Quote Post
phoenix_rising
post Apr 25 2012, 16:21
Post #7





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172



Thats great, cool i'll do that...

But what Command like utility (cant be GUI) will allow me to ADD apev2 tags to split ape files obtaining the info from reading the .cue file? Thats my real dilemma.

Failing that, what will allow me to embed the .cue file into the full ape image and then allow me to tag it whilst it's split... (command line)

This post has been edited by phoenix_rising: Apr 25 2012, 16:27
Go to the top of the page
+Quote Post
greynol
post Apr 25 2012, 16:47
Post #8





Group: Super Moderator
Posts: 10249
Joined: 1-April 04
From: San Francisco
Member No.: 13167



If you're using Windows, then you can use shntool to split but you'll probably have to create your own script to parse the cue sheet in order to rename the tracks since shntool only assigns generic names unless this has changed. From there you can probably use tag.exe, though it might also require additional scripting to get what you want.

I don't know about other OSes but because Monkey's is primarily used with Windows I wouldn't hold my breath.

Suck it up and use foobar2000.


--------------------
Your eyes cannot hear.
Go to the top of the page
+Quote Post
phoenix_rising
post Apr 25 2012, 17:53
Post #9





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172



I'm decoding it fine, splitting it fine, re-encoding it fine... The problem simply is with adding an APEv2 tag to it.... TAG.exe CAN do it ... but the problem is for some reasen it keeps pulling the ALBUM information from the folder structure as oposed to the filename... but it populates the TITLE and ARTIST from the filename!

Basically, in a nut shell...

I have a lot of ape files in the following format: ARTIST - ALBUM - TITLE without any tag information at all

eg, John Smith - The Best of John Smith - Smithing around.ape

HOW in the HELL can i force tag.exe to add a APEv2 tag for the file using the filename for the information???????

I have the filename broken up with the - limiter so in theory it should be easy!

Alternatively, How can i force TAG.exe to look at the beginning of the filename for the ALBUM information... ? At the moment it pulls the info from the foldername as oposed to the filename sad.gif

This has been kicking around for the last few days and i'm pretty sure someone knows!

This post has been edited by greynol: Apr 25 2012, 18:47
Reason for edit: Merged posts, removed unnecessary quotation of the previous post.
Go to the top of the page
+Quote Post
phoenix_rising
post Apr 25 2012, 21:35
Post #10





Group: Members
Posts: 7
Joined: 25-April 12
Member No.: 99172



Cussed it!!

Basically i needed to edit the tag.cfg with the scheme:

%A - %L - %T

Works a treat.

Thanks everyone for your input.
Go to the top of the page
+Quote Post
greynol
post Apr 26 2012, 02:15
Post #11





Group: Super Moderator
Posts: 10249
Joined: 1-April 04
From: San Francisco
Member No.: 13167



Glad to hear it! smile.gif

What program did you use to do the splitting? Did you use anything else besides that and tag.exe?


--------------------
Your eyes cannot hear.
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: 23rd November 2014 - 11:10