i have a question
DimitarCC 19 Dec 2023
Yes because in my opinion that must be like that because in some languages the min could be before the number or so on. But that is the old same discussion.....
ViX doesnt complain about that warning so no reason to change it.
Huevos 19 Dec 2023
I think you are confused between errors and warnings.
A compiler error is when your program is wrong, and the compiler has no idea how to produce runnable code from it.
A compiler warning is where the compiler can't guarantee your code will run, even though the code is valid.
Certain code syntax will always cause warnings because "the compiler can't guarantee your code will run", e.g. dynamic values.
If you promote those warnings to errors you make it impossible to compile valid code.
I'll just post this again. A warning is not an error. Errors should only show when the compiler has no idea how to produce runnable code. What has happened in PLi is wrong because it means it is not possible to run valid C++ syntax. The warning shows because the compiler doesn't know what the dynamic values are, not because there is an error.
Edited by Huevos, 19 December 2023 - 10:10.
Dimitrij 19 Dec 2023
def setFontsize(self): self.ServiceNumberFont = gFont(self.ServiceNameFontName, self.ServiceNameFontSize + config.usage.servicenum_fontsize.value) self.ServiceNameFont = gFont(self.ServiceNameFontName, self.ServiceNameFontSize + config.usage.servicename_fontsize.value) self.ServiceInfoFont = gFont(self.ServiceInfoFontName, self.ServiceInfoFontSize + config.usage.serviceinfo_fontsize.value) self.ServiceNextInfoFont = gFont(self.ServiceNextInfoFontName, self.ServiceNextInfoFontSize + config.usage.serviceinfo_fontsize.value) self.ServiceRemainingInfoFont = gFont(self.ServiceRemainingInfoFontName, self.ServiceRemainingInfoFontSize + config.usage.serviceinfo_fontsize.value) self.l.setElementFont(self.l.celServiceName, self.ServiceNameFont) self.l.setElementFont(self.l.celServiceNumber, self.ServiceNumberFont) self.l.setElementFont(self.l.celServiceInfo, self.ServiceInfoFont) self.l.setElementFont(self.l.celServiceNextInfo, self.ServiceNextInfoFont) self.l.setElementFont(self.l.celServiceInfoRemainingTime, self.ServiceRemainingInfoFont) if "perc" in config.usage.show_event_progress_in_servicelist.value: self.l.setElementFont(self.l.celServiceEventProgressbar, self.ServiceInfoFont)
self.ServiceNumberFont = gFont(self.ServiceNameFontName, self.ServiceNameFontSize + config.usage.servicenum_fontsize.value)
Maybe Number?
DimitarCC 19 Dec 2023
Yes you are right... That is wrong in ViX too...I didnt noticed it. Will change
OK. here https://github.com/O...igma2/pull/3880
Edited by DimitarCC, 19 December 2023 - 10:52.
piplan1966 19 Dec 2023
Hi
I have installed the infobarweather plugin,
Now this message is coming,
please configure a location in plugin setting,
How to set it please confirm
May Allah bless youDelete this post of mine
Dimitrij 19 Dec 2023
snprintf(buffer, sizeof(buffer), "%s%d %s", timeLeft == 0 ? "" : "+", timeLeft/60, m_text_time.c_str());
Maybe timeLeft/60 == 0?
Dimitrij 19 Dec 2023
[listboxservice] fixed event default color and time remaining
Edited by Dimitrij, 19 December 2023 - 17:41.
Dimitrij 20 Dec 2023
Overlapping of event info and progressbar not fixed(two lines and next event).
littlesat 20 Dec 2023
When you toggle to the views in channel selections, where before you changed the userbouquet goes back to user bouquet you originally had.
DimitarCC 20 Dec 2023
Overlapping of event info and progressbar not fixed(two lines and next event).
OK. Here is new try:
https://github.com/O...igma2/pull/3884
I hope is fixed. Keep in mind that i can not test that since i dont have EPG that long most of the time
DimitarCC 20 Dec 2023
Interesting is that i dont get overlapping here even with the old code...
nextevent2.jpg 129.38KB 1 downloads
littlesat 20 Dec 2023
Resolved by my self.
When you toggle to the views in channel selections, where before you changed the userbouquet goes back to user bouquet you originally had.
Edited by littlesat, 20 December 2023 - 13:37.
Dimitrij 20 Dec 2023
Interesting is that i dont get overlapping here even with the old code...
old code
DimitarCC 20 Dec 2023
Anyway try the new code.... Hopefully will be better
DimitarCC 21 Dec 2023
So i found a logical mistake that i made in last PR... I correct that with this https://github.com/O...igma2/pull/3885
Dimitrij 24 Dec 2023
- self.ServiceRemainingInfoFontSize = 18 + self.ServiceRemainingInfoFontSize = 20