The current version of hmt reads from either 0x17F or 0x180, although I think that's just a fortuitous bug.
Sometimes you see the same character at 0x17F as at 0x180, which is probably the result of two things writing in different places. This can be detected and corrected for the vast majority of cases though.
So, when modifying the name here, should it write to 0x17F if it found it there previously, thus perpetuating the (bad?) behaviour, or should it clean up by clearing 0x17F to 00 and writing at 0x180? My preference is for the latter.
If it's not used by the standard F/W then why does it matter? Old recordings made on old firmware will just get moved to the new standard when modified. The hmt utility will still read either (discarding the char at 0x17F if it's the same as the one at 0x180, which is most likely an error - you can't be 100% certain).
Yes, the whole thing's bizarre. Here's my reading of it - but I stand to be corrected.
The Humax base firmware up to 1.02.32 stored it at offset 0x017F, from 1.03.12 it stored it at offset 0x0180. So, from then on, the base firmware had to allow for either.
hmt will find the filename in either location. But the
hmt +
setfilename command will store it at offset 017F, regardless of where the old filename started. The
Web-if rename option does the same.
Conversely, the remote control rename command will store the new name at offset 0x0180, regardless of where the old filename started.
So, by renaming a programme first with
hmt/Web-if rename and then with the remote control one can indeed end up with a spurious character at offset 0x017F. Except, that, of course, it's impossible for the system to tell whether it's actually spurious or not. Why doesn't this throw things? Well, actually, one can delete the whole filename field, and the programme will still play correctly.
As
af123 and
Raydon noted several years ago this field isn't actually used. So why does
hmt support it?
As I say, bizarre - at least to me.
BTW, thanks for fixing the X'15' at offset 0x029A problem - my real interest!