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

edsche

Community Plugin Dev
January 7, 2007
606
360
38
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
    38
    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
    38
    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
    38
    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
    38
    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

    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    Works also, removed the "section" entry from MediaPortal.xml ;) (y)
    This plugin is alternate version to the original World Weather plugin developed by @Micropolis. Is compatible with MediaPortal...
    Replies
    33
    Views
    6K
    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
    592
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter to the profile. I'll try to add this option in the next version. PS: please use official thread
    Well, currently the plugin shows the sun/moon times in user's local time. As you said, It would require to add time zone parameter...
    I have the current (1.0.2.0 level) World Weather Lite plugins installed on x86 and x64 different MP1 copies. When Location is...
    Replies
    7
    Views
    1K
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG grabbing configuration, thanks again for all the assistance, wow so much faster on everything now that MSE is out of the picture...MP WAF is now restored and FetchTV STB sits in the corner collecting dust :)
    thank you Sir, issue is definitely resolved now, i uninstalled the problematic MSE altogether, plus i also now have optimized EPG...
    Long time MP user, and recently upgraded to MP1.34, prior to this upgrade, i have for many years successfully used MP with fast and...
    Replies
    20
    Views
    1K
    Hi, it looks like the Client's server connection settings got corrupted somehow and were reset, hopefully this is an easy fix. Open MP2-Client, navigate to Settings->General->Connectivity->Home server. In the menu on the left there may be an option Detach from home server, if there is click it and acknowledge the dialog that pops up...
    Hi, it looks like the Client's server connection settings got corrupted somehow and were reset, hopefully this is an easy fix...
    Help Please: MP doesnt display any of my previouse recordings or TV programs It seems like the Server isnt running? MP was working...
    Replies
    3
    Views
    550
    Top Bottom