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

FredP42

MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 2.3.0 - 24 Septmber 2011 With Live Plugin

    Hello jameson_uk,
    It is not obvious to setup. I installed opened MP and config section was empty. When I tried to add something I got unhandled .NET exceptions (think it was a null pointer exception).

    Opening up the plugin in MP seemed to then populate the config. Would it be possible to have the defaults already setup before you open it in MP?

    Yes, you are right it is not obvious. The idea is that the user will go directly in MP and the first time the settings will be downloaded.
    Maybe if you go directly to the config, a popup should ask the user if he wants to download the settings or explain how to do it.
    I don't want to include the complete settings in the package because after some time it won't be up to date.
    I fixed the issue when trying to add scores when the settings is empty.

    With the process plugin I know you are going to make it enabled by default but I think you can actually get rid of it all together by just starting some background thread inside the main plugin if this option is enabled?
    I don't know if it is possible? and I think it would be a workaround to MP plugins standards.

    Another really cool thing would be a vidi-printer (BBC SPORT | Football | Live Videprinter or as you can see at the bottom of the screen BBC SPORT | TV/Radio Listings | Grandstand | Grandstand interactive)
    So rather than navigating to something you would have a live feed with the latest scores on top and the old ones drop off as they get replaced with new ones. Then whatever you have setup as a live feed would appear on this feed.
    I didn't know what vidi-printer means, so I googled it and laugh.
    What you are suggesting is to split the ScoreCenter screen to have the vidi-printer show the last X lines?
    Why not? I already need to do a better job for the RSS scores, I will lonk into this too.

    If you want to add the vidi-printer, you can do it with this rule:
    XPATH = //div[@id="footballVideprinter"]//li
    Width = -50 (not necessary but nicer)
    Then set Max Lines to 5 (or more or less) and activate the live, it should work.
    Don't put too many lines because you will get all the changes in one notification dialog.

    If you could add sendings off (I am thinking of football here then that would be good too)
    I don't understand what your saying about adding sendings off.

    And the other thing I thought was about being able to link completed games to a review or news article on it (or even to some live text commentary about games that are in progress) (Eg. BBC Sport - Sunderland v Aston Villa for live or BBC Sport - Chelsea 3-5 Arsenal for completed games)
    Of Course that would be great, but the difficult part is to connect a line for a score with a URL.
    I'm already looking into this because I want to improve the live for WorldFootball by using the game page (example: Chelsea-Arsenal) which will give goal scorer and some other info like cards and substitute.
    The thing is that I need to do either a specific code for each site (and each user request) or add configuration parameters to be generic. For WorldFootball it don't bothers me to do a specific code since the site is very exhaustive and most users will use it.

    Edit: and some more ideas.... With the live plugin can we make the football scores show what is going on (most pages should L for Latest, HT for Half Time and FT for full time) which would be good

    Also could we have something about favourite teams so you can get pop up dialogs only for selected teams?
    Yes, maybe I can add a filter for the live feature.

    And finally.... Am I doing something wrong?? I have enabled live updates but I am not getting anything. I am say on the "next round" screen for English Premier League and I know scores have changed well over 10 minutes ago but nothing on screen. Earlier I only seemed to get an update when I changed screen ??
    No I think it is working, but for the live I'm using the main page of the league (ex: Premier League) and I saw too that it took up to 5 minutes to be updated.
    For what I saw, the game page is updated in 1-2 minutes then the round page in another 1-2 minutes and then the main page.
    I'm already working on using the round page rather than the main page, and as I said in the future I plan to use the game page to get more information.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 2.4.0 - 30 October 2011

    I uploaded version 2.4.0 with different fixes (see the release notes).
    I also improved the configuration screen, I took the different suggestions:
    - ask the user if he wants to download the settings the first time),
    - fix the issues when the settings is empty,
    - add some tooltip,
    - remove the save button for each score which seems to be confusing. Note that you still need to save the settings before exiting.

    For the issue with hidden columns in the live (found by fischy667): the column sizes are still not used, you'll need to use the format field to format the output (see the wiki).
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    Re: My Score Center - version 2.4.0 - 30 October 2011

    Great plugin. So far everything looks fine.

    Here my updated StreamedMP skin for MyScoreCenter 2.4.0.0.

    Just copy the included folder to:

    C:\ProgramData\Team MediaPortal\MediaPortal\skin

    Have fun.

    Edit: I added my MyScoreCenterNotify.xml. Put it into C:\ProgramData\Team MediaPortal\MediaPortal\skin\StreamedMP

    There is problem when more than one line is shown. Only the last line is using the right font. This is not a problem of my skin. It has to be a problem of StreamedMP or MP itself.

    PS. The screen is not greyed out. I just repaint the uninteresting part.
     

    Attachments

    • 18-36-14.png
      18-36-14.png
      800.4 KB
    • 22-23-10.png
      22-23-10.png
      68.9 KB
    • StreamedMP-scorecenter 2.4.0.0.rar
      881.2 KB
    • MyScoreCenterNotify.xml
      4 KB

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Am I doing something wrong? I can not get live updates to work. I have set default to current English premiership scores and live updates are set. I get the scores showing and they update if I change screen but they do not update until I change screen.

    Are scores meant to also create a pop up dialog? I did see one once but I can't figure out how to make it show.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 2.4.0 - 30 October 2011

    Yes a notify dialog should pop up if one of the scores changes.
    If you remain on the page, it won't be refresh automatically.

    The notification will use the file MyScoreCenterNotify.xml if it exists otherwise you will see the regular notification dialog.

    You can check the MediaPortal.log file to see if there is an error?
    or maybe nothing was happening :)
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Re: Re : My Score Center - version 2.4.0 - 30 October 2011

    Yes a notify dialog should pop up if one of the scores changes.
    If you remain on the page, it won't be refresh automatically.
    Ahhh ok, I was expecting it to update on the fly. (perhaps this could be a new feature request ;))

    The notification will use the file MyScoreCenterNotify.xml if it exists otherwise you will see the regular notification dialog.

    You can check the MediaPortal.log file to see if there is an error?
    or maybe nothing was happening :)
    There were certainly goals being scored as I was watching the scores on my tablet to see if the scores were being updated.

    Pressing OK on the latest scores page did update the correct scores but no dialog :(

    Also no errors, only remotely dodgy thing is
    Code:
    2011-11-26 15:37:19.000000 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\Maya\MyScoreCenter.xml' is missing control id 50 (window property: lblVisible)

    Could the lack of this control in skin file cause an issue with the plugin ??
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: Re : My Score Center - version 2.4.0 - 30 October 2011

    Ahhh ok, I was expecting it to update on the fly. (perhaps this could be a new feature request ;))
    Noted :)

    Also no errors, only remotely dodgy thing is
    Code:
    2011-11-26 15:37:19.000000 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\Maya\MyScoreCenter.xml' is missing control id 50 (window property: lblVisible)

    Could the lack of this control in skin file cause an issue with the plugin ??

    No, the control with id = 50 is a dummy control which should be used for small screen skin.
    If it is detected the list view will be hide when a score is displayed.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : My Score Center - version 2.5.0 - 9 December 2011

    Hello All,
    I just uploaded version 2.5.0, the new features are:

    WorldFootball scores analyzed which items to show (last results, ranking, scorer).
    For WorldFootball scores, now it will analyzed the "home page" of the league and display/hide the sub items such as Top Scorer, History....
    With the same idea, the results item will show the "current round" (define in the home page).
    This should fix the issue when the results is empty.

    WorldFootball add Assist, Stadium and Referee.
    New items displayed (if available).

    WorldFootball possibility to navigate through rounds.
    For leagues, it is now possible to navigate through the rounds.
    So there is no more "Next Round" item.
    To have this working the skin must contains two additional controls: prev score button (id = 70) and next score button (id = 80).
    Additionally (recommended) the round name can be displayed by #ScoreCenter.Round property.

    Localization for scores.
    It is possible to define a dictionary in the score_xx.xml.
    You can have more than one dictionary, each dictionary has a name.
    The LocString works like previous usage.
    To use a dictionary, in the score definition, enter the name of the dictionary in the Dictionary field.
    The following example, will replace "10" by "Ten" and everything starting with "2" by "#2*"
    Code:
      <ScoreDictionaries>
        <ScoreDictionary name="Sample">
          <LocString id="10">Ten</LocString>
          <LocString id="2(?&lt;grp&gt;\.*)" isRegEx="true">#2${grp}</LocString>
        </ScoreDictionary>
      </ScoreDictionaries>
    Note: WorldFootball scores will use the following dictionaries WF.scorer, WF.archives, WF.table, WF.last (for results)

    Improve parsing to use "alt" attribute of img tag when the column contains only images.
    For Columns which contain only an image <img src=..., the alt property will be used (if it exists).

    Alternate color for rows.
    It is possible to use an alternate color to make the score more readable.
    There is an option in the setting scree "Use alternate color" (checked by default).
    The alternate is defined in the skin by the colordiffuse property of the control with id 20.

    Reorganize Generic Score Editor with tabs.
    I reorganize the score editor to separate parsing, and formatting elements.
     

    fischy667

    Super User
  • Team MediaPortal
  • Super User
  • May 5, 2010
    967
    290
    42
    Rostock
    Home Country
    Germany Germany
    Re: My Score Center - version 2.5.0 - 9 December 2011

    Great improvement. Good work.

    I'm modifying my StreamedMP skin and I found a problem.

    The next button for worldfootball leagues is not shown.

    When first enter a result page only the previous button is visible, what is correct.
    But when go to the previous round, the buttons for the next round is still not visible.
     

    FredP42

    MP Donator
  • Premium Supporter
  • May 2, 2009
    237
    243
    78
    Home Country
    France France
    Re : Re: My Score Center - version 2.5.0 - 9 December 2011

    I'm modifying my StreamedMP skin and I found a problem.

    The next button for worldfootball leagues is not shown.

    When first enter a result page only the previous button is visible, what is correct.
    But when go to the previous round, the buttons fr the next round is still not visible.

    In fact, it depends, when you click "results" then it will show "the current" round.
    For example, Bundesliga current round is round 16, so you should see both buttons Prev (round 15) and Next (round 17).
    The number of round is part of the settings.

    I don't know if it is what's causing the issue but by default the button should be hidden.
    In the skin file you should have <visible>no</visible> for both buttons (id 70 and 80).
     

    Users who are viewing this thread

    Top Bottom