I hope @Tik33
gives the exec a try and it solves his problem
yes, thank you very much for that - I will definitely give it a try. I've been away so just trying to find time so that I can go through it slowly and make sure I get it right. I'm then going to try to sort this out once and for all!
in the meantime, I have installed the 2tb drive into the Humax and with your helpful guide, I have checked decryption and run those tests - it seems fine.
I then wanted to restore my 'backup' which was on my external HDD.
However, those backups all seem to have lost the .hmt files - and so I used Black Hole's very helpful guide and ran sidecar to create a dummy file, then ran decrypt, then I ran sidecar again.
that seems to have worked on the 2 files I have tried it on.
However, it seems to be a very manual, laborious and long process and it appears as though I can't do this other than 1 at a time.
If that is true, is there any way in which I can run the above steps on all of the files automatically? I installed 'sweeper' and then got stuck on how it works!
while i figure out the above, I have also connected the 1tb HDD to the new Humax via Sata & USB and am waiting for it to copy across. (i tried to connect it to my laptop and then to Humax via FTP, but it was transferring at 0.1 mb/s - and telling me I'd have to wait several hundred hours!)
Once that is done, I will then attempt your code and see what happens!
as it happens, I may need it on the restored files too - as they have come across as the below
which is readable, but ever so slightly annoying! although it does seem to be that the title is ok:
/media/My Video/12 Years a Slave_20161102_2059.ts
Duration 10258 seconds.
Format SD MPEG, 720 x 576i.
Video ID $05DD.
Audio ID $05DE, Type MPEG.
Audio Desc ID $05DF, Type MPEG.
Sub-titles ID $05FB.
PMT ID $05DC.
Prog ID $20C1.
Content Mgmt, Encrypt Content: NO.
Transport Stream ID $2005.
Original Network ID $233A.
Event ID $D63F.
Title: 12 Years a Slave
Description: (2013) Black Cinema: Oscar-winning drama about slavery in 19th-century America. Starring Chiwetel Ejiofor and Michael Fassbender. Graphic violence/sex/nudity/racist language. [AD,S]
Guidance: May contain content unsuitable for some viewers
I'm a bit stuck on the restored files and whether I will need to go through each file individually and once resolved and the other files copied across, I'm hoping that I'll be able to run your code on all the files!
thanks again for all your help