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

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

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..

Default images are loaded, if no images was found. They should be in the {skin}\Media\InfoService\ folder. Are there the default images?

Btw: thanks for finding that, i don't know why i readded this line :confused:
Btw2: Will add the 2 properties :)
 

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

    nope, when using wired top stories rss feed, the thumbs folder (thumbs\InfoService\Wired Top Stories\) gets filled with png files with filenames like a24fb4223...... .. .png
    but the png files are very small in size and presumably, empty.. plugin fills the image properties from that thumbs folder (the log says so)..
     

    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

    Found the error. The method which parses the image out of the description field was wrong. I've modified this method to only parse images in the description field if they are *.jpg, *.png, *.bmp, *.gif. But for the Wired feed, there would be still no images, because the "images" in the feed are ads. The source for example of a image is "http://feedads.g.doubleclick.net/~at/9MbbpovqUO3qESr2zCMR634k700/1/da" which is obiviously no image.
     

    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

    awesome, i'm hoping you will find the time to implement the requests from yesterday too :)

    also, i was thinking.. this plugin would be the perfect one to implement alternate weather source, together with the new gui window for weather. i'm suggesting yr.no. they have sources for amazing number of places around the globe. no pressure, but it would be very good addon to this awesome plugin.
     

    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

    Just uploaded a new beta release here InfoService - Release: InfoService v1.5 Beta3.

    Images out of the description are only taken if they are a valid image file and if they are greater then 10x10. Hopefully the most unvalid images are now ignored. Please post if all images are correctly downloaded/parsed or not.

    Btw: As ltfearme updated his MPTvSeries plugin, you can test now the recently added feature with the 2.5 version of MpTvSeries.

    Also it would be awesome if some twitter users post some results with the twitter client.

    also, i was thinking.. this plugin would be the perfect one to implement alternate weather source, together with the new gui window for weather. i'm suggesting yr.no. they have sources for amazing number of places around the globe. no pressure, but it would be very good addon to this awesome plugin.
    Thought about that. I'll make a note of that :D
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    It seems to me that when you enter the normal "Weather" part of MediaPortal, and change between cities, Infoservice doesn't update these properties:

    #infoservice.weather.location

    #infoservice.weather.today.condition
    #infoservice.weather.today.temp
    #infoservice.weather.today.img.small.filenamewithext
    etc.

    The location and the properties for the current day (today) are not updated. The other days (day2, day3, day4, day5) are.

    When I close and reopen MediaPortal, it works fine again (until next location-change).
     

    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

    It seems to me that when you enter the normal "Weather" part of MediaPortal, and change between cities, Infoservice doesn't update these properties:

    #infoservice.weather.location

    #infoservice.weather.today.condition
    #infoservice.weather.today.temp
    #infoservice.weather.today.img.small.filenamewithext
    etc.

    The location and the properties for the current day (today) are not updated. The other days (day2, day3, day4, day5) are.

    When I close and reopen MediaPortal, it works fine again (until next location-change).

    Works fine here. Can you attach the infoservice.log. There should be some informations about that.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    It seems to me that when you enter the normal "Weather" part of MediaPortal, and change between cities, Infoservice doesn't update these properties:

    #infoservice.weather.location

    #infoservice.weather.today.condition
    #infoservice.weather.today.temp
    #infoservice.weather.today.img.small.filenamewithext
    etc.

    The location and the properties for the current day (today) are not updated. The other days (day2, day3, day4, day5) are.

    When I close and reopen MediaPortal, it works fine again (until next location-change).

    Works fine here. Can you attach the infoservice.log. There should be some informations about that.

    Log attached. I run latest InfoService + MediaPortal SVN 24923 on Windows XP. As mentioned the days 2-5 updates fine :confused:

    Procedure:
    Open MediaPortal
    Go to Weather
    Change location (City)
    Navigate somewhere else (like home-screen)

    :D

    [edit]New logs attached, but I don't see much difference :confused:[/edit]
     

    Attachments

    • weather.jpg
      weather.jpg
      132.7 KB
    • infoservice.jpg
      infoservice.jpg
      104.5 KB

    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

    Ah sry, forgot to mention. You need to enable the debug logging option :p

    Btw: Don't know if you noticed, but I've uploaded a new beta of v1.5 here. The log seems from an older version. Found some misspellings in there which i fixed already.

    Edit: If you've enabled the debug options, the log is much much much bigger :D Which version do you use?
    Exact the same procedure i did.
     

    pilehave

    Community Skin Designer
  • Premium Supporter
  • April 2, 2008
    2,566
    521
    Hornslet
    Home Country
    Denmark Denmark
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    Ah sry, forgot to mention. You need to enable the debug logging option :p

    Btw: Don't know if you noticed, but I've uploaded a new beta of v1.5 here. The log seems from an older version. Found some misspellings in there which i fixed already.

    Edit: If you've enabled the debug options, the log is much much much bigger :D Which version do you use?
    Exact the same procedure i did.

    New log with 1.5 B3 attached.

    City set to Arhus, Denmark
    Open MediaPortal
    Go to Weather
    Change city to Oslo, Norway
    Go to any screen with #infoservice.weather.location
    It still says Arhus, Denmark (as in my previously attached screenshots). <-- Well, actually this time it's the other way around, but you get me ;)
     

    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