I was having a look at this last night (I don't have a failed recording so I used a regular one). I took an unprotected, encrypted recording and deleted the HMT. I replaced the HMT with similar and renamed it to match. This gave a 'channel is scrambled' message on playback and the programme could not be decrypted. I then replaced the HMT file with one from an already decrypted programme and renamed: this also gave a 'channel is scrambled' message when played. However, this file is now flagged as 'Dec' and I have not been able to remove the flag. I know about the HMT utility which can be run using Telnet, but I can't work out how to use this tool within a specific directory. I tried 'cd' followed by the path, but this did not work: my syntax was probably wrong. I am also unsure which command I need to clear the 'Dec' flag.Innocent question ...
So on that basis, if you got into that situation, presumably you could copy any old .hmt file, from another unencrypted file, and rename it to match .ts file.
Would that then enable the unencrypt/decrypt process?
This gave a 'channel is scrambled' message on playback and the programme could not be decrypted.
On another HMT related matter, has the content of these files changed? I noticed that all the HMT files on one of my HDRs for programmes recorded within the last 6-9 months have a file size of 2.02KB. Before this time, the size varies and can be up to 15KB or so. I was wondering if one of the standard firmware updates changed what was written to this file?
All the same on 3 different versions using Sudbury transmitter and this morning's Arthur on CBBC HD. All were 1 minute repeat timers. The 1.03.06 has a different name because I set it up on the day when Just Kidding was in the next 7 o'clock slot.On another HMT related matter, has the content of these files changed? I noticed that all the HMT files on one of my HDRs for programmes recorded within the last 6-9 months have a file size of 2.02KB. Before this time, the size varies and can be up to 15KB or so. I was wondering if one of the standard firmware updates changed what was written to this file?
I wasn't expecting that swapping the HMT file would give a playable file, but it was discussed briefly in an exchange between Black Hole and HarveyB and I thought I'd have a quick play.That's what I would expect. The HMT file includes information on how to find the audio and video streams in the TS file. It isn't hard to recreate but one from a different recording will not work.
Have you switched from padding to AR? When a recording spans multiple EPG events the HMT file gets extra EPG data appended.
I am also getting 2.02KiB HMT files with recent recordings.Re. the HMT file length, on both my HDRs, all recent files seem to be 2.02KB. HD or SD, encrypted or decrypted, cropped or not-cropped they are the same length.
humax# ls -l *.hmt | tr -s ' ' | cut -d\ -f5-
2.0K Nov 30 2012 Iron Man_20121102_1838.hmt
2.0K Dec 24 15:49 It's a Wonderful Life_20131224_1313.hmt
2.0K Aug 10 22:30 Jesse Stone_ Innocents Lost_20130810_1728.hmt
2.0K Mar 9 2013 Skyline_20130309_2103.hmt
2.0K Dec 28 01:14 Spiderman 3_20131227_2101.hmt
2.0K Dec 28 01:14 Spiderman 3_20131227_2211.hmt
2.0K Jan 3 20:57 The Dam Busters_20140101_1829.hmt
13.6K Jun 18 2012 The Sixth Sense_20111007_2102.hmt
humax# hmt The\ Sixth\ Sense_20111007_2102.
...
EPG Blocks:3
Block:1 Time:0 Offset:0x30c0
Block1_Title:i7The Sixth Sense
Block:2 Time:7511 Offset:0x3380
Block2_Title:i7Raising Arizona
Block:3 Time:0 Offset:0
For it to be playable you would have to copy the hmt file from another recording made on the same channel (or hack the PIDs within the hmt file). This assumes that both recordings have the same encryption state.I was having a look at this last night (I don't have a failed recording so I used a regular one). I took an unprotected, encrypted recording and deleted the HMT. I replaced the HMT with similar and renamed it to match. This gave a 'channel is scrambled' message on playback and the programme could not be decrypted. I then replaced the HMT file with one from an already decrypted programme and renamed: this also gave a 'channel is scrambled' message when played.
I know about the HMT utility which can be run using Telnet, but I can't work out how to use this tool within a specific directory. I tried 'cd' followed by the path, but this did not work: my syntax was probably wrong. I am also unsure which command I need to clear the 'Dec' flag.
cd "/media/My Video"
hmt "Some Recording.hmt"
hmt -encrypted "Some Recording.hmt"
I said:I know about the HMT utility which can be run using Telnet, but I can't work out how to use this tool within a specific directory. I tried 'cd' followed by the path, but this did not work: my syntax was probably wrong. I am also unsure which command I need to clear the 'Dec' flag.
Thanks xyz321, my syntax was wrong, I missed out the quotes.Code:cd "/media/My Video" hmt "Some Recording.hmt" hmt -encrypted "Some Recording.hmt"
The WiKi entry HERE now has an example using "Quotes" to handle spaces e.g.Ezra Pound: could you put this example in the Wiki? In three lines it explains how to actually use the tool.
humax# hmt "/media/My Video/archive/3D+TEST/KAISER CHIEFS DD5_1_20110410_0147.hmt"
You only need the quotes if the path contains spaces. Otherwise, the separate elements of the path (separated by spaces) will get treated as separate parameters for the command (in this case, the "cd" command).Thanks xyz321, my syntax was wrong, I missed out the quotes.
Absolutely; my post was by way of explanation.To be fair, the majority of recordings probably contain spaces and quotes won't harm those that don't. It's a reasonable default.
Tonight webif highlighted that there was a Onts recording (badnts installed). The file played o.k. on the HdR but as expected no 'trick play functions' .If you do recreate the HMT can I suggest that it include something to .…....Maybe even a bespoke icon for it (both webif and on the box if possible).
This would help us keep track of failures and allow some certainty of when the problem has been fixed .... if ever