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

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: Re : My Score Center - version 2.0.0 - 25 July 2011

    I would like to import my Canadian Football, MMA/UFC and local teams to existing categories is this a simple task?

    I uploaded a convert tool and wrote a wiki page to explain how to upgrade settings.

    I also forgot to explain:
    * For Worldfootball you can set the localized web site to use see the wiki
    * WF score are using specific styles to display levels or highlights also see the wiki
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 2.0.0 - 25 July 2011

    Another complement about the skin controls.
    Since the number of level is unlimited the icons #ScoreCenter.CatIco, #ScoreCenter.LIco and #ScoreCenter.ScoreIco are obsolete.
    They are repplaced by #Score.Ico1, #Score.Ico2, ....
    In the default skins I put 4 icons for DefaultWide and 3 for Default.

    Also #ScoreCenter.Category and #ScoreCenter.League are not used anymore.
    And #ScoreCenter.Results will show the full path: Level 1 > Level 2 > Level 3 ....
    So the text control with the value #ScoreCenter.Results should be as long as possible.

    I just played a little with localisations, it also works well. I even can localize Countries.
    score_<lang>.xml is just a template, you need to add every strings. It is case sensitive!

    Yes the score_fr.xml is just a template you can add as many strings as you want.
    As I explained there are two main sections:
    * one with ID, to get the ID of a score open the configuration screen and select the score, the id is the first field. Some ID (folders) should be straightforward (Football.Germany, Ice_Hockey.NHL ...) other are global ID (so unpredictable).
    * one more global which is more like a dictionary and where you can use regular expression (to translate Group A, Group B... for example)
     

    stdly

    MP Donator
  • Premium Supporter
  • April 19, 2008
    238
    41
    Home Country
    Canada Canada
    Re: Re : Re: Re : My Score Center - version 2.0.0 - 25 July 2011

    I would like to import my Canadian Football, MMA/UFC and local teams to existing categories is this a simple task?

    I uploaded a convert tool and wrote a wiki page to explain how to upgrade settings.

    I also forgot to explain:
    * For Worldfootball you can set the localized web site to use see the wiki
    * WF score are using specific styles to display levels or highlights also see the wiki

    Worked perfectly THANK you very much!
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: My Score Center - version 2.0.0 - 25 July 2011

    Hi! Trying to compile from SVN, there are couple of errors:

    Code:
    Error	1	The type or namespace name 'GenericScore' could not be found (are you missing a using directive or an assembly reference?)	d:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreTester\FrmScoreTester.cs	29	17	ScoreTester
    Error	2	The type or namespace name 'GenericScore' could not be found (are you missing a using directive or an assembly reference?)	d:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreTester\FrmScoreTester.cs	29	42	ScoreTester
    Error	3	The name 'ScoreFactory' does not exist in the current context	d:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreTester\FrmScoreTester.cs	41	36	ScoreTester
    Error	4	'MediaPortal.Plugin.ScoreCenter.Tools' does not contain a definition for 'ParseUrl'	d:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreTester\FrmScoreTester.cs	127	36	ScoreTester
    Error	5	Could not find file 'd:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreCenter\Resources\BuilderDialog_moveback.bmp'. Line 171, position 5.	d:\developing\#maintained\ScoreCenter\ScoreCenter\ScoreCenter\Properties\Resources.resx	171	5	ScoreCenter

    Maybe you can fix? :)
     

    Helios61

    Retired Team Member
  • Premium Supporter
  • January 30, 2008
    4,587
    873
    62
    NRW
    Home Country
    Germany Germany
    AW: My Score Center - version 2.0.0 - 25 July 2011

    Hi Frederic!

    Big Thanks for version 2.0.0! Unfortunately installation isn't possible with current SVN -> Screenshot! Could you please check the new wiki-page -> Link (created today)!

    Best regards

    Helios
     

    Attachments

    • Bild092.jpg
      Bild092.jpg
      17.5 KB

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : AW: My Score Center - version 2.0.0 - 25 July 2011

    Big Thanks for version 2.0.0! Unfortunately installation isn't possible with current SVN -> Screenshot! Could you please check the new wiki-page -> Link (created today)!

    Sorry, I'm not sure what needs to be done.
    Is it about the CompatibleVersion attribute. Actually it is set to 1.1.7.0.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 2.1.0 - 26 July 2011

    Ok I already uploaded version 2.1.0

    Changes concern mostly worldfootball scores:
    • new type 'Team' to add scores for a specific team. There are no example in the settings, so to add a team, go to worldfootball.net and select a team.
      For example url for Barcelona is FC Barcelona
      Add a new Score with type = Worldfootball, League = team code (ex: fc-barcelona), Season = {YYYY+1}, Type = Team, click the button to retrieve the icon. Click save (the left button) and you need to manually set the icon in the bottom left window (it is in the Football directory).
      This will add Last results, all results for current season and prize list.
    • Add top scorer history for league and tournament types
    • It is now possible to add children to a Worldfootball score.
    • Special hack for Hungary NB1 (because of the issue with the 2 URLs).

    I also add dependencies settings (min version, max version) to the installer I hope it is what should be done to fix the issue with SVN.

    I hope it is ok because I'm on vacation starting tomorrow.
    Don't hesitate to post issues or request for the future, to suggest website that might be interesting to create score type for.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: My Score Center - version 2.1.0 - 26 July 2011

    Using 2.1, just quickly testing...

    Athletics > World Records > Men

    after pressing ESC or ".." to go back, I don't go back to World Records but to Athletics. Dunno if that's feature or a bug :)

    Also, many times after pressing back, wrong category is chosen - for example, I was browsing in "Football" but after returning to main screen, Golf is selected instead of Football. Similar happens with sub-categories.

    BTW, still having trouble compiling SVN (missing files).
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: My Score Center - version 2.1.0 - 26 July 2011

    Is there a possibility to change the width of the columns in worldfootball and if they are aligned left or right?
    Thanks!
     

    vrm42

    Portal Pro
    April 24, 2007
    131
    28
    Home Country
    Hungary Hungary
    Re: My Score Center - version 2.1.0 - 26 July 2011

    Awesome, :D

    Now I can easily add Hungarian Supercup also :)

    About NB1 hack: it works, but 'league' has to be changed from 'monicomp-liga' to 'otp-liga' first. Thanks for supporting my country!

    I attached hungarian language files, please include them in the next version.

    score_hu.xml contains ALL strings from default config, so everybody can use it as template.
    Comments divide strings into categories, it is easy to overlook and adapt to any language.
     

    Attachments

    • score_hu.xml
      8.6 KB
    • strings_hu.xml
      603 bytes

    Users who are viewing this thread

    Top Bottom