The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2005-03-20, 11:39 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.90 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Batch Files - "How to" + Recipes (add 'em if you got 'em!)

So I found out how to make a batch file...

Right click desktop > new txt file > open this txt file > type in (cut and pasted one from uhclem) batch file recipe > save as "all files" with .bat extension.

Tested it and it works!

I thought it would be cool and helpful if people posted their recipes in this thread for those of us who don't know how to figure it out.
__________________
feralicious goodies
Don't get even.
Get odd.

....

Last edited by feralicious; 2005-03-20 at 01:43 PM.
Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-03-20, 11:41 AM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.90 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Flac Fingerprints batch file - from uhclem

Flac Fingerprints
previously posted by uhclem:

I use a simple batch file to create the fingerprint. It's simple because you just drag 'n' drop the folder containing your new flacs onto the batch file and voila it produces a fingerprint file for you in the folder. Here's the batch file I use:

@echo off
%~d1 & cd "%~1"
for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F" >> "%~n1-ffp.txt"
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-03-20, 11:44 AM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Batch Files - How to plus Recipes?

Remember - that creates a text file. If you just want to do a quick (minus the text) just create a new batch files minus the text command!

@echo off
%~d1 & cd "%~1"
for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F"
pause
Reply With Quote Reply with Nested Quotes
  #4  
Old 2005-03-20, 11:46 AM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Batch Files - How to plus Recipes?

For a shntool md5

@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool md5 *.%%T>>shntool.md5.txt
pause
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-03-20, 11:48 AM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Batch Files - How to plus Recipes?

shntool len

@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T
pause

If you want to save it add the text command on the end!
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-03-20, 01:21 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.90 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
shntool len with txt file added to folder

shntool len with txt file added to folder

Quote:
Originally Posted by pmonk66
shntool len

@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T
pause

If you want to save it add the text command on the end!
played with the txt command from the ffp batch file and this seems to work to add the shntool txt into the folder:


shntool len with txt file added to folder:

@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T >> "%~n1-shntool.txt"

Yay!

edit by U2Lynne: poster asked that batch file be corrected as per uhclem's comments below. We don't want to confuse anyone who doesn't read the whole post.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-03-20, 01:25 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.90 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: Batch Files - How to plus Recipes?

Quote:
Originally Posted by pmonk66
Remember - that creates a text file. If you just want to do a quick (minus the text) just create a new batch files minus the text command!

@echo off
%~d1 & cd "%~1"
for %%F in (*.flac) do metaflac --show-md5sum --with-filename "%%F"
pause
This didn't work for me. Well the cmd box opened and disappeared right quick with no trail left behind, so I assume it didn't work.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-03-20, 01:32 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: shntool len with txt file added to folder

Quote:
Originally Posted by feralicious
@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool len -u mb *.%%T --show-len --with-filename "%%F" >> "%~n1-shntool.txt"
The part highlighted in red is an error. I don't know what it's doing there.
Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-03-20, 01:37 PM
feralicious's Avatar
feralicious feralicious is offline
dare to discover
63.44 GB/133.90 GB/2.11
 
Join Date: Nov 2004
Location: occasionally
Re: shntool len with txt file added to folder

Quote:
Originally Posted by uhclem
The part highlighted in red is an error. I don't know what it's doing there.
Neither do I!!!
But it worked. Ah... I think I had an apostrophe after the %%T when I didn't have the red part, and when I added the red part I got rid of that. So it's probably just sitting there looking pretty while the rest of it does all the work. I'll try without it.

Yep works fine without it. I'll ask a Mod to edit that post. Thanks.

Can you post a Batch file for fixing SBEs? I just checked a show and all files have them.
__________________
feralicious goodies
Don't get even.
Get odd.

....
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-03-20, 02:31 PM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: shntool len with txt file added to folder

Quote:
Originally Posted by feralicious
Can you post a Batch file for fixing SBEs? I just checked a show and all files have them.
IMO - just use Trader's Little Helper to fix SBEs. It does a fine job.

I do have a batch file for shntool sbe but I never used it so I don't think it is a good ise to post
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-03-20, 03:48 PM
Five's Avatar
Five Five is offline
TTD Staff
186.65 GB/588.32 GB/3.15
 
Join Date: Oct 2004
Location: Canada
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)

the only thing with TLH fixing SBEs is if I only want to pad the last track. uhclem gave me a command for shntool to do this (haven't tried it, will post when I do), not sure if TLH can do that. I'm sure it will be able to in time.
__________________
Checksums Demystified EAC Config MakeTorrent WinAmp Config

Modern social theory casts a highly skeptical eye on any declaration that a group of persons is without conflict, and insists, on the contrary, that conflict is natural to groups, and even more, is essential to them. -Patrick Henry
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-03-20, 04:51 PM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)

No - TLH will not fix the silence on the end of the last track - you need to use shntool for that!
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-03-20, 04:56 PM
Five's Avatar
Five Five is offline
TTD Staff
186.65 GB/588.32 GB/3.15
 
Join Date: Oct 2004
Location: Canada
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)

the convenient thing, too, is that if you've installed TLH you've also installed SHNtool. I copied the command for padding the final track with silence on my other computer, I'll post it here later on.
__________________
Checksums Demystified EAC Config MakeTorrent WinAmp Config

Modern social theory casts a highly skeptical eye on any declaration that a group of persons is without conflict, and insists, on the contrary, that conflict is natural to groups, and even more, is essential to them. -Patrick Henry
Reply With Quote Reply with Nested Quotes
  #14  
Old 2005-03-20, 05:16 PM
pmonk's Avatar
pmonk pmonk is offline
510.95 GB/621.08 GB/1.22
 
Join Date: Nov 2004
Re: Batch Files - "How to" + Recipes (add 'em if you got 'em!)

Well - I just downloaded this from eztree (shocking) and this is what I got when I ran the shntool len report

ELECTRIC LADY STUDIOS, NEW-YORK
JUNE 25 & 26 + JULY 23 1970

The directory name is invalid.
length expanded size cdr WAVE problems filename
3:50.41 40668476 --- -- ---xx Track01.flac
0:55.16 9740528 -b- -- ---xx Track02.flac
0:22.71 4047836 --- -- ---xx Track03.flac
4:02.53 42813500 --- -- ---xx Track04.flac
6:29.08 68638460 --- -- ---xx Track05.flac
4:35.59 48648812 --- -- ---xx Track06.flac
12:48.13 135505416 -b- -- ---xx Track07.flac
21:19.38 225705424 -b- -- ---xx Track08.flac
3:32.49 37512092 --- -- ---xx Track09.flac
1:25.34 15074012 --- -- ---xx Track10.flac
0:25.74 4584092 --- -- ---xx Track11.flac
4:43.64 50071772 --- -- ---xx Track12.flac
0:33.05 5833004 --- -- ---xx Track13.flac
3:39.71 38798636 --- -- ---xx Track14.flac
4:19.31 45760556 --- -- ---xx Track15.flac
5:11.12 54888668 --- -- ---xx Track16.flac
78:15.39 789.92 MB (totals for 16 files, 0.5838 o
verall compression ratio)

I use dthe shntool sbe batch file and:

length expanded size cdr WAVE problems filename
3:50.41 40668476 --- -- ----- Track01-fixed.wav
0:55.16 9739676 --- -- ----- Track02-fixed.wav
0:22.71 4047836 --- -- ----- Track03-fixed.wav
4:02.53 42813500 --- -- ----- Track04-fixed.wav
6:29.08 68638460 --- -- ----- Track05-fixed.wav
4:35.59 48648812 --- -- ----- Track06-fixed.wav
12:48.13 135505820 --- -- ----- Track07-fixed.wav
21:19.38 225705020 --- -- ----- Track08-fixed.wav
3:32.49 37512092 --- -- ----- Track09-fixed.wav
1:25.34 15074012 --- -- ----- Track10-fixed.wav
0:25.74 4584092 --- -- ----- Track11-fixed.wav
4:43.64 50071772 --- -- ----- Track12-fixed.wav
0:33.05 5833004 --- -- ----- Track13-fixed.wav
3:39.71 38798636 --- -- ----- Track14-fixed.wav
4:19.31 45760556 --- -- ----- Track15-fixed.wav
5:11.13 54891020 --- -- ----- Track16-fixed.wav
78:15.40 789.92 MB (totals for 16 files, 1.0000 o
verall compression ratio)

So I guess it works (but the command is for backward fix)
Reply With Quote Reply with Nested Quotes
  #15  
Old 2005-03-20, 09:22 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: shntool len with txt file added to folder

Quote:
Originally Posted by feralicious
Can you post a Batch file for fixing SBEs? I just checked a show and all files have them.
Don't use a batch file for fixing SBEs. Here's why. Use TLH or BatchEnc.
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
what does "dvd video files reallocation failed" mean? - chewie420 Technobabble 1 2006-03-04 03:07 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 12:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket
no new posts