Hey guys, does anyone know where to extend the display time of the window?
FootOnsat
-
- FootOnsat
- ziko
- Thread is marked as Resolved.
-
-
Portugueses se não alterarem as horas os clubes PT vão jogar ás 23H e 00h30 ehehe.
For the Portuguese, you have to edit the interface.py file and on line 241 to 251, delete everything and paste this .
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone.replace('-', '').replace('00', ''))
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours=-6)).strftime('%H:%M - %Y-%m -%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone.replace('-', '').replace('00', ''))
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours=-6)).strftime('%H:%M - %Y-%m -%d')
return calcNOTE. After everything is done and recorded, restart the Box
Amigo Toddy, fiz isso mas tenho o seguinte erro: Extension/Footonsat (expected an indented block ( interface.py, line 272). Como resolver? Obrigado
-
Boas , vais por DCC a usr/lib/enigma2/pyton/plugins/extensions/footonsat/ui/ mandas este lá para dentro para substituir o que lá tens e reenicias a box depois e ve se as horas dos jogos já não tão bem.interface.py
-
Hello
my friend has dreambox 7020 hd with openpli 11.3 image has installed photoonsat without problems there was a warning that it works with fhd skin ...has installed hfd skin but the box crashes what can i do or which skin should i install
-
Portugueses se não alterarem as horas os clubes PT vão jogar ás 23H e 00h30 ehehe.
For the Portuguese, you have to edit the interface.py file and on line 241 to 251, delete everything and paste this .
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone.replace('-', '').replace('00', ''))
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours=-6)).strftime('%H:%M - %Y-%m -%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone.replace('-', '').replace('00', ''))
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours=-6)).strftime('%H:%M - %Y-%m -%d')
return calcNOTE. After everything is done and recorded, restart the Box
Amigo Toddy, the Time in Portugal change again...how to fix? Tks
-
I don't know what's going on but the new version 1.8 -r3 I can't change the time to Portugal, I've already changed it in several ways and in the plugin it always shows the games starting at 6am later ex 8:30pm Portugal in the plugin 02:30am, if anyone can here the file interface.py ready for Portugal, thanks in advance.
-
Yes same problem...the time Stay the same if we change the parameter deltatime in interface.py...
-
Time zone problem, 5 hours behind for Turkey
-
New and updated logos - 507
That's all there was to do. Who will receive the Ballon d'Or? Messi
-
Some user has already managed to find out where to change the hours of the Footonsat program, as almost no one talks about the error in the program hours, that's because everything must be fine. In my case, PT has 6 hours more than the game hours.Does the author know about the program's problem so he can modify something that is wrong?
-
Some user has already managed to find out where to change the hours of the Footonsat program, as almost no one talks about the error in the program hours, that's because everything must be fine. In my case, PT has 6 hours more than the game hours.Does the author know about the program's problem so he can modify something that is wrong?
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
return calc
I adjusted the time that belongs to my area by changing the two values highlighted in red.
-
Some user has already managed to find out where to change the hours of the Footonsat program, as almost no one talks about the error in the program hours, that's because everything must be fine. In my case, PT has 6 hours more than the game hours.Does the author know about the program's problem so he can modify something that is wrong?
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
return calc
I adjusted the time that belongs to my area by changing the two values highlighted in red.
And this is located... where? In which file?
-
Some user has already managed to find out where to change the hours of the Footonsat program, as almost no one talks about the error in the program hours, that's because everything must be fine. In my case, PT has 6 hours more than the game hours.Does the author know about the program's problem so he can modify something that is wrong?
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
return calc
I adjusted the time that belongs to my area by changing the two values highlighted in red.
And this is located... where? In which file?
/usr/lib/enigma2/python/Plugins/Extensions/FootOnSat/ui/interface.py
-
Some user has already managed to find out where to change the hours of the Footonsat program, as almost no one talks about the error in the program hours, that's because everything must be fine. In my case, PT has 6 hours more than the game hours.Does the author know about the program's problem so he can modify something that is wrong?
def getTime(self, match_date):
timezone = strftime("%z")
if timezone.startswith('+') and timezone != '+0000':
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
elif timezone == '+0000':
calc = match_date
else:
dif = int(timezone[:3]) + 4
calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')
return calc
I adjusted the time that belongs to my area by changing the two values highlighted in red.
Many tks for your try...but don't work on mine.
-
For Tugas interface.py ready with the right times and dates, just replace. Thanks Joel for your help.
-
For Tugas interface.py ready with the right times and dates, just replace. Thanks Joel for your help.
Now its perfect again...tks Joel and Toddy. Great Job.
-
-
This interface.py file is only for PT or other countries with the same time e.g. UK
-
vaake friend or you have tried something yourself on the box and there exist a /usr/lib/enigma2/python/enigma2.py file... remove this one and re-install enigma2 package.
-
Friends who experience synchronization in the plugin
by changing the marked places in the attached picture to six-five, four-three-two
They can try it and change the watch that suits them.
usr>lib>enigma2>python>plugins>extensions>footonsat>ui>interface.py
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!