MySports Plugin 1.0.0.0 [25-03-2018] (1 Viewer)

Should thesportsdb data have separate plugin?

  • No, stay with ScoreCenter

    Votes: 0 0.0%

  • Total voters
    7

Edalex

Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Also site has results field which is filled with some plain text with separators.
    It looks like this
    1\t44\tUnited Kingdom Lewis Hamilton\tMercedes\t53\t1:15:32.312\t1\t25\r\n2\t77\tFinland Valtteri Bottas\tMercedes\t53\t+4.471\t4\t18\r\n3\t5\tGermany Sebastian Vettel\tFerrari\t53\t+36.317\t6\t15\r\n4\t3\tAustralia Daniel Ricciardo\tRed Bull Racing-TAG Heuer\t53\t+40.335\t16\t12\r\n5\t7\tFinland Kimi Räikkönen\tFerrari\t53\t+1:00.082\t5\t10\r\n6\t31\tFrance Esteban Ocon\tForce India-Mercedes\t53\t+1:11.528\t3\t8\r\n7\t18\tCanada Lance Stroll\tWilliams-Mercedes\t53\t+1:14.156\t2\t6\r\n8\t19\tBrazil Felipe Massa\tWilliams-Mercedes\t53\t+1:14.834\t7\t4\r\n9\t11\tMexico Sergio Pérez\tForce India-Mercedes\t53\t+1:15.276\t10\t2\r\n10\t33\tNetherlands Max Verstappen\tRed Bull Racing-TAG Heuer\t52\t+1 lap\t13\t1\r\n11\t20\tDenmark Kevin Magnussen\tHaas-Ferrari\t52\t+1 lap\t9\t\r\n12\t26\tRussia Daniil Kvyat\tToro Rosso\t52\t+1 lap\t8\t\r\n13\t27\tGermany Nico Hülkenberg\tRenault\t52\t+1 lap\t14\t\r\n14\t55\tSpain Carlos Sainz Jr.\tToro Rosso\t52\t+1 lap\t15\t\r\n15\t8\tFrance Romain Grosjean\tHaas-Ferrari\t52\t+1 lap\t20\t\r\n16\t94\tGermany Pascal Wehrlein\tSauber-Ferrari\t51\t+2 laps\t12\t\r\n171\t14\tSpain Fernando Alonso\tMcLaren-Honda\t50\tGearbox\t19\t\r\n181\t9\tSweden Marcus Ericsson\tSauber-Ferrari\t49\tGearbox\t11\t\r\nRet\t2\tBelgium Stoffel Vandoorne\tMcLaren-Honda\t33\tEngine\t18\t\r\nRet\t30\tUnited Kingdom Jolyon Palmer\tRenault\t29\tEngine\t17\t\r\n
    I'm trying to map this data to actual teams and players but results are poor since name and coutry are not splitted and team name in results often differs from team name on site :cautious:
    02-57-25.png
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    As workaround, split Country and Name to array by ”space as separator" and last two value -> Pilot name, other - Country :) or use Regex ;) for get last two word as Pilot Name :)

    --
    WBR, ajs :):whistle::coffee:
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    As workaround, split Country and Name to array by ”space as separator" and last two value -> Pilot name, other - Country :) or use Regex ;) for get last two word as Pilot Name :)

    --
    WBR, ajs :):whistle::coffee:
    If that was so simple...
    Country could be one or two words.
    Name could be 2 or three words

    Отправлено с моего Redmi 3S через Tapatalk
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    I have no idea how to present cycling and tennis event on the screen atm

    Отправлено с моего Redmi 3S через Tapatalk
     
    Last edited:

    Ovokx

    Portal Member
    February 23, 2018
    12
    31
    44
    Home Country
    Spain Spain
    I have no idea how to present cycling and tennis event on the screen atm

    Отправлено с моего Redmi 3S через Tapatalk

    Maybe they can be presented as individual events like F1 ones
     

    Users who are viewing this thread

    Top Bottom