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-02-17, 03:59 PM
uhclem
0.00 KB/0.00 KB/---
 
Lightbulb Shntool frontend

There's a frontend by Speek (the author of Multi-frontend and FLAC-frontend) that can now run shntool for you. It's called BatchEnc.

BatchEnc (which stands for 'batch encoder') is a frontend similar to Multi-frontend, but instead of picking the encoder from a list then selecting or adding in options, you type in the entire command line and save it, and it runs that command line over whatever files you've added to the list. Here's what it looks like:



This means it's not as easy to use as FLAC-frontend or Multi-frontend, but it now will work with shntool, whereas no other Speek frontend will. This is because you tell BatchEnc to work with any command line program you want, i.e. shntool, and, thanks to a change made earlier this month, you can now use the new <allfiles> argument which will tell BatchEnc to pass all the files in your file list to a single instance of the command line, instead of one file at a time.

This, of course, is essential when fixing sector boundary errors, the main purpose of shntool. For instance, if you want to fix the sector boundaries on a set of files you would use a command line such as this:

shntool fix <allfiles>

and BatchEnc will now pass all the files in your list to the command line as one group, in the order they are placed in your list. So make sure you have the files in the right order. Previously BatchEnc could only pass one file at a time to the command line so shntool would have ended up padding the end of each file, which is pointless.

You can also now use BatchEnc for all other shntool modes as well, such as len, md5, etc.

I'm not saying everyone should run out now and learn how to use BatchEnc for this purpose, and I don't think Speek even intended this purpose, but I thought many of you might be interested in checking it out. I've been doing some testing and so far it's working just fine.
Edit/Delete Message Reply With Quote Reply with Nested Quotes
  #2  
Old 2005-02-17, 04:55 PM
Neilyboy Neilyboy is offline
650.53 GB/3.73 TB/5.86
 
Join Date: Nov 2004
Re: Shntool frontend

very clean interface.. thx much man.. ill give it a go

neil
Reply With Quote Reply with Nested Quotes
  #3  
Old 2005-02-17, 05:45 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Shntool frontend

Works very nice!
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
  #4  
Old 2005-02-17, 11:54 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Shntool frontend

excellent!

This absolutely rocks! Got it working in about 10 seconds.

type

Code:
shntool -h
in the command line to get more commands. to use the examples replace *.shn (for example) with <allfiles>

eg:

shntool info <allfiles> > shntool_info.txt
shntool len <allfiles> > shntool_len.txt
shntool md5 <allfiles> > shntool.st5
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #5  
Old 2005-02-21, 09:44 PM
DeepElem
0.00 KB/0.00 KB/---
 
Re: Shntool frontend

Quote:
Originally Posted by uhclem
There's a frontend by Speek (the author of Multi-frontend and FLAC-frontend) that can now run shntool for you. It's called BatchEnc.

BatchEnc (which stands for 'batch encoder') is a frontend similar to Multi-frontend, but instead of picking the encoder from a list then selecting or adding in options, you type in the entire command line and save it, and it runs that command line over whatever files you've added to the list. Here's what it looks like:



This means it's not as easy to use as FLAC-frontend or Multi-frontend, but it now will work with shntool, whereas no other Speek frontend will. This is because you tell BatchEnc to work with any command line program you want, i.e. shntool, and, thanks to a change made earlier this month, you can now use the new <allfiles> argument which will tell BatchEnc to pass all the files in your file list to a single instance of the command line, instead of one file at a time.

This, of course, is essential when fixing sector boundary errors, the main purpose of shntool. For instance, if you want to fix the sector boundaries on a set of files you would use a command line such as this:

shntool fix <allfiles>

and BatchEnc will now pass all the files in your list to the command line as one group, in the order they are placed in your list. So make sure you have the files in the right order. Previously BatchEnc could only pass one file at a time to the command line so shntool would have ended up padding the end of each file, which is pointless.

You can also now use BatchEnc for all other shntool modes as well, such as len, md5, etc.

I'm not saying everyone should run out now and learn how to use BatchEnc for this purpose, and I don't think Speek even intended this purpose, but I thought many of you might be interested in checking it out. I've been doing some testing and so far it's working just fine.
I guess I'm missing something, but if I can type: shntool -fix , or -pad, -strip, or -md5, or whatever, why would I need or want this?
If I can't type the shntool commands, it won't work anyway, right?
Think I'll stick with shntool, just another useless frontend IMO.
Reply With Quote Reply with Nested Quotes
  #6  
Old 2005-02-22, 07:10 AM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Shntool frontend

Quote:
Originally Posted by DeepElem
why would I need or want this?
Because once you get all the useful commands saved it is simple and easy to use

Quote:
Originally Posted by DeepElem
If I can't type the shntool commands, it won't work anyway, right?
It accepts all the shntool commands and works fine in all the shntool modes

Quote:
Originally Posted by DeepElem
Think I'll stick with shntool, just another useless frontend IMO.
Actually - I find this frontend very, very useful (with some help from Uchclem)
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
  #7  
Old 2005-02-24, 11:32 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Shntool frontend

Bump!
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
  #8  
Old 2005-02-25, 02:39 PM
uhclem
0.00 KB/0.00 KB/---
 
Re: Shntool frontend

Quote:
Originally Posted by DeepElem
I guess I'm missing something, but if I can type: shntool -fix , or -pad, -strip, or -md5, or whatever, why would I need or want this?
If I can't type the shntool commands, it won't work anyway, right?
Think I'll stick with shntool, just another useless frontend IMO.
If you have to ask this then you don't really know how to use shntool to begin with. You sound like one of those people who just runs shntool over every file in the directory all at once, w/o any consideration for set breaks or other interruptions between tracks which render track shifts unnecessary and even undesirable.

And BatchEnc is far more useful than quoting my entire original post.
Reply With Quote Reply with Nested Quotes
  #9  
Old 2005-03-04, 01:11 AM
DeepElem
0.00 KB/0.00 KB/---
 
Re: Shntool frontend

Quote:
Originally Posted by uhclem
If you have to ask this then you don't really know how to use shntool to begin with. You sound like one of those people who just runs shntool over every file in the directory all at once, w/o any consideration for set breaks or other interruptions between tracks which render track shifts unnecessary and even undesirable.

And BatchEnc is far more useful than quoting my entire original post.
No, I actually do know how to use it. I had trouble at one time getting it to open ape files, and I wrote Jason, the author, and he gave me upload to his site. It ended up being a bug with win98 and win2k, which is now fixed.
You just seem to like to push frontends like multi frontend, saying mkwACT is outdated. It may be, but it is one of the most simple tools to use. Maybe you just like to impress ppl with your frontends you find, but you tend to try and sway ppl to your views.
My point was only, unless it has the -fix,-pad,-conv,-md5,-strip, etc built in, whats the point.
Using shntool I can do most everything I need to do, without opening another appl.
BTW, Jason is a really nice guy, he replied to me witnin about 4 hours of my writing, he had already at that point tested some ape files and they opened ok for him, thats why he wanted me to upload to him.
I just think that the ppl that make these tools, that work btw, deserve credit, and just because someone happens to want to try and improve it, which in most cases that I've seen, doesn't happen, is wrong to try and sway ppl to them. If Jason had not written shntool, I'd bet that frontend would not have even been thought of.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2005-03-04, 03:15 AM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Shntool frontend

ummm... the frontend is pretty generic. it just stores commands and generates .bat files on the fly for any command line prog.
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #11  
Old 2005-03-04, 10:59 AM
uhclem
0.00 KB/0.00 KB/---
 
Re: Shntool frontend

Quote:
Originally Posted by DeepElem
No, I actually do know how to use it. I had trouble at one time getting it to open ape files, and I wrote Jason, the author, and he gave me upload to his site. It ended up being a bug with win98 and win2k, which is now fixed.
You just seem to like to push frontends like multi frontend, saying mkwACT is outdated. It may be, but it is one of the most simple tools to use. Maybe you just like to impress ppl with your frontends you find, but you tend to try and sway ppl to your views.
My point was only, unless it has the -fix,-pad,-conv,-md5,-strip, etc built in, whats the point.
Using shntool I can do most everything I need to do, without opening another appl.
BTW, Jason is a really nice guy, he replied to me witnin about 4 hours of my writing, he had already at that point tested some ape files and they opened ok for him, thats why he wanted me to upload to him.
I just think that the ppl that make these tools, that work btw, deserve credit, and just because someone happens to want to try and improve it, which in most cases that I've seen, doesn't happen, is wrong to try and sway ppl to them. If Jason had not written shntool, I'd bet that frontend would not have even been thought of.
First let me say that dropping Jason's name into the discussion doesn't add to your credibility. I too have emailed Jason about shntool and received replies and even helped him iron out a bug in shntool. Yes he is a nice guy. So I guess that means we are even on that score.

But what has this got to do with anything? Where did I take away any credit from Jason for coming up with shntool by suggesting that people try out BatchEnc to run shntool? I am a big fan of shntool, which is one of the most useful tools out there for audio enthusiasts.

The biggest problem that many people have using shntool is that they want to fix only a portion of the files in a directory at one time, which means using a simple wildcard like *.shn won't work because that will fix ALL the files. The solution is either you specify more precisely what files you are working with (which is tough for ppl who already have trouble with the command-line ( @ Five)), or you have to split the files up into separate directories. BatchEnc solves this problem by allowing you to pick the files you want to work with in a simple GUI interface, which is what most people prefer. You have not addressed this point at all in your tirade against me. But it is the key point for why someone would want to use BatchEnc. If anyone is doing any bashing here it is you when you called BatchEnc 'just another useless frontend'. Btw as I pointed out above, BatchEnc was apparently NOT even written with shntool in mind. It was written as a general frontend encoder. I was merely pointing out another use for it. And judging by peoples' replies, they have found it useful. I am sorry that this conflicts with the politics of thanking the coders of binaries by always using the command line.

I advocate the use of frontends b/c they are incredibly handy tools for people who want to work with binary files but who don't want to fuss w/ the command line each time. I do not advocate frontends as a way of bashing the programmers of binaries by suggesting that they have not done a complete job. As a matter of fact, I do most of my encoding with batch files that I wrote myself, NOT with frontends. But I am trying to offer advice to the average TTD'er (not to experts like you) who probably don't want to learn how to make a batch file.

And MKW IS obsolete for a number of reasons: 1. It doesn't produce revision 1 seektables, only revision 0; 2. It has serious issues with Win XP SP2 which can render it inoperable. In addition, it is buggy: 1. the tendency to produce .bak files for inexplicable reasons; 2. its default production of .mkw files which has led more than one person to seed such files w/o knowing why they chose that format. The fact is MKWAct is no longer in active development due to the illness of the author (against whom I have nothing, and I wish him all the best), so I think it only makes sense to conclude that it's now obsolete.

But with Multi-frontend you can take advantage of the LATEST developments in SHN because all you have to do is switch to the latest binary. AND it works with flac.exe and even ape too, i.e. one frontend for ALL formats accepted at TTD. But that being said, if MKWAct works for you then keep using it. I've never suggested that anyone should stop using it for decompressing SHNs if they are having no issues with it.

Of course I tend to try to sway ppl to my views. Should I be trying to sway them towards a viewpoint that I don't agree with? That's just plain absurd. Explain to me how what you do is any different.

I've noticed that you seem to have a real chip on your shoulder regarding people who give advice and have opinions, e.g. wazoo2u. And yet you offer very little useful advice yourself; just pointless criticism ('useless frontend') and selfish tirades against people (i.e. wazoo2u) who are only trying to help you. Next time you need help just email your buddy Jason and don't bother posting here.
Reply With Quote Reply with Nested Quotes
  #12  
Old 2005-03-04, 12:24 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: Shntool frontend

Yes, I'm one of those commandline-impaired users. Call it a phobia.

I'm sure there are many more out there. Only after using Batchenc did I finally get a handle on how it works. So I'm very grateful that this thread was started.

Both you guys have done me some good turns in the past and I deeply appreciate it. So please stop fighting. Charlie, why don't you post your SHNtool tutorial you were working on up here in a new thread instead of slamming Uhclem's efforts? I'm sure a lot of people would appreciate it.

Bambi is being released on DVD for the first time... remember what Thumper says: "If you don't have something nice to say, don't say anything at all."
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #13  
Old 2005-03-04, 01:11 PM
pmonk's Avatar
pmonk pmonk is offline
520.32 GB/630.74 GB/1.21
 
Join Date: Nov 2004
Re: Shntool frontend

I agree. Its the use of the frontends and a little help from some friends that made me more competent to use shntool.

Shntool is great but going thru the command process suck (especially of you can't spell or type)!


What takes me 1 minute to do on shntool takes 5 seconds on a frontend!
__________________
You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted: Never
Reply With Quote Reply with Nested Quotes
  #14  
Old 2005-05-26, 05:44 AM
range_hood's Avatar
range_hood range_hood is offline
lsmf
11.44 GB/10.00 GB/0.87
 
Join Date: Apr 2005
Re: Shntool frontend

Thanks uhclem. looks promising. Now I can get rid of all the batch files/summarize it in one textfile.
Would be cool if there was a context field (on/off switch?) where you can give in some text for every command explaining that command, for documentational or learning purposes.
Reply With Quote Reply with Nested Quotes
  #15  
Old 2005-05-27, 02:05 AM
Shakes Shakes is offline
181.32 GB/72.86 GB/0.40
 
Join Date: Nov 2004
Re: Shntool frontend

Is it possible to input an already FLAC encoded file and once placing it in the frontend... just fixing the SBE on that encoded flac file to a new flac file?

So basically, can I do -- FLAC > SBEfix > FLAC?

If I were to do FLAC > WAV > SBEfix > FLAC that would...

1. Have me have to re-generate flac fingerprints that differ from the original.

2. Compress the wav more?

I know FLAC is a loss-less encoder but if I had a FLAC already and decoded to WAV then encoded back to FLAC wouldn't that just make the audio worse, or no?
Reply With Quote Reply with Nested Quotes
Reply

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

Similar Threads
Thread Forum Replies Last Post
Audiophilia - The shntool frontend, v0.0.1 released, alpha testers needed - RainDawg Technobabble 88 2005-08-12 12:56 AM
Audiophilia - The Shntool Frontend Update - RainDawg Technobabble 3 2005-02-23 02:43 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:14 PM.


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