Hi.
I don't have a Home button in my remote, only back/return button. So after a while
when I've used epg several times i have to press back button several times to get to MyTv and Home.
So i was just wondering if its really wise to store TvGuide dialog id into _listHistory array, which is controlling
back button operation. if you have used tv guide like 10 times, back button brings back that epg 10 times.
Most of us(i think, not sure) still use Egp button in remote to get to TvGuide.
I think it's necessary to store it at all.
so, is following change enough to avoid this, for patching
it for me to build my own version....
GuiWindowManager.cs:
in public static void ActivateWindow(int newWindowId, bool replaceWindow)
replace:
_listHistory.Add(_activeWindowId);
with:
if ((_activeWindowId != (int)GUIWindow.Window.WINDOW_DIALOG_TVGUIDE))
{
_listHistory.Add(_activeWindowId);
}
regards,
te3hpurp
Edited
First solution did not work, but i'm not sure why. It was not enough to block
TVGUIDE windowID to be stored into _lastHistory. It leaved TvFullscree windowsID:s into _lastHistory
many times in a row. Actually as many times as you've used epg, so those should be removed too.
So i just made a static function which removes dublicates & few windows id's that i don't want.
regarsds,
Here is patch for 21720
Patch updated, now it works like i wanted it to be.
Again, patch updated. Back to original solution(almost).
If in tunning details we want get back to fullscreen tv(wont we)
Allthough tunning details is useless for me at least.
because i have dvb-s & dvb-t tuners, it allways shows only
dvb-s details no matter which tuner is tuned to channel.
but anyway it's nice have it like this.
Mp 1.01 patch for back button patch
Also patched core.dll is attached. It should go into "Team Mediaportal\Mediaportal" directory.
Updated Core.dll into 1.02,
patch file is not updated. Use copy paste to modify guiwindowmanager.cs id you want own build.
regards.
I don't have a Home button in my remote, only back/return button. So after a while
when I've used epg several times i have to press back button several times to get to MyTv and Home.
So i was just wondering if its really wise to store TvGuide dialog id into _listHistory array, which is controlling
back button operation. if you have used tv guide like 10 times, back button brings back that epg 10 times.
Most of us(i think, not sure) still use Egp button in remote to get to TvGuide.
I think it's necessary to store it at all.
so, is following change enough to avoid this, for patching
it for me to build my own version....
GuiWindowManager.cs:
in public static void ActivateWindow(int newWindowId, bool replaceWindow)
replace:
_listHistory.Add(_activeWindowId);
with:
if ((_activeWindowId != (int)GUIWindow.Window.WINDOW_DIALOG_TVGUIDE))
{
_listHistory.Add(_activeWindowId);
}
regards,
te3hpurp
Edited
First solution did not work, but i'm not sure why. It was not enough to block
TVGUIDE windowID to be stored into _lastHistory. It leaved TvFullscree windowsID:s into _lastHistory
many times in a row. Actually as many times as you've used epg, so those should be removed too.
So i just made a static function which removes dublicates & few windows id's that i don't want.
regarsds,
Here is patch for 21720
Patch updated, now it works like i wanted it to be.
Again, patch updated. Back to original solution(almost).
If in tunning details we want get back to fullscreen tv(wont we)
Allthough tunning details is useless for me at least.
because i have dvb-s & dvb-t tuners, it allways shows only
dvb-s details no matter which tuner is tuned to channel.
but anyway it's nice have it like this.
Mp 1.01 patch for back button patch
Also patched core.dll is attached. It should go into "Team Mediaportal\Mediaportal" directory.
Updated Core.dll into 1.02,
patch file is not updated. Use copy paste to modify guiwindowmanager.cs id you want own build.
regards.