Single EPG: highlight day change

Moderators: Gully, peteru

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Re: Single EPG: highlight day change

Post by sub3R » Mon Oct 11, 2021 13:59

I think there may be a problem when installing this after the latest on-line f/w update to 19.3 20211010 from 19.3 20210901.

On both our U4s I got a crash log after the on-line f/w update when I installed enigma2-plugin-systemplugins-epg-hide-hl_1_all.ipk then opened the single EPG & selected MENU. The crash occurred as soon as MENU was selected from the EPG.

I didn’t disable epg_hide via Live TV > EPG > MENU before doing the f/w update. Should I have done this?

From U4_01:
Enigma2_crash_2021-10-11_12-32-54.log
(42.83 KiB) Downloaded 37 times

From U4_02:
Enigma2_crash_2021-10-11_11-31-49.log
(42.79 KiB) Downloaded 34 times
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Single EPG: highlight day change

Post by adoxa » Mon Oct 11, 2021 16:55

I flashed 20211008, installed epg-hide-hl, restarted, all working. Offline updated to 20211010, epg-hide-hl was automatically removed, rebooted. Installed epg-hide-hl, restarted, all working. The line number in the crash looks to be from the original config.py, not epg-hide-hl's version, so it doesn't appear to have installed correctly. Perhaps a simple remove/install will fix it.

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Re: Single EPG: highlight day change

Post by sub3R » Mon Oct 11, 2021 18:18

Just to clarify; I didn’t restart the GUI or reboot either U4 prior to Live TV > EPG > MENU where it crashed, & on both U4s epg-hide-hl did appear to be working ok immediately following the crash. Both U4s did exactly the same.

I will un-install epg-hide-hl, re-install it, revert to an older f/w version via USB with restore then try & replicate the issue, but that probably won’t be for a couple of days.
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Single EPG: highlight day change

Post by Grumpy_Geoff » Mon Oct 11, 2021 19:46

I had the same crash as Dennis -

Code: Select all

{2182}< 23517.161>   File "/usr/lib/enigma2/python/Components/config.py", line 2208, in __getattr__
{2182}< 23517.162> AttributeError: enhanced_hide
Following adoxa's suggestion to uninstall/re-install, the Single EPG MENU now works.

Grumpy_Geoff
Uber Wizard
Posts: 6490
Joined: Thu Mar 05, 2009 22:54
Location: Perth

Re: Single EPG: highlight day change

Post by Grumpy_Geoff » Mon Oct 11, 2021 20:01

I believe originally I didn't restart/reboot between performing the online f/w update and before re-installing epg-hide-hl (i.e. I (i) online updated, (ii) installed epg-hide-hl, (iii) rebooted).

This time I didn't restart/reboot after I removed the plugin, as I just ran these two commands in succession -

Code: Select all

opkg remove enigma2-plugin-systemplugins-epg-hide-hl
opkg install enigma2-plugin-systemplugins-epg-hide-hl_1_all.ipk

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Re: Single EPG: highlight day change

Post by sub3R » Thu Oct 14, 2021 17:38

sub3R wrote:
Mon Oct 11, 2021 18:18
... revert to an older f/w version via USB with restore then try & replicate the issue, ...
I could replicate it & the reason appears to be me not re-booting after installing epg-hide-hl before opening the SingleEPG & pressing MENU.

Basically I flashed back to 19.3 20211008 with restore, installed OverlayHD & restarted the GUI, installed AutoMute plug-in & rebooted, installed epg-hide-hl & rebooted, opened the SingleEPG & pressed MENU – no crash. I then basically online updated to 19.3 20211010 with restore, installed epg-hide-hl but didn’t follow this with a re-boot, opened the SingleEPG & pressed MENU – crashed immediately.

I repeated the above but re-booted after installing epg-hide-hl before opening the SingleEPG & pressing MENU - & it didn’t crash. I did this on both U4s.

I’ve made a note to myself to reboot immediately after installing epg-hide-hl.

Crash log:
Enigma2_crash_2021-10-14_14-11-31.log
(42.83 KiB) Downloaded 35 times
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Single EPG: highlight day change

Post by adoxa » Thu Oct 14, 2021 18:26

What looks to be happening is that it's reading the updated setup.xml (containing config.epgselection.enhanced_hide), but still using the old UsageConfig.py (so it's not defined). I'll see if I can reload them, whenever I get around to updating it...

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Single EPG: highlight day change

Post by adoxa » Thu Oct 21, 2021 18:41

This update:
  • fixes the issue on install (reloading wasn't feasible, so it renames setup.xml on first start);
  • changes the default to off, so you'll want to turn "Hide titles" on;
  • adds INFO on "Hide titles" to display a longer description (could probably do with a bit of tweaking);
  • adds long STOP to bring up the five most recent hidden or ignored items, then everything else;
  • preserves the event (when possible) when toggling show/hide;
  • fixes a bug with twice daily, missing a transition in some circumstances;
  • prevents hiding a title that has been ignored (could occur after a restart).
Attachments
enigma2-plugin-systemplugins-epg-hide-hl_2_all.ipk
(126.72 KiB) Downloaded 43 times

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Re: Single EPG: highlight day change

Post by sub3R » Sat Oct 23, 2021 17:23

I’ve just got around to installing this latest version of epg-hide-hl on one of our U4s & got the attached execution progress.

The procedure I used was probably a bit over the top:

In epg-hide-hl ver:1 plugin I disabled Hide titles & changed Highlight transition from Daily to Off (Highlight period was already disabled) > saved > rebooted > removed epg-hide-hl via LiveTV > Setup > Plugins > Remove plugins > systemplugins > epg-hide-hl (1) > OK > rebooted > installed epg-hide-hl ver:2 (got the attached execution progress) > rebooted.

It seems to have installed ok.

epg-hide-hl_ver2_install.jpg
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

User avatar
adoxa
Wizard
Posts: 1490
Joined: Thu Feb 23, 2017 22:58
Location: CQ
Contact:

Re: Single EPG: highlight day change

Post by adoxa » Sat Oct 23, 2021 17:56

I never saw the tar error, as I install through the package installer (when I attach the USB). Safe to ignore, as I do backup the normal file. And yeah, that was a bit OTT (just upgrade, restart, re-enable).

One more thing I want to do is change the colour of the selection. Currently my own version uses the same foreground (i.e. a selected transition/period is yellow/green on blue). Yellow looked fine on the test V2 and acceptable on the T2; green doesn't look so good at all. Of course, with user-defined colours, a user preferring a blue highlight would not want that on a blue background. Would just having a custom selected foreground be sufficient, or should I go the whole hog and add custom background, too? Would that then mean the normal alternative colours should also allow a custom background?

sub3R
Wizard
Posts: 2638
Joined: Sun Sep 09, 2007 12:20
Location: Port Macquarie NSW. Reception from Middle Brother.

Re: Single EPG: highlight day change

Post by sub3R » Sun Oct 24, 2021 19:07

adoxa wrote:
Sat Oct 23, 2021 17:56
And yeah, that was a bit OTT (just upgrade, restart, re-enable).
I did what you advised on the next U4 (U4_01) & got the attached execution progress. It installed ok but I had to restart the GUI after that to get MENU from EPG to populate with the epg-hide-dl options.

I like what you’ve done with Long STOP & INFO. :) I found that Long STOP then OK on the highlighted item restores that item – perhaps that could be added to the bottom of your info screen, but you may not have the room for that seeing the top is slightly cut off.

In regards to your colour questions. I’m a bit conservative when it comes to text & background colours. I like a black background on everything with no Live TV showing through – which OverlayHD gives me. But for someone who is content to use one of the lesser pre-installed skins, the text & background colour choice would possibly be different, so they may have a different view.

Previously I spent a fair amount of time experimenting with text colours to try & get colours that were easier to read even if they didn’t look that impressive. I have a different text colour for each TV because what works well on one TV doesn’t look so good on the other TV & vice versa (see below & attachments).

I’m happy to keep using a custom /etc/enigma2/skin.user.xml for colours that I prefer, though for some users it probably isn’t that convenient, but having a decent range of colours selectable via the GUI like Ian has in OverlayHD Skin Manager would probably be a lot of work.

For what it is worth these are the text colours I settled on. Highlight period I usually don’t use so I didn’t spend much time on the colours for that.

Colours I use for U4_01’s TV:

Code: Select all

<parameter name="EPGTransitionColor" value="#D2B48C" />
    <parameter name="EPGSinglePeriodColor" value="#A0A0A0" />
Colours I use for U4_02’s TV:

Code: Select all

<parameter name="EPGTransitionColor" value="#C0C0C0" />
    <parameter name="EPGSinglePeriodColor" value="#D2B48C" />
epg-hide-hl_ver2_install_U4_01.jpg
epg-hide-hl_ver2_info_U4_02.jpg
Last-five-hide_U4_01.jpg
Dennis
U4, Bluey USB tuner, WizTV > Yamaha RX-V3900 > Sony KDL46X2000 TV ||
U4, Bluey USB tuner > Sony KD-43X85J TV > Yamaha YAS-209 || FTA EPG ||
Harmony 650s || (U4s on 19.3.20200901 & T2 on 19.3.20200823) ||
Technicolor DJA0230TLS modem/router, Ethernet LAN, Win10 Home 64 ||

Post Reply

Return to “Bug Reporting and Feature Requests”