*ORIGINAL THREAD* InfoService v1.6 - Feed reader/Twitter reader and weather (6 Viewers)

chemelli

Retired Team Member
  • Premium Supporter
  • September 28, 2006
    6,159
    2,264
    51
    Milano, Italy
    Home Country
    Italy Italy
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    Small feature request: would be possible to change the name of the plugin ? I would like to localize "InfoService" :)

    Simone
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    is it possible for the plugin to start with "show all feeds" as default? so you don't have to open the plugin and select that?
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    39
    Ulm
    Home Country
    Germany Germany
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    Small feature request: would be possible to change the name of the plugin ? I would like to localize "InfoService" :)

    Simone

    I will implement that.

    is it possible for the plugin to start with "show all feeds" as default? so you don't have to open the plugin and select that?

    See above :D
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    thanks :)

    i've been updating skin for the upcoming 1.5 version.. using test5 from the downloads.. i renamed old infoservice.xml to infoservice.feeds.xml and copied that to infoservice.twitter.xml

    1. i get errors in error.log:
    2010-02-02 20:55:59.051781 [ERROR][MPMain(1)]: SKIN: Missing C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\Black & White 1080\infoservice.xml

    2. upon opening i get the selection of twitter / feed GUIs. i select feeds:
    02.02.2010 20:55:59 | InfoService | Info | Opened InfoService from Home menu. Showing InfoService moduls...
    02.02.2010 20:56:00 | InfoService | Info | Selected to show the Feeds window
    02.02.2010 20:56:00 | Twitter | Info | Load Twitter GUI
    twitter gui is loaded and the buttons show different text than it should be (button 4 should be "select feed", but now is "select time..", button 5 should be "all feeds" but now is "update status"). they also don't work at all with error:
    2010-02-02 20:59:37.412553 [ERROR][MPMain(1)]: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at InfoService.GUIWindows.GUITwitter.OnMessage(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    39
    Ulm
    Home Country
    Germany Germany
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    thanks :)

    i've been updating skin for the upcoming 1.5 version.. using test5 from the downloads.. i renamed old infoservice.xml to infoservice.feeds.xml and copied that to infoservice.twitter.xml

    1. i get errors in error.log:
    2010-02-02 20:55:59.051781 [ERROR][MPMain(1)]: SKIN: Missing C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal\Skin\Black & White 1080\infoservice.xml

    2. upon opening i get the selection of twitter / feed GUIs. i select feeds:
    02.02.2010 20:55:59 | InfoService | Info | Opened InfoService from Home menu. Showing InfoService moduls...
    02.02.2010 20:56:00 | InfoService | Info | Selected to show the Feeds window
    02.02.2010 20:56:00 | Twitter | Info | Load Twitter GUI
    twitter gui is loaded and the buttons show different text than it should be (button 4 should be "select feed", but now is "select time..", button 5 should be "all feeds" but now is "update status"). they also don't work at all with error:
    2010-02-02 20:59:37.412553 [ERROR][MPMain(1)]: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at InfoService.GUIWindows.GUITwitter.OnMessage(GUIMessage message)
    at MediaPortal.GUI.Library.GUIWindowManager.SendMessage(GUIMessage message)

    Mh this could be, morpheus_xx has let me know for a couple of days, that the home button doesn't work, so i'll quick added this thing. I'will look into this tonight. Thanks for the feedback :D

    btw: I think you don't have the language folder for infoservice. Don't know if it's in the rar file.

    Another edit: Could it be that your window ids are wrong? For twitter gui it's 16003 and feed gui it's 16001.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    i got the languages from beta2 :)

    edit 2 reply: indeed! as i copied infoservice.feeds to infoservice.twitter i forgot to change window id :) i still get the first error in the logs, but it all works
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    39
    Ulm
    Home Country
    Germany Germany
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    i got the languages from beta2 :)

    They should work. In the infoservice.log are some logging notices about language file loading. Just turn the debug loggin option on.

    To your first error: Did made a backup of the old version? If so, put it outside of the plugins folder. MP loads every single .dll file in that folder. Even the .dll file that are no MP Plugins :D
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    languages are ok.. now the buttons are fine too.. i just get the first error in the log (about missing infoservice.xml)..

    edit: how do you use languages from your xml.. for example, if i want to add a label for button id5 (all feeds). what number do i type in the <label>? in your strings_en it is id 2 for "Show all feeds" but if i type number 2, i get "Music" (from MediaPortal's strings_en)

    edit2: for this rss the images are not downloaded: http://feeds.wired.com/wired/index?format=xml
     

    edsche

    Community Plugin Dev
    January 7, 2007
    606
    360
    39
    Ulm
    Home Country
    Germany Germany
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    The language is assigned in the coding. So the <label>2</label> won't work anymore. You need only to use the right control id and inforservice will use the right label. If you wan't a new language just make a language file. On the codeplex page there is a little help for that.

    The feed doesn't use the proper RSS2.0 image tag. The image is in the description field, where the feed description should be. But the image doesn't belong to the description tag. This is a little problematic, but i will look into this. If every feed uses the rss standardization there would be no problem :>
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    yeah, i figured if i leave <label> empty, the plugin used the right string.. that's the best way..

    about that feed.. i don't use it but i was just testing with it.. maybe in cases like that you treat the feed like it doesn't have any images (fill the default ones)..

    i have one more feature request: i would like to see the age ("111hours 12minutes ago") exported in a property. also with story description. i would then use them together to show in a scroll box.


    edit: i have tracked down missing infoservice.xml error in logs to InfoServiceCore.cs file, line "return Load(GUIGraphicsContext.Skin + @"\infoservice.xml");". you should look at it..
     

    Users who are viewing this thread

    Similar threads

    I saw there is a plugin section, can be moved there?
    I saw there is a plugin section, can be moved there?
    Hello, for a few days I get an error within Mediaportal when I put the RSS link to trakt calendar. If I insert this link into...
    Replies
    1
    Views
    1K
    He left the team and deleted his Github repositories, I don't know the reason. But it already happened.
    He left the team and deleted his Github repositories, I don't know the reason. But it already happened.
    This plugin is alternate version to the original World Weather plugin developed by @Micropolis. Is compatible with MediaPortal...
    Replies
    39
    Views
    18K
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team will create a Jira ticket, and for each ticket, you’ll make the changes and submit a pull request. This will be transparent and straightforward.
    If you’re planning to submit a pull request, let’s go through the list of issues and their solutions. I or someone from the team...
    I'm very glad to see that mediaportal 1 is on github, where ordinary devs with github accounts can make contributions. Please can...
    Replies
    7
    Views
    1K
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in Settings (which somehow I had missed, I think because it wasn't an option previously), and the deleted everything in the Flat-default folder and populated it with my own logos. Works, so far.
    Ok, thanks much. I will look into the instructions above. For the moment, I turned off the "Automatic channel logo update" in...
    Hi-- I have to revisit an old issue, unfortunately. I just downloaded MP 2.5, a fresh installation, on a new computer (reluctantly...
    Replies
    5
    Views
    2K
    That was the correction I made in BasicHome for the 1.35 Prerelease which you adddd to repo ;)
    That was the correction I made in BasicHome for the 1.35 Prerelease which you adddd to repo ;)
    I'm going bananas here!! Used MP1 since MP1.10 or so.....an haven't had problems for years! Am using latest Dune...
    Replies
    8
    Views
    3K
    Top Bottom