prpr
Well-Known Member
For further discussion of anything previously in these threads:
or the associated beta hmt utility (2.0.10-2).
or the associated beta hmt utility (2.0.10-2).
Last edited:
There's a challenge for someone then...I'm sure we could come up with a Jim script that would retrospectively remove any 0x15 from the Title in a .hmt, and so to all in a folder, etc.
See Beta ParticipationOK, confession time. How do I load the Beta versions of these two packages? Thanks
I don't think anyone said that, but never mind. It's always good to have installed.As per the instructions, I installed Auto-update 2.0.5
They should have been hmt 2.0.10-2 (2.0.10-4 now) and webif 1.4.9-8.that hmt 2.0.10 and webif 1.4.9 had been installed.
I don't think so, but I have no explanation.After acknowledging these notifications, the package lists were then displayed correctly. (This may be normal and expected behaviour).
The results are inconclusive until you can confirm exactly what versions of the above are installed.There were no existing recordings on this machine. I made four new ones, two at standard definition and two at high definition. On each of these, I carried out a selection of the decrypt, crop and rename functions that I apply to all my recordings. The primary interest was whether the problem with the 0x15 prefix in the title field at offset 029A had been resolved. But I also made a note of the other fields in the hmt file that have been referenced in the thread.
From the Beta Participation thread:I don't think anyone said that
Note the "if".If it is installed, ensure your version of the auto-update package is at least 2.0.4
Yes, the tests are OK. Do one at once and observere what happens and where, and whether stuff looks right on the WebIf and on-screen and in the .hmt file itself. If you can exercise things with non-ASCII characters too then all the better. If you know how to drive the command line hmt program effectively then look there as well. Hopefully a few others will chime in too.I realise that the results of the test are of no use. But are the test themselves any use, or should I do something different?
Thinking about this problem in general, is there a file equivalent of the Webif installed packages list? If so, this could be attached to any post where the information might be important, especially in Beta test mode?It is crucial to have the whole string correct and report it as so.
Yes, the tests are OK. Do one at once and observere what happens and where, and whether stuff looks right on the WebIf and on-screen and in the .hmt file itself. I think I've solved all the character encoding/decoding problems of previous versions.
If you can exercise things with non-ASCII characters too then all the better. If you know how to drive the command line hmt program effectively then look there as well. Hopefully a few others will chime in too.
Bear in mind that things like nicesplice (crop) and sidecar possibly do there own thing, and are out of my reach and scope of what's been done recently.
It's OK. Bit long, but alright to start with.(I'd welcome your comments as to whether this is a useful way to present my results - too long for a start, I suspect).
One of those 516's is meant to be 616, but I know it's just a typo. Also check 3E2 with 741.At this stage, I'm specifically looking at changes to the .hmt file in the fields of interest: the file name (offset 017F/0180); the title (029A); the iTitle (0516); the iSynopsis (0516); and the iGuidance, if any (0741).
It is.2) In none of my Webif rename tests so far was the filename moved from offset 0180 to 017F. This is a change from the current situation. I assume that this is the result of a deliberate objective to standardise on this location.
This is good too.3) In none of my Webif rename tests was the title at offset 029A preceded by 0x15, again a change from the current situation. In itself, this change should fix the problem with the sort order that I originally raised - once I've changed all the affected files in my library!
By design. Everything is converted to UTF-8 (0x15 prefix). This works OK on HD recordings. I haven't got round to testing it on SD ones, but don't really see why it shouldn't work.4) The results of my Webif rename tests were more problematic with regard to the iPlate string prefixes. (To recap: the Humax firmware uses 0x106937 for SD and 0x15 for HD. The current firmware replaces these with 0x15 throughout.)
What does it show on-screen? Is it still correct?For SD recordings, however, the iTitle at offset 0516 was still being changed from 0x106937 to 0x15,
It should be.whilst the iSynopsis at offset 0616 is not changed from 0x106937.
No. Everything should be 0x15. If it's not, then repeat the test to confirm, and then tell me the exact command you are using.Is this difference deliberate?
It's documented here: https://wiki.hummy.tv/wiki/HMT_File_Format5) Finally, although I don't normally look at the upper reaches of the hmt file (i.e. offsets above 0818), my hex comparisons threw up another anomaly. I've not seen a definitive map of these regions,
Not necessarily. One of my old recordings contains 8 blocks. I've never looked at it before so haven't worked out what's there or why. I guess the intent was to set every block regardless, and then it'll never display the wrong thing. Nothing has changed in how this works, apart from fixing the encoding.but I assume that part of it is the EPG data for the previous, current and following programmes on the current channel.
Offsets seem correct based on what I was looking yesterday.If this is the case, then offsets 30FE, 33BE and 367E contain the respective titles of each of these three programmes. with the appropriate SD or HD prefix.
What do you think is appropriate and why, given the above? Again, exact command and "what you see" vs "what you expect" is useful.In the case of Webif rename, these have all been replaced by the iPlate title (as at offset 0516) of the current recording, with the 0x15 prefix. This doesn't seem appropriate.
I'll try and write some instructions later. You need to be slightly creative if you're doing this from the command line. If using the WebIf you should just be able to copy'n'paste e.g. "Les Misérables" and such like.I've no experience of non-ASCII characters. Others seem more exercised by this problem than me. But I'm happy to have a go.
Not really, apart from the SD/HD thing mentioned above.Did you have any particular scenarios that you wanted checking?
OK.I'll look into the crop problem next, since crop is part of my normal processing. I'm aware of the sidecar (and conflicting AV2HDR) routine, but will look into it again when we've got the basics agreed.
No problem. Thanks for the feedback.Thanks for the help, and apologies for the length.
Correct - typo, sorry. Will also check 03E2 when I test a programme with guidance.One of those 516's is meant to be 616, but I know it's just a typo. Also check 3E2 with 741.
That's at the heart of many of my comments: the pros and cons of Webif preceding all relevant strings with 0x15 versus sticking with the convention apparently used by the Humax firmware, that strings in the hmt files for HD recordings are preceded by 0x15, whilst those for SD recordings are preceded by 0x106937. I don't have strong views either way, but just want to understand the arguments.By design. Everything is converted to UTF-8 (0x15 prefix). This works OK on HD recordings. I haven't got round to testing it on SD ones, but don't really see why it shouldn't work.
I confirm that the Synopsis string prefix at offset 0616 is not changed from 0x106937 to 0x15 in any of my SD recordings. I'm not using any command, I'm examining the hex representation of the hmt file.Everything should be 0x15. If it's not, then repeat the test to confirm, and then tell me the exact command you are using.
It needs more confirmation, but so far I haven't found any text on screen that displays incorrectly, whatever the prefix.What does it show on-screen? Is it still correct?
You're right, I'd forgotten it was in there - but beware the ambiguity between 0x15 and 0x106937 prefixes is not fully explained. In practice, they follow the HD=0x15 and SD=0x106937 convention.It's documented here: https://wiki.hummy.tv/wiki/HMT_File_Format
It turns out to be more interesting. I followed your advice to look on the screen. It would appear that what's on the screen is dictated by what's in the transmission stream, not what is in the hmt file, regardless of what I have done to the Title or you have done to the prefix. I guess it may be another example, like the folder and filename, where the hmt field is written, but not read. More investigation needed perhaps. (Or we could just ignore it.)Not necessarily. One of my old recordings contains 8 blocks. I've never looked at it before so haven't worked out what's there or why. I guess the intent was to set every block regardless, and then it'll never display the wrong thing. Nothing has changed in how this works, apart from fixing the encoding.
Again, I'm really just flagging up the difference between what Webif produces and the conventions that the Humax firmware itself appears to be using. Apologies for language that appears to prejudge the matter. As before, this is all based on examining the hex representation of the file directly.What do you think is appropriate and why, given the above? Again, exact command and "what you see" vs "what you expect" is useful.
I'll try and write some instructions later. You need to be slightly creative if you're doing this from the command line. If using the WebIf you should just be able to copy'n'paste e.g. "Les Misérables" and such like.
Humax HDR-Fox T2 (humax2324) 1.03.12/3.13
To return to the menu, type: exit
humax2324# cd /media/My\ Video/
humax2324# cd Pokémon\ Master\ Journeys____/
humax2324# pwd
/media/My Video/Pokémon Master Journeys____
humax2324# /mod/bin/busybox/pwd
/mnt/hd2/My Video/Pokémon Master Journeys____
humax2324# /mod/bin/ls -al *.hmt
-rw-r--r-- 1 root root 2072 Mar 30 17:01 Pok??mon Master Journeys_____20220330_1630.hmt
humax2324# /mod/bin/busybox/ls -al *.hmt
-rw-r--r-- 1 root root 2072 Mar 30 17:01 Pok??mon Master Journeys_____20220330_1630.hmt
humax2324# hmt -list *.hmt
Format:SD
Title:Pokémon Master Journeys:...
ITitle:Pokémon Master Journeys:...
Channel:206 (POP)
Episode:0,0/0
Folder:/mnt/hd2/My Video/Pokémon Master Journeys____/
Filename:Pokémon Master Journeys_____20220330_1630
Genre:Children (80)
EPG:...The Series: Night and Day, You are the Ones!: An encounter with some remarkable people and Pokémon gives Chloe and Eevee some valuable life lessons! (S1 Ep31)
Recording Status: Valid (OK)
Flags: SD,New,Unlimited Copies,Shrunk,Addetection,
Copy count:0
Scheduled start:1648654200 (Wed Mar 30 16:30:00 2022)
Scheduled duration:1860
Recording start:1648654203 (Wed Mar 30 16:30:03 2022)
Recording end:1648656060 (Wed Mar 30 17:01:00 2022)
Duration:1857
Stored duration:1857
Play resumes at:0 seconds in.
Timezone offset:3600
Service ID (SID):27424
Event ID:45540
Transport Stream ID (TSID):24640
Originating Network ID (ONID):9018
Programme Map Table PID (PMTPID):1012
Video PID:631
Audio PID:632
Bookmarks:5 = 3 570 863 1476 1857
Indeed.No doubt that is being done?
That all seems good to me.The Humax GUI displays the recording names, directories and synopsis correctly.
This is just directory name confusion, which we already know the Humax software gets wrong.ftp access to Pokemon directory fails using FileZilla Client Version 3.46.3
I've run Webif crop on a range of SD and HD recordings. In all cases, the file name remains at offset 0180 and the title field at offset 029A no longer has the 0x15 prefix inserted. It looks as though my original concerns (with the sort order in the media list) have been resolved. Thanks to you all for your help.I'll look into the crop problem next, since crop is part of my normal processing.