View Single Post
  #114  
Old 2005-04-20, 06:19 PM
dancin_carrot's Avatar
dancin_carrot dancin_carrot is offline
listen to k.h.b.r.
 
Join Date: Mar 2005
Location: BC
Re: Trader's Little Helper

I know what you're saying roann, but something about the way TLH is set up doesn't work with how shntool works. Here's an example.

I have this show that only has an SBE on the last track of the second disk:

Code:
    length     expanded size   cdr  WAVE problems filename
     5:03.13       53479820    ---   --   ---xx   cj2001-11-07d2t01.shn
     5:15.74       55740092    ---   --   ---xx   cj2001-11-07d2t02.shn
     4:52.67       51666428    ---   --   ---xx   cj2001-11-07d2t03.shn
    14:14.71      150812636    ---   --   ---xx   cj2001-11-07d2t04.shn
     5:41.54       60279452    ---   --   ---xx   cj2001-11-07d2t05.shn
     5:58.37       63238056    -b-   --   ---xx   cj2001-11-07d2t06.shn
    41:07.16      435216484 B                     (totals for 6 files, 0.5403 overall compression ratio)
I hit Fix SBEs. I make sure Pad Last File is checked. I then hit fix:

Code:
shntool [fix]: warning: skipping first 5 files because they would not be changed
shntool [fix]: error: need two or more files to process

There were errors.
You can see from the error log that TLH skips the first 5 because nothing needs to be done. Fair enough, except that it is now only telling shntool to fix one track. Shntool can't do this, so it produces an error and never even gets to the padding part.

Now to the fun part. I load up the same show, except I put another track that has an SBE in front of it:

Code:
    length     expanded size   cdr  WAVE problems filename
     4:05.62       43364208    -b-   --   ---xx   cj2001-11-07d1t13.shn
     5:03.13       53479820    ---   --   ---xx   cj2001-11-07d2t01.shn
     5:15.74       55740092    ---   --   ---xx   cj2001-11-07d2t02.shn
     4:52.67       51666428    ---   --   ---xx   cj2001-11-07d2t03.shn
    14:14.71      150812636    ---   --   ---xx   cj2001-11-07d2t04.shn
     5:41.54       60279452    ---   --   ---xx   cj2001-11-07d2t05.shn
     5:58.37       63238056    -b-   --   ---xx   cj2001-11-07d2t06.shn
    45:13.03      478580692 B                     (totals for 7 files, 0.5284 overall compression ratio)
I hit fix, then preview and voila:

Code:
Preview of changes:
-------------------

Track breaks will be shifted backward when necessary.

cj2001-11-07d1t13.shn --> cj2001-11-07d1t13-fixed.shn
  - beginning of track will remain unchanged
  - data size will decrease by 340 bytes

<SNIP>

cj2001-11-07d2t06.shn --> cj2001-11-07d2t06-fixed.shn
  - beginning of track will be moved backward by 340 bytes
  - data size will increase by 340 bytes

The last file 'cj2001-11-07d2t06-fixed.shn' would be padded with 2224 zero-bytes.
Perfect, no errors.

TLH will not work when a show has only an SBE on the last track. Don't get me wrong, I love this program. I'm just trying to help you make it even better.

-Alex
Reply With Quote Reply with Nested Quotes