*ORIGINAL THREAD* InfoService v1.6 - Feed reader/Twitter reader and weather (2 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

Hi edsche, I've run into a couple of problems after updating to beta7. I've the following feeds enabled:

MediaPortal Newsfeed
BBC News
Sky News

When starting MP, only the MP feed is available, and no image is shown for the feed. The BBC and Sky don't show up, although the default feed title is picked up in the plugin config...

One other thing, there was an error that infoservice.xml was missing, is this xml still required by the plugin (it's not in the release archive)?

I've attached the logs, hope you can help me out, :D

The infoservice.xml is still needed. But i didn't updated the skin files yet, sorry. For the latest changes please look here InfoService. I'll keep that documentation up to date.

The MP feed has no image, so InfoService can't download one :D For the other two feeds, there was a parsing error. Because of that, the feeds aren't in the list.
Code:
21/02/2010 19:53:25 | Feed | Info | Try to get feed images either from cache or from download links
21/02/2010 19:53:25 | Feed | Error | Error parsing RSS feed
						Illegal characters in path.
						   at System.IO.Path.CheckInvalidPathChars(String path)
   at System.IO.Path.GetDirectoryName(String path)
   at FeedReader.Utils.DownloadImages(Feed feed, String cacheFolder)
   at FeedReader.Xml.FeedRssXmlParser.TryParse(XDocument xmlFeed, Feed& feed)
21/02/2010 19:53:25 | Feed | Info | Parsing feed from url http://news.sky.com/sky-news/rss/home/rss.xml unsuccessful. See above for errors or warnings
Never had this message, but i will took into that.

If a user rename the plugin name, the name is not taken into accound in subpages : "Infoservice Feed"

Can you change ti to reflect the name user configured please ?

Simone
Yep you are right, i will change that :D

edit: @Psycho Reptile: Found out the problem, will fix that soon :)
 

Psycho Reptile

Retired Team Member
  • Premium Supporter
  • April 19, 2006
    1,316
    787
    Cambridge, England
    Home Country
    United Kingdom United Kingdom
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    The MP feed has no image, so InfoService can't download one :D
    I mean the button image, when starting MP the button looks like the left pic, after going into the feeds screen and selecting the MP feed the button image appears :D

    That was quick, thanks!
     

    Attachments

    • Untitled-8.png
      Untitled-8.png
      31.9 KB
    • Untitled-10.png
      Untitled-10.png
      32.4 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

    Mhh do you use the default images which InfoService will use? or does the MP feed now have an image?
     

    Psycho Reptile

    Retired Team Member
  • Premium Supporter
  • April 19, 2006
    1,316
    787
    Cambridge, England
    Home Country
    United Kingdom United Kingdom
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    I'm using 1.5beta7. The image that shows on the button in the RHS picture is the image specified for that feed in the plugin configuration, but it only shows up after entering the feed list screen and coming back out...
     

    adam_purkis

    Portal Pro
    May 10, 2008
    120
    0
    Home Country
    United Kingdom United Kingdom
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    Hi edsche, I've run into a couple of problems after updating to beta7. I've the following feeds enabled:

    MediaPortal Newsfeed
    BBC News
    Sky News

    When starting MP, only the MP feed is available, and no image is shown for the feed. The BBC and Sky don't show up, although the default feed title is picked up in the plugin config...

    One other thing, there was an error that infoservice.xml was missing, is this xml still required by the plugin (it's not in the release archive)?

    I've attached the logs, hope you can help me out, :D

    i also tried sky and bbc news today before reading this post and had the exact same problem just to let you know
     

    ZealotTC

    MP Donator
  • Premium Supporter
  • December 9, 2009
    51
    3
    Home Country
    Denmark Denmark
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    after upgrading to 1.10rc I get a crash on startup with the plugin enabled using beta 7 :(
     

    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

    Without logs i cant do anything. Anyway had the same problem yesterday. it seems that either the maya installation or the streamedmp installation copy the infoservice.dll to the process folder were it dont belongs. if you copy then another infoservice.dll to the window folder you get a crash. so just delete the infoservice.dll from the process folder.
     

    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

    I've uploaded a new beta which fixes some problems mentioned here.
    Psycho Reptile: I couldn't reproduce your problem with the image, worked for me fine. But anyway the beta 8 is worth a try. If the problem still exists please enable the debug option of InfoService and send me the log.
     

    Psycho Reptile

    Retired Team Member
  • Premium Supporter
  • April 19, 2006
    1,316
    787
    Cambridge, England
    Home Country
    United Kingdom United Kingdom
    Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [04-01-2010] *PLANN

    Hi Chris, just to let you beta 8 fixed the Sky and BBC feeds. The reason that no image was showing was a gfx file defaultFeedAll.png was missing from the Monochrome\Media\InfoService folder (found by using debug mode and checking log ;)). Also I had overlooked the new drop down box to select which feed is shown at startup. The other three feeds showed an image at startup :D.

    A suggestion, there are two gfx files for each feed, eg: defaultFeedRSS.png and defaultFeedItemRSS.png. ATM the defaultFeedItemRSS.png is blown up and used as the thumb for the feed item if there is no image, I think it would be better to use the defaultFeedRSS.png which is bigger and can be used without scaling. And the defaultFeedItemRSS.png should be used as the default button image without squashing the bigger one to fit.

    I've attached the images I've made/use for Monochrome ATM, perhaps they can help explain what I mean ;)

    Hopefully I haven't over complicated my explanation, lol.

    :D

    Cheers
    Darren
     

    Attachments

    • defaultTwitter.png
      defaultTwitter.png
      9.3 KB
    • defaultFeedItemRSS.png
      defaultFeedItemRSS.png
      5.8 KB
    • defaultFeedRSS.png
      defaultFeedRSS.png
      9.9 KB
    • defaultFeedItemRDF.png
      defaultFeedItemRDF.png
      5.8 KB
    • defaultFeedRDF.png
      defaultFeedRDF.png
      10 KB
    • defaultFeedItemAtom.png
      defaultFeedItemAtom.png
      5.8 KB
    • defaultFeedAtom.png
      defaultFeedAtom.png
      11.9 KB
    • defaultFeedItemAll.png
      defaultFeedItemAll.png
      5.7 KB
    • defaultFeedAll.png
      defaultFeedAll.png
      9.7 KB
    • defaultTwitterItem.png
      defaultTwitterItem.png
      5.2 KB

    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

    you can do that in the skin.. by using string.contains or string.equals.. i do it already..

    Code:
    		<control>
    			<description>Site Logo RDF</description>
    			<type>image</type>
    			<id>101</id>
    			<posX>40</posX>
    			<posY>500</posY>
    			<width>320</width>
    			<height>320</height>
    			<texture>InfoService\defaultFeedRDF.png</texture>
    			<keepaspectratio>yes</keepaspectratio>
    			<visible>!Control.IsVisible(106)+String.Contains(#infoservice.feed.selected.itemimg,defaultFeedItemRDF)</visible>
    		</control>
    		<control>
    			<description>Site Logo RSS</description>
    			<type>image</type>
    			<id>102</id>
    			<posX>40</posX>
    			<posY>500</posY>
    			<width>320</width>
    			<height>320</height>
    			<texture>InfoService\defaultFeedRSS.png</texture>
    			<keepaspectratio>yes</keepaspectratio>
    			<visible>!Control.IsVisible(106)+String.Contains(#infoservice.feed.selected.itemimg,defaultFeedItemRSS)</visible>
    		</control>
    		<control>
    			<description>Site Logo Atom</description>
    			<type>image</type>
    			<id>105</id>
    			<posX>40</posX>
    			<posY>500</posY>
    			<width>320</width>
    			<height>320</height>
    			<texture>InfoService\defaultFeedAtom.png</texture>
    			<keepaspectratio>yes</keepaspectratio>
    			<visible>!Control.IsVisible(106)+String.Contains(#infoservice.feed.selected.itemimg,defaultFeedItemAtom)</visible>
    		</control>
    		<control>
    			<description>Feed Item Logo</description>
    			<type>image</type>
    			<id>106</id>
    			<posX>40</posX>
    			<posY>500</posY>
    			<width>320</width>
    			<height>320</height>
    			<texture>#infoservice.feed.selected.itemimg</texture>
    			<keepaspectratio>yes</keepaspectratio>
    			<visible>!String.Contains(#infoservice.feed.selected.itemimg,defaultFeedItem)</visible>
    		</control>

    similar for the feed image on basichome.. (i don't do that). you are not limited to the defaultFeed and defaultFeedItem images, use anything you like..
     

    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
    590
    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
    548
    Top Bottom