FootOnsat

There are 351 replies in this Thread which was already clicked 50,527 times. The last Post () by Fjr74.

  • Friend, in Portugal ONLY works like Friend Toddy said:


    def getTime(self, match_date):

    timezone = strftime("%z")

    if timezone.startswith('+') and timezone != '+0000':

    dif = int(timezone[:3]) + 2

    calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')

    elif timezone == '+0000':

    dif = int(timezone[:3]) + 6

    calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') + timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')

    else:

    dif = int(timezone[:3]) + 2

    calc = (datetime.strptime(match_date, '%H:%M - %Y-%m-%d') - timedelta(hours= -dif)).strftime('%H:%M - %Y-%m-%d')

    return calc

  • Could it be time for ex Yu region?

  • To Belgrado city? Just Change that :


    dif = int(timezone[:3]) + 1

  • Yes. Thank you. I will try

  • Every version I install doesn't show in plugins list yet they install OK. The only version that shows in plugins list is 1.4 . Iam using open black hole image on vu+ duo2 any body help please thankyou.

    Friend i have too that version (1.4) working cause i don't use skin on FHD. What city you are?

  • Next try:

    does anyone know where you can change the display duration of the window?IMG_1959.jpeg

    Yes friend, i change mine to 15m in here:


    def setFirstNotifTime(self, dt):

    dt_obj = datetime.strptime(dt, "%H:%M - %Y-%m-%d")

    now = datetime.now()

    duration = dt_obj - now

    duration_in_s = duration.total_seconds()

    minutes = divmod(duration_in_s, 60)[0]

    if minutes < 15:

    first_notif = (dt_obj - timedelta(minutes=minutes/2)).strftime("%H:%M - %Y-%m-%d")

    message = "Kick-off in {} minutes".format(int(minutes/2))

    else:

    first_notif = (dt_obj - timedelta(minutes=15)).strftime("%H:%M - %Y-%m-%d")

    message = "Kick-off in 15 minutes"

    return [first_notif, message]

  • Fjr74 Thx!


    sorry, I meant how long it stays active. At the moment it's only a few seconds.

    interface.py

    x10

    Code
    self.onhideTimer.start(80000)

    Thx to all

    * dm900 oe2.5 unstable GP4 * SSD 512gb * USB 64gb * SD 64gb * NAS * 42 *

  • What should be the time difference for the Turkish league

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!