Log in

View Full Version : How to expand the info box?



Mavrick
03-03-2017, 03:58 PM
Does anyone know how/if you can expand the program information write-up box when you press the "info" button on the remote while in the guide? I'm only getting about half of the write-up that describes the program as it looks like it's runs out of room?

HubzPub
03-03-2017, 06:43 PM
Does anyone know how/if you can expand the program information write-up box when you press the "info" button on the remote while in the guide? I'm only getting about half of the write-up that describes the program as it looks like it's runs out of room?

I find that irritating too! I have not figured out how to scroll the info or expand it, so I just use the TV Guide app on my phone to pull up all program info, actors, run time, date etc.

jvvh5897
03-05-2017, 07:45 PM
Are you sure that what you see is not all that the prov sends and there is no more to display?
You could go into the box code and see what is going on. If nothing else you could dump box RAM contents and find the EPG packets to see what they have in them. You could export the EPG packets to a PC as they come in from the stream (say, using serial port) and use PC to display (yep, it is easier to just look at available guide info from the web).

Mavrick
03-05-2017, 09:08 PM
Are you sure that what you see is not all that the prov sends and there is no more to display?
You could go into the box code and see what is going on. If nothing else you could dump box RAM contents and find the EPG packets to see what they have in them. You could export the EPG packets to a PC as they come in from the stream (say, using serial port) and use PC to display (yep, it is easier to just look at available guide info from the web).

Yes I'm sure there is more info, I think they have a new person writing the descriptions, by the time they say how thrilling, riveting and griping the program is they run out of room before getting to what the show is about. They never use to include all that fluff till recently :(

d1964
03-06-2017, 12:51 PM
I have the Dreamlink HD and the guide used to not display all info then the dream team fixed it with a bin now I just press info while on tv guide and it shows remaining info.....

jvvh5897
03-06-2017, 08:20 PM
Well, I think there is a limit on how many char they can put in a single packet, so the info might be chopped into a number of packets and then the code has to find all the parts and put it together--your code might just pull in a single packet for a given event and call it good.
I did take a look in an HD file and found an EPG task--that has a handler routine that most likely pulls in the EPG packets and saves them in some way. Also found what might be the code to display the EPG info (or some parts of it anyway). I've posted a little on the file that I looked at in earlier threads--I found a routine that could be used to put out data on the serial port. And I found parts of the code that deal with the Othello game--that would be a good place to mod to do some stuff. Lots of things you could try if you were interested in playing with the code -- don't know how easy it would be over all.
Oh, there is also code to pull in EPG over internet that is most likely trying to go to a site that is long gone, but might be redirected to some other place if the data is compatable or could be made so.

Mavrick
03-07-2017, 03:46 PM
Thanks, but that's a little much for me, I will just have to deal with it.

jvvh5897
03-07-2017, 05:15 PM
And I'm not all that sure you are not getting all they send anyway. Here is an example of a local channel EPG description that runs on a little:
00000000 0100 0080 1800 0000 4D69 6B65 2026 204D ........Mike & M
00000010 6F6C 6C79 00D9 F5F5 0100 0080 F800 0000 olly............
00000020 4469 7073 2026 2053 616C 7361 0D20 5365 Dips & Salsa. Se
00000030 7269 6573 2F53 7065 6369 616C 2E20 4269 ries/Special. Bi
00000040 6C6C 7920 4761 7264 656C 6C2C 204D 656C lly Gardell, Mel
00000050 6973 7361 204D 6343 6172 7468 792C 204B issa McCarthy, K
00000060 6174 7920 4D69 786F 6E2E 2020 2832 3031 aty Mixon. (201
00000070 3429 204D 696B 6520 6173 6B73 2043 6172 4) Mike asks Car
00000080 6C20 746F 2073 7465 7020 696E 2061 6E64 l to step in and
00000090 2074 616B 6520 6869 7320 706C 6163 6520 take his place
000000A0 6173 204D 6F6C 6C79 2773 2070 6172 746E as Molly's partn
000000B0 6572 2061 7420 6120 6461 6E63 6520 636C er at a dance cl
000000C0 6173 732C 2062 7574 206A 6561 6C6F 7573 ass, but jealous
000000D0 7920 7265 6172 7320 6974 7320 6865 6164 y rears its head
000000E0 2077 6865 6E20 4D69 6B65 2073 6565 7320 when Mike sees
000000F0 7468 6174 2068 6973 2077 6966 6520 616E that his wife an
00000100 642E 2E2E 2028 4343 2920 2000 D9F5 F5F5 d... (CC)

They just cut off the text with ellipses and that is all you get. So if your messages end with "...", then odds are that is it.
It might be the 7 day EPG data does not have the limitations of the local spot beam EIT packets, but in the source code that I have for the box I used to get the above, there is no obvious diff between extended EPG and the two event EPG.

Mavrick
03-07-2017, 11:46 PM
I will try changing the EPG length in the menus and see of that does anything but I don't think it will matter. Now my remote just stopped working.....not having a good week :(

Mavrick
03-08-2017, 03:46 PM
And I'm not all that sure you are not getting all they send anyway. Here is an example of a local channel EPG description that runs on a little:
00000000 0100 0080 1800 0000 4D69 6B65 2026 204D ........Mike & M
00000010 6F6C 6C79 00D9 F5F5 0100 0080 F800 0000 olly............
00000020 4469 7073 2026 2053 616C 7361 0D20 5365 Dips & Salsa. Se
00000030 7269 6573 2F53 7065 6369 616C 2E20 4269 ries/Special. Bi
00000040 6C6C 7920 4761 7264 656C 6C2C 204D 656C lly Gardell, Mel
00000050 6973 7361 204D 6343 6172 7468 792C 204B issa McCarthy, K
00000060 6174 7920 4D69 786F 6E2E 2020 2832 3031 aty Mixon. (201
00000070 3429 204D 696B 6520 6173 6B73 2043 6172 4) Mike asks Car
00000080 6C20 746F 2073 7465 7020 696E 2061 6E64 l to step in and
00000090 2074 616B 6520 6869 7320 706C 6163 6520 take his place
000000A0 6173 204D 6F6C 6C79 2773 2070 6172 746E as Molly's partn
000000B0 6572 2061 7420 6120 6461 6E63 6520 636C er at a dance cl
000000C0 6173 732C 2062 7574 206A 6561 6C6F 7573 ass, but jealous
000000D0 7920 7265 6172 7320 6974 7320 6865 6164 y rears its head
000000E0 2077 6865 6E20 4D69 6B65 2073 6565 7320 when Mike sees
000000F0 7468 6174 2068 6973 2077 6966 6520 616E that his wife an
00000100 642E 2E2E 2028 4343 2920 2000 D9F5 F5F5 d... (CC)

They just cut off the text with ellipses and that is all you get. So if your messages end with "...", then odds are that is it.
It might be the 7 day EPG data does not have the limitations of the local spot beam EIT packets, but in the source code that I have for the box I used to get the above, there is no obvious diff between extended EPG and the two event EPG.

Changing EPG length sadly changes nothing, and you are correct, all program descriptions end with ... (CC)

jvvh5897
03-08-2017, 06:00 PM
After doing something else last night I took another look at the code for NF HD and I think your menu and EPG screens are written on the fly as HTML. I found a body for a screen with copyright 2008 on it that seems to be the main display window:
<html><head><title> </title></head><body bgcolor="lightgrey" text="black" link="black" vlink="black" alink="red"><table align="center" border="1" width="1000"><tr><td width="900" height="37" align="center" valign="middle" bgcolor="#333333"><p align="center"><b><font face="Palatino Linotype" color="white"><span style="font-size:24pt;"> </span></font></b></p></td></tr></table><hr align="center" width="1000" bgcolor="#666666"> <br><hr align="center" width="1000" bgcolor="#666666"><p align="center" style="line-height:0%;"><span style="font-size:12pt;"><b>copyright&copy; 2008 All rights reserved</b></span></p></font></body></html>

You can cut and paste the above into an htm file and it displays just fine (I did just that).

And the EPG seems to be put into that--you find strings like:
EventList%d.htm
WebEpgSc.htm WebEpg_ch WebEpg_chup.htm
WebEpg_chdown.htm EpgUpdate

Channel Name, Event Name ,Time and Content seems to be used to display the EPG--the windows seems scalable and the font size could be changed.
I'm thinking that they had the ability to go to web for EPG download and figured they could use the same HTML display code with what you get off the stream.

Oh, and have you tried pressing INFO to get more detail? There is a string in the code for that though I don't know if it is for EPG.

Mavrick
03-09-2017, 04:36 PM
After doing something else last night I took another look at the code for NF HD and I think your menu and EPG screens are written on the fly as HTML. I found a body for a screen with copyright 2008 on it that seems to be the main display window:
<html><head><title> </title></head><body bgcolor="lightgrey" text="black" link="black" vlink="black" alink="red"><table align="center" border="1" width="1000"><tr><td width="900" height="37" align="center" valign="middle" bgcolor="#333333"><p align="center"><b><font face="Palatino Linotype" color="white"><span style="font-size:24pt;"> </span></font></b></p></td></tr></table><hr align="center" width="1000" bgcolor="#666666"> <br><hr align="center" width="1000" bgcolor="#666666"><p align="center" style="line-height:0%;"><span style="font-size:12pt;"><b>copyright© 2008 All rights reserved</b></span></p></font></body></html>

You can cut and paste the above into an htm file and it displays just fine (I did just that).

And the EPG seems to be put into that--you find strings like:
EventList%d.htm
WebEpgSc.htm WebEpg_ch WebEpg_chup.htm
WebEpg_chdown.htm EpgUpdate

Channel Name, Event Name ,Time and Content seems to be used to display the EPG--the windows seems scalable and the font size could be changed.
I'm thinking that they had the ability to go to web for EPG download and figured they could use the same HTML display code with what you get off the stream.

Oh, and have you tried pressing INFO to get more detail? There is a string in the code for that though I don't know if it is for EPG.

Pressing the info button while in the menu brings up the info box (the same info box and content that shows in the menu), pressing it again does nothing........

jvvh5897
03-09-2017, 06:59 PM
Nothing comes up when pressing the button when already in EPG? I have a box that pops up another window with expanded EPG info (I know--diff box, diff programmer, diff code, but it is an ST Micro processor in the box, so the basic ST operating system is somewhat similar--generation or two older though).
I half-way expected you to reply that the HTML EPG that you get on your phone was coming from the NF box's generated ones. I had assumed from your first post in this thread that the phone info was from one of the many on-line schedule sites. Sort of expect you could log into the box from the web port and get webepg screens.

Mavrick
03-10-2017, 03:42 PM
Nothing comes up when pressing the button when already in EPG? I have a box that pops up another window with expanded EPG info (I know--diff box, diff programmer, diff code, but it is an ST Micro processor in the box, so the basic ST operating system is somewhat similar--generation or two older though).
I half-way expected you to reply that the HTML EPG that you get on your phone was coming from the NF box's generated ones. I had assumed from your first post in this thread that the phone info was from one of the many on-line schedule sites. Sort of expect you could log into the box from the web port and get webepg screens.

Nope......Nothing comes up when pressing the button when already in EPG. I was never talking about my phone ?

jvvh5897
03-10-2017, 08:22 PM
I went on-line and found some pics of manual. Here is one of just the EPG screen:
26661
You can see a button for detail on the lower edge of screen.

The key to finding the code for guide is that month abriv followed by a period then 2 digit date and 4 digit year...
You can find it used in the first routine below:
84662C80 ; part of guide Month day "%s.%02d %s %s - " "%s [%02x:%02x]"
84663200 ; do the guide?
84663400 ; call to use guide
846633A0 ; loop using call to guide
846636A0 ; other use of loop guide

Odds are that the guide image you see is formed by using a structure that has an index number for the text "Guide" with numbers for the size, color and positioning--maybe a pointer or two for the handling routines to use (those pointers will be right around the 84663000 part of the code you see above). This for the nf_hd_v1.3sR_25 file.

jvvh5897
03-11-2017, 09:01 PM
Just in case anyone wants to try modding menu structure:
ROM:84916C30 20 1D 66 84 F4 6B 91 84 00 00 00 00 00 00 00 00
ROM:84916C40 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 0F 00
ROM:84916C50 00 00 17 00 00 00 00 00 00 00 00 00 00 00 00 00
ROM:84916C60 D0 02 00 00 40 02 00 00 1E 00 00 00 1E 00 00 00
ROM:84916C70 78 00 00 00 0A 00 00 00 00 00 00 00 00 00 00 00
ROM:84916C80 E0 37 66 84 54 6A 91 84 04 6B 91 84 00 00 00 00

Looks to be part of what is used for guide. The screen is likely something like 720 by 540 pixels and 0x2d0 == 720
The 846637e0 routine is likely the entry point for the guide routines. "Guide" is the 5th or 6th entry in the menu strings.
One would have to start playing with the entries to see what is doing what--either by modding directly, or using the
84680000 ; "remote control on" a serial monitor debug routine?
That last seems to be a way to control the box via serial port--you send 0xA9 to get into the monitor screen I think (maybe twice)--it should show "remote control off" or "remote control on" depending on if you get in or not. The cmds allowed seem to just do what an IR remote would get you, but that could be modified to write to RAM and change entries in structures. (or run code that you load into box or dump RAM or....)

Easier to just log in to box via web, or just use on-line guides.

Mavrick
03-13-2017, 03:46 PM
I went on-line and found some pics of manual. Here is one of just the EPG screen:
26661
You can see a button for detail on the lower edge of screen.

The key to finding the code for guide is that month abriv followed by a period then 2 digit date and 4 digit year...
You can find it used in the first routine below:
84662C80 ; part of guide Month day "%s.%02d %s %s - " "%s [%02x:%02x]"
84663200 ; do the guide?
84663400 ; call to use guide
846633A0 ; loop using call to guide
846636A0 ; other use of loop guide

Odds are that the guide image you see is formed by using a structure that has an index number for the text "Guide" with numbers for the size, color and positioning--maybe a pointer or two for the handling routines to use (those pointers will be right around the 84663000 part of the code you see above). This for the nf_hd_v1.3sR_25 file.

I don't know where that picture comes from but it looks nothing like my guide, that must be just the factory file........

jvvh5897
03-13-2017, 07:15 PM
I could not read the photo well enough to see the SW version, but I'm guessing they just copied the manual pages--so really early factory file.