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

chlodny

Portal Pro
September 18, 2009
83
19
Silesia
Home Country
Poland Poland
Re: My Score Center - version 1.3 - 1 Nov 2010

Great! That would be outstanding if the whole thing was done automatically :) Allright, below you can see the script for Polish Ekstraklasa (1st level) and I liga (2nd level). I translated the headers to English so that everyone could understand. Also I attached Polish translation for the plugin. :)

EDIT: Is it possible to make a bigger text colour choice to the plugin? I know it has something to do with that:

<Styles>
<Style Name="Orange" ForeColor="-32768" />
<Style Name="Red" ForeColor="-65536" />
<Style Name="White" ForeColor="-1" />
<Style Name="Yellow" ForeColor="-128" />
</Styles>

But I have no idea which colour model it is... Could you explain it to me, please? :)
 

Attachments

  • Ekstraklasa i I liga.txt
    3.8 KB
  • strings_pl.xml
    616 bytes

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 1.3 - 1 Nov 2010

    Great! That would be outstanding if the whole thing was done automatically :) Allright, below you can see the script for Polish Ekstraklasa (1st level) and I liga (2nd level). I translated the headers to English so that everyone could understand. Also I attached Polish translation for the plugin. :)

    EDIT: Is it possible to make a bigger text colour choice to the plugin? I know it has something to do with that:

    <Styles>
    <Style Name="Orange" ForeColor="-32768" />
    <Style Name="Red" ForeColor="-65536" />
    <Style Name="White" ForeColor="-1" />
    <Style Name="Yellow" ForeColor="-128" />
    </Styles>

    But I have no idea which colour model it is... Could you explain it to me, please? :)

    Thank you for the polish translation, I will add it to the next release and I will also add your settings to the online file.

    For the colors you can add "styles" by clicking the "color" button on the toolbar to see the style editor :
    style editor.jpg
     

    chlodny

    Portal Pro
    September 18, 2009
    83
    19
    Silesia
    Home Country
    Poland Poland
    Re: My Score Center - version 1.3 - 1 Nov 2010

    Allright, here's the thing then :) My ScoreCenter with a few changes just for Polish users. I translated most of the strings and headers and here's what I added to the file:
    Polish football Ekstraklasa and I liga
    Polish basketball TBL, I and II liga
    Polish volleyball Plusliga
    Polish speedway Ekstraliga
    Ski jumping World Cup
    Also I changed some football tournaments to get information from another sites - these are Euro 2012, Europa League and Champions' League.
    I hope you will put that on the server, Fred:) And thanks again for that plugin!

    Greets,
    cdn
     

    Attachments

    • MyScoreCenter.Settings.pl.xml
      227 KB

    twemperor

    MP Donator
  • Premium Supporter
  • March 10, 2010
    103
    28
    Home Country
    United States of America United States of America
    Re: My Score Center - version 1.3 - 1 Nov 2010

    Sports is the 'forgotten' genre of MediaPortal, and I think the sports score information collection of this plugin is great.

    What I really want, though, is to use this information to help me manage and access my recorded sports. I can access my recorded sports through the TV plugin, which is adequate. However, it would be great to have the context of score information and standings when looking at a list of recorded games. For example, knowing the records of two teams before I watch a game. After watching a game, showing the final score in an archive of notable games.

    Has there been any discussion or interest in integrating the recorded TV aspect of MediaPortal with this plugin? I am a SW developer, and would like to work on this, but I have limited time and is anyone else interested?
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 1.3 - 1 Nov 2010

    Hello twemperor,

    No I never thought of linking this with the TV plugin. Probably because I don't use the TV Plugin.
    And you are the first to think of this.
    But why not?

    I think the main difficulty for this will be as always the configuration part: how to link a recorded event with a score in score center?
    Can you give more detail on how you see this in a user experience point of view.

    And also be aware that since the information is coming from external websites, if you look at the teams records before you watched the recorded game, so hours after the end of the game these records will probably include the result of the game itself :)
     

    twemperor

    MP Donator
  • Premium Supporter
  • March 10, 2010
    103
    28
    Home Country
    United States of America United States of America
    Re: Re : My Score Center - version 1.3 - 1 Nov 2010

    Hello twemperor,

    No I never thought of linking this with the TV plugin. Probably because I don't use the TV Plugin.
    And you are the first to think of this.
    But why not?

    I think the main difficulty for this will be as always the configuration part: how to link a recorded event with a score in score center?
    Can you give more detail on how you see this in a user experience point of view.

    And also be aware that since the information is coming from external websites, if you look at the teams records before you watched the recorded game, so hours after the end of the game these records will probably include the result of the game itself :)

    I agree that this configuration is what's going to be kind of hard. Plug-ins in MediaPortal seem very loosely connected. I'm sure there's lots of EPG data in the TV plug-in that could make it somewhat easy to pair up a recorded game with team/score information collected from the Web, but I don't know how much of that data is available to other plugins.

    I started to prototype my own plug-in to do this. A team name and date would seem to be sufficient information to link the video file with the score/team information. Sport and opponent would be good information to guarantee uniqueness. In my prototype, I just used the file name of a recorded video to get team name and date information. I wrote my own scraper for ESPN Mobile to get the team schedule. The plugin listed the schedule, and if a video file existed for the given date of the game, then the user could select the game and watch it.

    As you point out, score information would be available as soon as the recorded game would be available. If the game is unwatched, then we would probably not want to display the score (just the teams and game time). If the game is watched, then the score (and perhaps a game summary) could be displayed.

    When I wrote my prototype, the format of ESPN Mobile sports site changed several times and I quickly realized that your plug-in's score collection engine would be ideal for this part. The functionality in the Moving Pictures plugin to recognize video files and add them to a database appears to have been abstracted into some kind of CornerStone Framework that could be re-used here to identify games and link them with score information.

    I wish I had more time to work on this, but hopefully I'll have some time around Christmas to start coding something up.
     

    ced007

    Portal Pro
    July 7, 2008
    247
    17
    Haute-Savoie
    Home Country
    France France
    Re: My Score Center - version 1.3 - 1 Nov 2010

    Hello,
    How can we have a bigger font?
    When I display standings or results it's too small on my 50' screen.
    Thanks.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 1.3 - 1 Nov 2010

    Hello ced007,

    the font is handled by the skin, which skin are you using ?

    If you want to change the font :
    - go to the skin directory and open the MyScoreCenter.xml file,
    - then search for the control with id = 20 (<id>20</id>),
    - then you can change the font tag (in the default file for blue3wide it is <font>font11</font>)

    the font name (font11) refers to a font in the fonts.xml file of the skin.
     

    ced007

    Portal Pro
    July 7, 2008
    247
    17
    Haute-Savoie
    Home Country
    France France
    Re: Re : Re: My Score Center - version 1.3 - 1 Nov 2010

    Thanks Fred42,
    I will try this.
    I'm using StreamedMP.

    Edit: I changed to font14, it worked thanks!
     

    Users who are viewing this thread

    Top Bottom