IPB

Welcome Guest ( Log In | Register )

> Upload forum rules

- No over 30 sec clips of copyrighted music. Cite properly and never more than necessary for the discussion.


- No copyrighted software without permission.


- Click here for complete Hydrogenaudio Terms of Service

Changes Made to TAG.EXE, Tags from text file & OptimFrog support
Synthetic Soul
post Aug 22 2004, 21:00
Post #1





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



2006-02-08 11:53 :
2.0.45 released. As well as --tocue, --tocuen and --tocuea, I have now added the --paranoid switch which will cause warnings and non-critical errors to return a non-zero return code, so that this can be picked up in a script. Thanks to R Hannes Beinert for the suggestion and patch.

2005-12-08 13:24 :
2.0.45b9: Added code to fix memory leak. Report and code kindly provided by Steve Vibert.

2005-12-08 13:24 :
2.0.45b8: Added --tocue, --tocuen and --tocuea. libVorbis 1.1.2 & libOgg 1.1.3.

2005-04-21 22:00 BST:
If you downloaded Tag 2.0.43 before 19:30 BST you may want to download it again.

See this post for more info.

2005-04-21:
QUOTE (Compact Dick @ Feb 9 2005, 02:40 AM)
a small bug report for 2.0.42. View APE 3.98 and higher files' tags and the details field is incorrect, for example: "Details: 24 Hz, playtime 42274:53:30". The 24 Hz part is always constant.

Version 2.0.43 has been uploaded.

v3.98+ APE files are now detailed correctly. Also, the 10KB limit when using the -f switch has been removed.

Update: wapet has also been updated now, so that the 10KB limit no longer applies. wapet 0.5 available here.

2005-02-07:
I thought I may as well record on forum that I have updated Case's Tag with libFLAC 1.1.2. You can get it here.

It now uses libFLAC 1.1.2, libOgg 1.1.2 and libVorbis 1.1.0 - all the most recent releases.

I see from the FLAC changelog that there have been some changes relevant to VORBIS tagging, so I thought I may as well.

Original Post:
This topic explains the history of this amendment

EAC+MAC+TAG+PAR2

There is a little information, and all the downloads here:

http://synthetic-soul.co.uk/tag/

I hope someone else finds this useful as well.

wapet is also now available, with the additional -f switch.

This post has been edited by Synthetic Soul: Feb 8 2006, 12:59


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Synthetic Soul
post Dec 5 2007, 20:57
Post #2





Group: Super Moderator
Posts: 4887
Joined: 12-August 04
From: Exeter, UK
Member No.: 16217



--allow will check for an exact match, and that's all. I'm not sure that it is any use to you.

I don't know what scripting language you are using, but I would probably look to using Tag's --tostdoutn switch, to output the value of a specific tag to STDOUT - checking to see whether the value was empty or not and acting accordingly.

Here is a simple DOS example, that will check for the existence of the Artist tag in all MP3s in a directory, and its subdirectories:

CODE
@ECHO OFF

FOR /R %1 %%G IN (*.mp3) DO CALL :CheckArtist "%%G"

PAUSE

GOTO :EOF

:CheckArtist
    CALL :GetTag Artist %1
    IF [] EQU [%Artist%] ECHO %1 has no Artist field.
GOTO :EOF

:GetTag
    TAG.EXE --tostdoutn %1 --hideinfo --hidetags --hidenames %2>"%TEMP%\tmp.txt"
    SET /P %1=<"%TEMP%\tmp.txt"
    DEL "%TEMP%\tmp.txt"
GOTO :EOF

(Save as a BAT file and drag the root folder onto the icon to test - or pass the folder path as a parameter on the command line.)

This post has been edited by Synthetic Soul: Dec 5 2007, 21:09


--------------------
I'm on a horse.
Go to the top of the page
+Quote Post

Posts in this topic
- Synthetic Soul   Changes Made to TAG.EXE   Aug 22 2004, 21:00
- - phwip   Thanks for this. Tag is for me an incredibly usef...   Aug 23 2004, 09:57
- - Synthetic Soul   Thanks for the feedback phwip. I will investigate...   Aug 23 2004, 12:05
- - phwip   I've tested this a little further with APEv2, ...   Aug 23 2004, 13:20
- - Synthetic Soul   I'm pretty sure I've resolved this now. T...   Aug 23 2004, 14:53
- - phwip   Excellent. Overcomes the problem for all the tag ...   Aug 23 2004, 16:35
- - Synthetic Soul   Good news. I'm hoping to get chance to test o...   Aug 23 2004, 17:06
- - Synthetic Soul   I thought I may as well record on forum that I hav...   Feb 7 2005, 14:35
|- - Compact Dick   Hi Synthetic Soul, a small bug report for 2.0.42....   Feb 9 2005, 02:40
- - Cutter   Hello! This program is really useful for crea...   Feb 8 2005, 21:01
- - Synthetic Soul   QUOTE (Cutter @ Feb 8 2005, 08:01 PM)This pro...   Feb 9 2005, 13:13
- - Skates   Any chance of adding support for the removal of sp...   Mar 8 2005, 03:13
- - Synthetic Soul   To remove an individual tag in Tag just use: TAG....   Mar 8 2005, 09:57
- - Synthetic Soul   QUOTE (Compact Dick @ Feb 9 2005, 02:40 AM)a ...   Apr 21 2005, 12:05
- - Synthetic Soul   QUOTE (Synthetic Soul @ Feb 9 2005, 01:13 PM)...   Apr 21 2005, 12:14
- - Buddy Casino   When trying to download 2.0.43 I get a 404...   Apr 21 2005, 12:50
- - Synthetic Soul   Sorry - should be there now.   Apr 21 2005, 13:04
- - Synthetic Soul   wapet has also been updated now, so that the 10KB ...   Apr 21 2005, 17:00
- - Synthetic Soul   If you downloaded Tag 2.0.43 before 19:30 BST you ...   Apr 21 2005, 22:08
|- - Supernaut   QUOTE (Synthetic Soul @ Apr 21 2005, 10:08 PM...   Apr 21 2005, 23:24
- - xmixahlx   was gcc used to compile TAG before?   Apr 22 2005, 02:08
- - Compact Dick   tag 2.0.43 reports the correct bitrate for APE fil...   Apr 22 2005, 02:43
- - Synthetic Soul   QUOTE (Supernaut @ Apr 21 2005, 11:24 PM)Righ...   Apr 22 2005, 08:56
- - Bryanhoop   Rename From Tag Then Tag From Filename CODE@ECHO O...   Jul 6 2005, 00:22
- - Synthetic Soul   Following a request from [proxima] I have made som...   Dec 8 2005, 14:26
|- - [proxima]   QUOTE (Synthetic Soul @ Dec 8 2005, 02:26 PM)...   Dec 8 2005, 14:49
- - [proxima]   @Synthetic Soul: the new switches you added return...   Dec 10 2005, 02:12
- - Synthetic Soul   I can't really return a non-zero value, as it ...   Dec 10 2005, 20:51
- - JJZolx   I'm sure TAG.EXE has a long and storied past, ...   Jan 13 2006, 21:49
- - Synthetic Soul   Much of the story I can't explain. I am a rel...   Jan 13 2006, 23:18
- - lossman   Is there any way to pipe the output to a text file...   Jan 20 2006, 10:18
- - Synthetic Soul   TAG.EXE --stdout *.* > report.txt You will nee...   Jan 20 2006, 10:28
- - hawkeye_p   use the --nfo switch! Edit: Ooops Synthetic_S...   Jan 20 2006, 10:35
- - lossman   Thanks guys, cant believe i missed that one! ...   Jan 20 2006, 11:02
- - audiophiler   ...i hope for an id3v2 writing support.... ... if ...   Mar 26 2006, 07:40
- - cyborg   Tag.exe doesn't seem to be able to read ID3v2 ...   Mar 26 2006, 11:30
- - Synthetic Soul   Sorry, no. I just don't have the knowledge of...   Mar 26 2006, 12:03
- - odyssey   Damn, I really hoped tag.exe could write ID3v2...   Apr 12 2006, 12:27
|- - rjamorim   QUOTE (odyssey @ Apr 12 2006, 08:27) Damn...   Mar 1 2007, 03:57
|- - Andavari   QUOTE (rjamorim @ Feb 28 2007, 21:57) QUO...   Mar 12 2007, 12:01
- - vasya_pupkin   I have a small feature request. Since foobar2000 s...   Oct 31 2006, 04:08
- - dv1989   Try loading all of the MP3s whose tags you want to...   Oct 31 2006, 10:45
|- - vasya_pupkin   QUOTE (dv1989 @ Oct 31 2006, 12:45) Try l...   Oct 31 2006, 11:58
|- - odyssey   QUOTE (dv1989 @ Oct 31 2006, 10:45) Try l...   Oct 31 2006, 16:45
|- - urak   QUOTE (odyssey @ Oct 31 2006, 15:45) HMM ...   Oct 31 2006, 17:03
- - Daijoubu   I've got those ID3v2 tag that iTune produce wi...   Mar 12 2007, 09:00
- - fairway   Hello Is there a reason that tag.exe does not cre...   Apr 24 2007, 18:41
- - Synthetic Soul   I'm not familiar with M3U playlists, or Tag...   May 2 2007, 07:42
|- - fairway   QUOTE (Synthetic Soul @ May 2 2007, 07:42...   May 2 2007, 07:48
- - Synthetic Soul   Just tried. I got the header (below), but not any...   May 2 2007, 08:22
- - Synthetic Soul   Thinking about it, I think this will be because Ta...   May 2 2007, 09:20
- - Synthetic Soul   OK, you can give Tag 2.0.52 a go. This version sh...   May 2 2007, 20:09
- - WaldoMonster   I use tag.exe to write the correct tags based on f...   May 5 2007, 22:59
- - Synthetic Soul   I can confirm that this is the case, but can't...   May 6 2007, 13:24
- - Synthetic Soul   Doh. Just seen the real culprit just before that ...   May 6 2007, 18:38
- - WaldoMonster   Thanks for the clear explanation. I understand th...   May 6 2007, 22:06
- - Synthetic Soul   Well, users should really be able to swap any char...   May 7 2007, 06:48
- - WaldoMonster   If I understood correctly than the ; will still be...   May 7 2007, 08:13
- - Synthetic Soul   You understand correctly. You can try 2.0.53b1. F...   May 7 2007, 09:34
- - WaldoMonster   Simply fixes are mostly the best Everything see...   May 7 2007, 10:20
- - WaldoMonster   I have done some test the last days with tag 2.0.5...   May 11 2007, 15:33
- - Synthetic Soul   It looks to me as though there is a way to get the...   May 11 2007, 17:08
- - WaldoMonster   I don't want to be a pain in the arse But s...   May 11 2007, 19:10
- - vasya_pupkin   I have a feature request. Tag currently doesn...   May 11 2007, 19:36
- - Synthetic Soul   QUOTE (WaldoMonster @ May 11 2007, 19:10)...   May 11 2007, 21:48
|- - vasya_pupkin   QUOTE (Synthetic Soul @ May 11 2007, 23:4...   May 12 2007, 00:59
|- - Synthetic Soul   QUOTE (vasya_pupkin @ May 12 2007, 00:59)...   May 12 2007, 08:23
|- - vasya_pupkin   QUOTE (Synthetic Soul @ May 12 2007, 10:2...   May 12 2007, 13:08
||- - Synthetic Soul   QUOTE (vasya_pupkin @ May 12 2007, 13:08)...   May 12 2007, 13:19
|- - vasya_pupkin   QUOTE (Synthetic Soul @ May 12 2007, 10:2...   May 12 2007, 15:03
- - Synthetic Soul   That appears to work. Shouldn't it still pad ...   May 12 2007, 16:01
- - vasya_pupkin   Thank you very much! It works!   May 12 2007, 17:57
- - odyssey   Ummm, is it possible to avoid printing the copyrig...   Oct 31 2007, 18:13
- - Synthetic Soul   I don't think that you can, but I don't th...   Oct 31 2007, 21:03
|- - odyssey   QUOTE (Synthetic Soul @ Oct 31 2007, 21:0...   Nov 26 2007, 16:04
- - A1S   Thanks for the tool. Will not prompt, how I can wr...   Nov 26 2007, 14:23
- - Synthetic Soul   QUOTE (odyssey @ Oct 31 2007, 17:13) Ummm...   Nov 26 2007, 17:38
|- - A1S   QUOTE (Synthetic Soul @ Nov 26 2007, 19:3...   Nov 26 2007, 18:52
- - Synthetic Soul   There is every possibility, but very little probab...   Nov 26 2007, 19:27
- - A1S   But can all the same it will be possible? We by m...   Nov 27 2007, 00:28
- - Synthetic Soul   It is obviously possible for an accomplished C(++)...   Nov 27 2007, 10:27
- - ntan01   I am having a technical problem with tag.exe. My ...   Dec 3 2007, 21:43
- - Synthetic Soul   --allow will check for an exact match, and that...   Dec 5 2007, 20:57
- - ntan01   Thanks. When I drag and drop, it works fine, but I...   Dec 6 2007, 17:02
- - Synthetic Soul   It may be to do with the path to Tag. Try changin...   Dec 6 2007, 17:13
- - odyssey   Is it impossible to remove all tags from a file, w...   May 25 2008, 23:14
- - Paul Burger   Hi Synthetic Soul, First of all, thanks for keepi...   Aug 5 2008, 13:14
- - noorotic   Synthetic Soul, I had not checked this thread in a...   Aug 5 2008, 16:10
- - Synthetic Soul   QUOTE (Paul Burger @ Aug 5 2008, 13:14) I...   Aug 5 2008, 16:46
- - Synthetic Soul   Off-topic posts regarding REACT moved to a new thr...   Aug 7 2008, 13:11
- - Lurkas   TAG doesn't write ID3v2.3 tags. The source is ...   Aug 7 2008, 13:47
|- - greynol   QUOTE (Lurkas @ Aug 7 2008, 05:47) TAG do...   Aug 7 2008, 15:49
- - Synthetic Soul   Would metamp3 (search this board) be of any use?   Aug 7 2008, 13:49
- - Lurkas   Thanks for the notification but I had a look at it...   Aug 7 2008, 14:26
- - Lurkas   That sounds interesting. Can someone please explai...   Aug 7 2008, 16:16
- - greynol   CODEtag %1 2> "%~1.tag" FOR /F ...   Aug 7 2008, 16:25
- - Lurkas   Thank you for your reply greynol. I assume that...   Aug 7 2008, 17:59
- - greynol   It's a subroutine to be used in a batch script...   Aug 7 2008, 18:19
- - Lurkas   Can I get this to work with wildcards, and what sy...   Aug 11 2008, 20:30
- - greynol   >Can I get this to work with wildcards, and wha...   Aug 11 2008, 20:45
2 Pages V   1 2 >


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: 20th April 2014 - 14:36