My Score Center - version 2.12.0.0 - 4 May 2014 (for MP 1.6/1.7) (3 Viewers)

Luca Brasi

MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi catavolt,

    thanks for your kicker-xml. But it won't work. When I try to import it the scorecenter config crashes and tells me something about "Unbehandelte Ausnahme" "Nicht genügend Arbeitsspeicher" (ich habe 8Gig drin).
    Is working for you?

    Luca
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,625
    10,637
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi to all,
    here my actualized ScoreCenter xml for GERMAN users. All results/tables are from "Kicker" website and contain the following actualized football leagues: Deutschland (1. und 2. Liga), Champions League, Europe League, England, Italien, Spanien, Frankreich, Österreich, Schweiz, Portugal, Russland, Türkei and Griechenland.
    All of the tables now have headers.
    Please note: I set the standings table of German 1. Bundesliga as default score ;)
    All users who downloaded the file from two posts above please redownload ;)
     

    Attachments

    • ScoreCenter.Settings.GERMAN.zip
      14.7 KB

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,625
    10,637
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi Luca, don´t import it - just COPY it (overwrite the actual one) into your directory ;)
     

    Luca Brasi

    MP Donator
  • Premium Supporter
  • November 14, 2007
    1,026
    119
    Home Country
    Germany Germany
    AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi catavolt,

    thanks! For both the effort on the xml and the installation instructions! Working great now.

    Luca
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re: AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi catavolt,

    thanks for your kicker-xml. But it won't work. When I try to import it the scorecenter config crashes and tells me something about "Unbehandelte Ausnahme" "Nicht genügend Arbeitsspeicher" (ich habe 8Gig drin).
    Is working for you?

    Luca

    I think I know what is the issue for this one, I remember seeing it when importing a file, I will check.

    For vrm, if you manually delete the item set as the home score, also delete the <Home> tag in the header of the settings file, it should do it. But I will fix it.
     

    vrm

    Portal Pro
    November 7, 2009
    117
    10
    Home Country
    Hungary Hungary
    Re: AW: My Score Center - version 1.2 - 22 Aug 2010

    For vrm, if you manually delete the item set as the home score, also delete the <Home> tag in the header of the settings file, it should do it. But I will fix it.

    I stopped drinking and started thinking :)
    First I started testconfig.exe from an archive folder and it didn't work. I read back this forum and found that this exe should be placed in the mp's main folder along with its DLLs. I done config then stared MP, plugin didn't work. I thought it was because of my modifications. But later I deleted those 2 DLLs from the main folder and plugin has started working again :)
    So sorry for false alarm :oops:
     

    lebovitz

    Portal Member
    January 28, 2008
    32
    9
    Home Country
    United States of America United States of America
    Re: My Score Center - version 1.2 - 22 Aug 2010

    Hi Fred,

    I saw just now that a new version is available.
    Thanks - the column order reverse works great!!!
     

    catavolt

    Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    14,625
    10,637
    Königstein (Taunus)
    Home Country
    Germany Germany
    AW: My Score Center - version 1.2 - 22 Aug 2010

    Hi Fred, made a German language file for the menus. Please distribute with next version ;)
    Thanks in advance!
     

    Attachments

    • strings_de.xml
      628 bytes

    odysseus

    Portal Pro
    November 27, 2006
    62
    3
    54
    Newtonville,Massachusetts
    Home Country
    United States of America United States of America
    Re: My Score Center - version 1.2 - 22 Aug 2010

    Hello, the U.S. College Football season starts tomorrow, and I thought I would try to set up ESPN's schedules and rankings with ScoreCenter. Unfortunately, I'm not much of a coder, so thus far I'm a little lost. May I ask for some assistance?

    I would like to add two pages: NCAA College Football Scores, College Football Scores, NCAA Football Scoreboard and Results - ESPN and 2010 NCAA College Football Polls and Rankings for Week 1 - ESPN. The first one, I would like to be able to choose the sorting and week options, and if it's possible, display the icons. I try to just use //table, but nothing is displayed, and... that's the most I know how to do :oops:. Would anyone mind showing me the way through this? I thank you very much for any help you can offer.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re: My Score Center - version 1.2 - 22 Aug 2010

    Hello, the U.S. College Football season starts tomorrow, and I thought I would try to set up ESPN's schedules and rankings with ScoreCenter. Unfortunately, I'm not much of a coder, so thus far I'm a little lost. May I ask for some assistance?

    I would like to add two pages: NCAA College Football Scores, College Football Scores, NCAA Football Scoreboard and Results - ESPN and 2010 NCAA College Football Polls and Rankings for Week 1 - ESPN. The first one, I would like to be able to choose the sorting and week options, and if it's possible, display the icons. I try to just use //table, but nothing is displayed, and... that's the most I know how to do :oops:. Would anyone mind showing me the way through this? I thank you very much for any help you can offer.

    Hello,
    I already put the college football ranking, I hope those are still working (seems to me).

    For the two pages you want to add, the second one is easier to start, because it is obvious it is a table.
    Here is how I proceed:
    * open the page and open the source (ctr+U in firefox)
    * search something from the table, for example the header: AP Top 25, the second occurrence is the good one.
    * find the table tag and look if you have an id or a class attribute. Here we have class = 'tablehead'
    => so the good XPath expression is //table[@class='tablehead'] and since there are many tables put 0 in the XPath Element field for the first table, 1 for the second ... Once you have created the first score, just copy it and the just change the element.


    The first page is trickier because there is no table, instead the page contains div, span and p tags. It is possible to parse this : here there is a different class for the visitor and the home team, the expression is (the pipe | allows to concatenate expressions):
    //div[@class='team visitor'] | //div[@class='team home']

    Maybe there is a better expression, in fact I don't know if this one will give you the results correctly because there aren't any scores yet. It displays '#187' in the text, to remove that you can add a rule:
    * column = 0 (for all columns),
    * operator = contains,
    * value = #187; (to replace #187 by nothing, the ';' separates the searched string from the replaced string, nothing here)
    * action = replace
    * style = leave empty

    It is not pretty so you can add some formatting with a second rule to change the color of the odd lines
    * column = -1 ( = row number)
    * operator = modulo
    * value = 2
    * action = format line
    * style = any style


    To finish, it is not possible for now to choose the sorting or the week, that's why you have to use NCAA College Football Scores, College Football Scores, NCAA Football Scoreboard and Results - ESPN for the address.
    I already though of the possibility to set the address like this http://scores.espn.go.com/ncf/scoreboard?seasonYear={yyyy}&seasonType=2&weekNumber={week:1-15} so that you can navigate through week one to 15.

    In fact it is already done for the year, if you put {yyyy} it will be replaced by 2010 and next year by 2011.

    I hope I was not too long and clear enough to let you try more stuff (in case you find another web site giving the results in an easier way to parse :D)

    Here is the export file, you can re-import in your configuration. Note that in some cases the import crashed the configuration dialog. In this case open the XML, copy everything between <Scores> and </Scores> (but not those tags) and paste it to your settings file (Program Data\Team Media Portal\MediaPortal\MyScoreCenter.Settings.xml) before the </Scores> tag.
     

    Attachments

    • USFootESPN.xml
      2.7 KB

    Users who are viewing this thread

    Top Bottom