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

C

cYbton

Guest
Re: My Score Center - version 1.1 - 13 dec 2009

Tried that without sucess... but it's not hastily... I can wait for the fanarthandler support :)
 

lebovitz

Portal Member
January 28, 2008
32
9
Home Country
United States of America United States of America
Re: My Score Center - version 1.1 - 13 dec 2009

Hi Fred,

Well... after your plugin made be learn HTML, XML and XPATH I managed to get the standings of the Israeli league in Hebrew.

The only problem I have is this:
Hebrew (and Arabic as well for that matter) are RTL languages. While the table on the web site is shown from right to left, you plugin arranges it from left to right. Is there a way to reverse that.

See file attached (left is from the plugin, right is from the web).

By the way I also made a Hebrew language file, which I'll send once I get everything working in the plugin.
 

Attachments

  • israel_league.jpg
    israel_league.jpg
    91.2 KB

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re: My Score Center - version 1.1 - 13 dec 2009

    Hi Fred,

    Well... after your plugin made be learn HTML, XML and XPATH I managed to get the standings of the Israeli league in Hebrew.

    The only problem I have is this:
    Hebrew (and Arabic as well for that matter) are RTL languages. While the table on the web site is shown from right to left, you plugin arranges it from left to right. Is there a way to reverse that.

    See file attached (left is from the plugin, right is from the web).

    By the way I also made a Hebrew language file, which I'll send once I get everything working in the plugin.

    I think it is normal because in the HTML the order is in this order.
    Can you give me a link so I can check the HTML.
    Another question what is your Media Portal configurations and especially the OS language and MP languages.

    I don't know if it is possible to detect the language otherwise I will add an option to reverse the column order.
     

    lebovitz

    Portal Member
    January 28, 2008
    32
    9
    Home Country
    United States of America United States of America
    Re: My Score Center - version 1.1 - 13 dec 2009

    The link is here:
    sport5.co.il - àúø òøåõ äñôåøè : ìéâú äòì, ëãåøâì éùøàìé

    You can find the table by searching for
    class="stats_liga"

    There is no "dir=rtl" in this table, and I don't know what effect it would have on the plugin.

    Anyway, I think your suggestion is the best approach - add a checkbox for swaping the columns.

    By the way - you should use Hebrew(Windows) for the encoding (also called windows-1255)

    Thanks for a great plugin :D
     

    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, version 1.2 is (finally :oops:) available

    I created a new MPE1 package, I hope I didn't forget anything.

    It includes the fix for the icon zip issues
    + possibility to select a default score (use the context menu)
    + new option for RTL languages to invert the columns order

    I'm currently updating the default configuration files to match the new seasons.
     

    vrm

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

    Very nice! With default score it looks fantastic, thanks!

    When I start Testconfig.exe, W7 says "HTMLParse has stopped working".
    Now there's no way to edit my settings :(
     

    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 ScoreCenter xml for GERMAN users. All results/tables are from "Kicker" website and contain the following actualized football leagues: Deutschland (1. und 2. Liga), England, Italien, Spanien, Frankreich, Österreich, Schweiz, Portugal, Russland, Türkei and Griechenland.
    Please note: I set the standings table of German 1. Bundesliga as default score ;)
     

    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

    Very nice! With default score it looks fantastic, thanks!

    When I start Testconfig.exe, W7 says "HTMLParse has stopped working".
    Now there's no way to edit my settings :(

    Weird! did you rebuild the testconfig.exe ?
    But the plugin is working in MP?
    It is not the same error as with version 1.1 (out of memory)
     

    vrm

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

    Very nice! With default score it looks fantastic, thanks!

    When I start Testconfig.exe, W7 says "HTMLParse has stopped working".
    Now there's no way to edit my settings :(

    Weird! did you rebuild the testconfig.exe ?
    But the plugin is working in MP?
    It is not the same error as with version 1.1 (out of memory)

    Ooops, sorry. My bad. I forgot to run exe from proper location :oops:

    Ooops again :(
    I modified an item which was previously marked as home screen. Now plugin shows nothing.
    I deleted myscorecentersettings.xml, downloaded a new one, still nothing...

    2010-08-30 19:58:55.381769 [ERROR][(15)]: [ScoreCenter] Error occured while executing the OnPageLoad:
    2010-08-30 19:58:55.384769 [ERROR][(15)]: [ScoreCenter] System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Plugin.ScoreCenter.ScoreCenterPlugin.<OnPageLoad>b__0(Object state)
    2010-08-30 19:59:02.310165 [ERROR][MPMain(1)]: OnMessage exception:confused:ystem.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.Plugin.ScoreCenter.ScoreCenterPlugin.GetLeagueImage(String category, String name)
    at MediaPortal.Plugin.ScoreCenter.ScoreCenterPlugin.SetLeague(String name)
    at MediaPortal.Plugin.ScoreCenter.ScoreCenterPlugin.OnPageDestroy(Int32 new_windowId)
    at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
     

    Users who are viewing this thread

    Top Bottom