1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WebIF Autoshrink

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by Black Hole, Jul 24, 2012.

  1. Black Hole

    Black Hole Felonius Gru

    Note: there is another Shrink topic HERE (click).

    I've set autoshrink on my Films folder. There's a problem though - with the originals being "deleted" to the recycle bin, my disk is going to fill up before it's finished.

    What will happen when the disk is full?

    What can I do about it?
     
  2. Scuttlebroom

    Scuttlebroom Member

    I have done that too on my films folder, after I did a few test runs, and all seemed OK, so I have simply bitten the bullet (Ohh I like living on the edge, the view is much nicer?!) and decided to delete the originals!

    On a more serious note, you could FTP them to a hard drive (PC?) and then if there are any issues, you have the original?
     
  3. Black Hole

    Black Hole Felonius Gru

    I'm not worried about the process itself, but I'm not too keen on being the guinea pig for a full disk in the middle of something.
     
  4. Scuttlebroom

    Scuttlebroom Member

    Sorry BH, misunderstood your question!

    I thought you were wondering when you could safely delete the original recordings, so you don't have duplicates as well as reducing your drives capacity!

    No idea what happens when the disk gets full, I too would also like to know the steps it takes, warnings it gives, or does it simply stop recording right in the middle of the programme?
     
  5. af123

    af123 Administrator Staff Member

    It may not fail gracefully. The disk filling up hasn't been extensively tested.
    Stopping the process is tricky (you need to kill the cron daemon and then the auto job that's already running) so your only recourse may be to remove files from the dustbin as it progresses (FTP them off first if time permits and you want to be cautious)
     
  6. Black Hole

    Black Hole Felonius Gru

    I think I'll disable autoshrink for the moment.

    When deleting something from the bin, does it just get "moved" to the bin?
     
  7. Black Hole

    Black Hole Felonius Gru

    I think, as far as the normal operation is concerned, the Humax just refuses to make the recording.
     
  8. af123

    af123 Administrator Staff Member

    It will be just deleted (whether you delete from OSD or Webif)
     
    Black Hole likes this.
  9. Black Hole

    Black Hole Felonius Gru

    Good stuff.
     
  10. Black Hole

    Black Hole Felonius Gru

    Well, I've turned on autoshrink for my films folder again and it doesn't appear to be doing anything despite a reboot. Something I've forgotten?
     
  11. af123

    af123 Administrator Staff Member

    Can't think of anything - check the webif_auto log.
     
  12. Black Hole

    Black Hole Felonius Gru

    !!!

    It says all my .hmt files are missing!

    I will have to fire up my proper PC to check, but I can't imagine why they would all be missing - the list includes recordings I only moved in there this morning.
     
  13. Black Hole

    Black Hole Felonius Gru

    Well, the WebIF file editor thinks the .hmts exist, so where do we go from here?
     
  14. af123

    af123 Administrator Staff Member

    Can you post the exact error message you're getting in the log so I can work out where it's coming from?
     
  15. Black Hole

    Black Hole Felonius Gru

    Code:
    SHRINK: [/media/My Video/I'm Sorry I Haven't a Clue]
    SHRINK: [/media/My Video/Friday Night Is Music Night]
    SHRINK: [/media/My Video/[FILMS]]
              Error: /media/My Video/\[FILMS]/Dirty Dancing_20110815_2059.hmt: No such file or directory
    Cannot open HMT file for '/media/My Video/\[FILMS]/Dirty Dancing_20110815_2059'.
              Error: /media/My Video/\[FILMS]/Day of the Jackal_20110913_2059.hmt: No such file or directory
    Cannot open HMT file for '/media/My Video/\[FILMS]/Day of the Jackal_20110913_2059'.
              Error: /media/My Video/\[FILMS]/Bulletproof Monk_20110908_2100.hmt: No such file or directory
    Cannot open HMT file for '/media/My Video/\[FILMS]/Bulletproof Monk_20110908_2100'.
              Error: /media/My Video/\[FILMS]/Sweeney!_20120203_2059.hmt: No such file or directory
    Cannot open HMT file for '/media/My Video/\[FILMS]/Sweeney!_20120203_2059'.
    
    And so on, over and over again.
     
  16. af123

    af123 Administrator Staff Member

    Interesting, the stripts utility is disliking the \ before the opening [
     
  17. af123

    af123 Administrator Staff Member

    Can you try webif 0.9.12-8 and see if it fixes the error about missing HMT files?
     
  18. Black Hole

    Black Hole Felonius Gru

    It auto-updated - and now I have a load of ...shrunk.ts files in [FILMS] and a full disk!

    Code:
    Unencrypt process already running - exiting
    Processing "My Video/[FILMS]/Breakfast at Tiffany's_20110830_1514_shrunk", Media ID is 641
    Processing "My Video/[FILMS]/Garfield_ A Tail of Two Kitties_20111226_1232_shrunk", Media ID is 642
    Processing "My Video/[FILMS]/Calamity Jane_20110904_1344_shrunk", Media ID is 643
    Processing "My Video/[FILMS]/Doctor Dolittle_20120218_1114_shrunk", Media ID is 644
    Processing "My Video/[FILMS]/Ratatouille_20111225_1650_shrunk", Media ID is 645
    Processing "My Video/[FILMS]/Mamma Mia!_20120627_2202_shrunk", Media ID is 646
    Processing "My Video/[FILMS]/The Da Vinci Code_20120304_1920_shrunk", Media ID is 647
    Processing "My Video/[FILMS]/Butch Cassidy and the Sundance Kid_20111219_1414_shrunk", Media ID is 648
    Processing "My Video/[FILMS]/Hands of a Murderer_20120611_0023_shrunk", Media ID is 649
    Processing "My Video/[FILMS]/Young Sherlock Holmes_20120613_1848_shrunk", Media ID is 650
    Processing "My Video/[FILMS]/Flashdance_20111115_2349_shrunk", Media ID is 651
    Processing "My Video/[FILMS]/Dante's Peak_20111231_1959_shrunk", Media ID is 652
    Processing "My Video/[FILMS]/23 Paces to Baker Street_20120314_1659_shrunk", Media ID is 653
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Calamity Jane_20110904_1344", Media ID is 654
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/23 Paces to Baker Street_20120314_1659", Media ID is 655
    23 Paces to Baker Street_20120314_1659.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Hands of a Murderer_20120611_0023", Media ID is 656
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Mamma Mia!_20120627_2202", Media ID is 657
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Doctor Dolittle_20120218_1114", Media ID is 658
    Doctor Dolittle_20120218_1114.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Young Sherlock Holmes_20120613_1848", Media ID is 659
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Ratatouille_20111225_1650", Media ID is 660
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Flashdance_20111115_2349", Media ID is 661
    Flashdance_20111115_2349.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Dante's Peak_20111231_1959", Media ID is 662
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Butch Cassidy and the Sundance Kid_20111219_1414", Media ID is 663
    Butch Cassidy and the Sundance Kid_20111219_1414.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Garfield_ A Tail of Two Kitties_20111226_1232", Media ID is 664
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Breakfast at Tiffany's_20110830_1514", Media ID is 665
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Kiss Me Kate_20120108_2014", Media ID is 666
    Kiss Me Kate_20120108_2014.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/The Da Vinci Code_20120304_1920", Media ID is 667
    Processing "My Video/[FILMS]/Porridge_20111231_1909_shrunk", Media ID is 668
    Processing "My Video/[FILMS]/Escape to Athena_20110907_1239_shrunk", Media ID is 669
    Processing "My Video/[FILMS]/Happy Feet_20111225_1509_shrunk", Media ID is 670
    Processing "My Video/[FILMS]/Terminator Salvation_20120428_2128_shrunk", Media ID is 671
    Processing "My Video/[FILMS]/Casablanca_20120103_1354_shrunk", Media ID is 672
    Processing "My Video/[FILMS]/The Man with the Golden Gun_20120721_1123_shrunk", Media ID is 673
    Processing "My Video/[FILMS]/Starsky and Hutch_20120218_2219_shrunk", Media ID is 674
    Processing "My Video/[FILMS]/Singin' in the Rain_20111210_1654_shrunk", Media ID is 675
    Processing "My Video/[FILMS]/The Hitchhiker's Guide to the____20120318_1819_shrunk", Media ID is 676
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Casablanca_20120103_1354", Media ID is 677
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Terminator Salvation_20120428_2128", Media ID is 678
    Terminator Salvation_20120428_2128.hmt: No such file or directory
    File is in use, skipping
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Singin' in the Rain_20111210_1654", Media ID is 679
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Porridge_20111231_1909", Media ID is 680
    Porridge_20111231_1909.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/The Hitchhiker's Guide to the____20120318_1819", Media ID is 681
    The Hitchhiker's Guide to the____20120318_1819.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Happy Feet_20111225_1509", Media ID is 682
    Happy Feet_20111225_1509.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Escape to Athena_20110907_1239", Media ID is 683
    Escape to Athena_20110907_1239.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/The Man with the Golden Gun_20120721_1123", Media ID is 684
    The Man with the Golden Gun_20120721_1123.hmt: No such file or directory
    Processing "My Video/[Recycle Bin]/webif_autoshrink/[FILMS]/Starsky and Hutch_20120218_2219", Media ID is 685
    Finished
     
  19. Black Hole

    Black Hole Felonius Gru

    OK, it's finished the run, and every recording in my [FILMS] folder has been converted to a ...shrunk.ts. Presumably auto-shrink renames the recording to its original name wen it has verified backup in the delete folder, and in my case I had to clear out the delete folder to make disk space - but even files processed later are failing to be renamed. Neither is there the shrunk icon listed with them.

    What now?
     
  20. DelftBlue

    DelftBlue Member

    I've used Auto-shrink successfully on quite a few folders, and I have noticed that the shrunk icons can take a long time to appear - so it looks like it hasn't worked at first glance, but they do appear eventually.

    Also I had some folders which seemed at first to have the files in a muddle after Auto-shrinking, and then, without any intervention from me, somehow resolved themselves over time to the correct format and worked fine.

    I have no idea how the cleverness works, it just seemed to me that even when I thought it had finished, it hadn't really, and that the processes continue working in the background. I've learned now to set a folder to Auto-shrink and avoid puzzlement and worry by leaving it a couple of days before I look into again :) For me this seems to work out. (Caveat - I don't have undelete installed)