←  [EN] Enduser support

Forums

»

i have a question

DimitarCC's Photo 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. ;)

Quote

Huevos's Photo 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.
Quote

Dimitrij's Photo Dimitrij 19 Dec 2023

DimitarCC
	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?

 

Quote

DimitarCC's Photo 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.
Quote

piplan1966's Photo 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 you

Delete this post of mine

Quote

Dimitrij's Photo Dimitrij 19 Dec 2023

DimitarCC

 

snprintf(buffer, sizeof(buffer), "%s%d %s", timeLeft == 0 ? "" : "+", timeLeft/60, m_text_time.c_str());

Maybe timeLeft/60 == 0?

Quote

DimitarCC's Photo DimitarCC 19 Dec 2023

Maybe....

Quote

littlesat's Photo littlesat 19 Dec 2023

or timeLeft < 60

Quote

Dimitrij's Photo Dimitrij 19 Dec 2023

[listboxservice] fixed event default color and time remaining


Edited by Dimitrij, 19 December 2023 - 17:41.
Quote

littlesat's Photo littlesat 19 Dec 2023

Thanks... Merged...

Quote

Dimitrij's Photo Dimitrij 20 Dec 2023

DimitarCC
Overlapping of event info and progressbar not fixed(two lines and next event).
Quote

littlesat's Photo 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.

Quote

DimitarCC's Photo DimitarCC 20 Dec 2023

DimitarCC

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 ;)

Quote

DimitarCC's Photo DimitarCC 20 Dec 2023

Interesting is that i dont get overlapping here even with the old code...

 

Attached File  nextevent2.jpg   129.38KB   1 downloads

Quote

littlesat's Photo 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.
Quote

Dimitrij's Photo Dimitrij 20 Dec 2023

Interesting is that i dont get overlapping here even with the old code...

 

old code

Quote

DimitarCC's Photo DimitarCC 20 Dec 2023

The above screenshot is also from old code. But no overlap. Maybe it have something to do with the settings. You have no icons in display.... And i have them all enabled.
Anyway try the new code.... Hopefully will be better
Quote

DimitarCC's Photo 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

Quote

littlesat's Photo littlesat 21 Dec 2023

Merged.... with lightspeed ;)

Quote

Dimitrij's Photo Dimitrij 24 Dec 2023

Everything seems fine now.
 
I would just change the default value:
-		self.ServiceRemainingInfoFontSize = 18
+		self.ServiceRemainingInfoFontSize = 20

 


 
Quote