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

Bleazle

Portal Pro
July 14, 2007
1,122
257
Pukekohe
Home Country
New Zealand New Zealand
Fafnir changed the weather icons and then i got the same problem like you.

I tested now everything. And i can't even debug this because i havn't got the problem :p Do you use the test version i've send you? When you start mediaportal you get instant the false temp values?

I'm out of town at the moment so I can't check - I think I'm still using the test version you gave me - if not I'll download it again when I get home and let you know in a few days.
 

arual

Portal Member
July 30, 2008
28
0
MALAGA
Home Country
Spain Spain
HI, i am using the last X-face skin 1.9, with the MPI infoservice from the 1st post.

I can see the Rss and weather information on the basicHome menu, but i´d like to see them at the Home Menu.

¿wich file i have to mod?

MyHome.xml ?
common.rss.xml?

both?

I have tried but no luck.
any help, please.
 

edsche

Community Plugin Dev
January 7, 2007
606
360
39
Ulm
Home Country
Germany Germany
HI, i am using the last X-face skin 1.9, with the MPI infoservice from the 1st post.

I can see the Rss and weather information on the basicHome menu, but i´d like to see them at the Home Menu.

¿wich file i have to mod?

MyHome.xml ?
common.rss.xml?

both?

I have tried but no luck.
any help, please.

Both i think. Just search the thread here. Someone asked the same question a couple of pages back.


Btw: I have a new version ready. Completely rewritten with download cache for twitter and feeds (for faster updates) and a better twitter client with it's own GUI (looks like the feeds GUI). But before i release a buggy version, i want to have some feedback from other users. So if someone want to try the new version, just write me a pm.

@DieBagger: I did some research with your idea on the GUIMessage thing. Looks like it's pretty easy to do this. I think i will add a Recently Added function to the new InfoService version. The only problem is that MovingPictures, MPTVSeries and other plugins must send a GUIMessage with the information. So there would be a little coding part for the other plugin developers.
 

Swede

Portal Pro
September 6, 2006
493
47
West Coast Archipelago
Home Country
Sweden Sweden
HI, i am using the last X-face skin 1.9, with the MPI infoservice from the 1st post.

I can see the Rss and weather information on the basicHome menu, but i´d like to see them at the Home Menu.

¿wich file i have to mod?

MyHome.xml ?
common.rss.xml?

both?

I have tried but no luck.
any help, please.

These are my modded Blue2wide files. See if you can use them, or parts of them.
 

Attachments

  • myHome.xml
    30.6 KB

AcidMathew

Portal Member
October 11, 2009
16
0
Augsburg
Home Country
Germany Germany
Today Weather Backdrops

Hello everybody,

first of all I must say that I am a rookie in customizing MP.
But I'm trying to customize myweather plugin.
I want to have a background image dependent on the today weather.
So I integrated a testpic with InfoService:

Code:
    <control>
      <description>test image</description>
      <type>image</type>
      <id>0</id>
      <posX>0</posX>
      <posY>0</posY>
      <width>200</width>
      <height>200</height>
      <texture>d:\test\#infoservice.weather.today.img.small.filenamewithext</texture>
    </control>

In the test folder I placed the diffrent backgrounds.
Now there is the problem that this image isn't updated when I push the refresh button and it isn't updated when I change the city in myweather plugin.
How can I get this solved?

:D a lot.

CU Mathias
 

edsche

Community Plugin Dev
January 7, 2007
606
360
39
Ulm
Home Country
Germany Germany
Hello everybody,

first of all I must say that I am a rookie in customizing MP.
But I'm trying to customize myweather plugin.
I want to have a background image dependent on the today weather.
So I integrated a testpic with InfoService:

Code:
    <control>
      <description>test image</description>
      <type>image</type>
      <id>0</id>
      <posX>0</posX>
      <posY>0</posY>
      <width>200</width>
      <height>200</height>
      <texture>d:\test\#infoservice.weather.today.img.small.filenamewithext</texture>
    </control>

In the test folder I placed the diffrent backgrounds.
Now there is the problem that this image isn't updated when I push the refresh button and it isn't updated when I change the city in myweather plugin.
How can I get this solved?

:D a lot.

CU Mathias
The refresh button on the mywheater plugin doesn't update the infoservice weather. You must push the refresh button in the infoservice window. When you change the weather in the myweather window, infoservice will update the data with the new location on the next update interval.
 

AcidMathew

Portal Member
October 11, 2009
16
0
Augsburg
Home Country
Germany Germany
Hi Chris,

ok. Thx a lot.
Is there any other possibility to have a today weather dependent backgrounds in the myweather plugin?
Can I integrate a second image (from a user defined folder) with the same features like the today weather icon?
So that the city change and the refresh button can be used.

CU Mathias
 

trevor

Portal Pro
October 17, 2006
1,601
952
Chelmsford
Home Country
United Kingdom United Kingdom
Hi Chris,

ok. Thx a lot.
Is there any other possibility to have a today weather dependent backgrounds in the myweather plugin?
Can I integrate a second image (from a user defined folder) with the same features like the today weather icon?
So that the city change and the refresh button can be used.

CU Mathias

Hi Mathias,

The simple answer is yes, taking you code as an example and assuming a directory structure of d:\weatherbg\ and backround images names 0.png to 47.png the code would be.

Basicly #infoservice.weather.today.img.small.filenamewithoutext properity returns just a number between 0 & 47 and you just need to add location and file ext to the back and front.



<control>
<description>test image</description>
<type>image</type>
<id>0</id>
<posX>0</posX>
<posY>0</posY>
<width>200</width>
<height>200</height>
<texture>d:\weatherbg\#infoservice.weather.today.img.small.filenamewithoutext.png</texture>
</control>


Hope that helps.

Edit: Just realised that I maybe should have reas the entire question 1st as not sure this is the answer you are looking for...ho hum!

Cheers
 

AcidMathew

Portal Member
October 11, 2009
16
0
Augsburg
Home Country
Germany Germany
Hi Trevor,

thx for the quick answer.
Basically this is what I'm trying to do.

1. Background depending to the today weather (background of the myweather plugin) -> DONE (similar to your answer)

2. Background should be refreshed with the refresh button in the myweather plugin and by changing the city immediately -> but this is with infoservice and myweather not possible as Chris wrote

So there was the idea to use the same control like the weather icon from the myweather plugin twice but with different images.
Is this possible?

CU Mathias

P.S. I hope my english is not too bad. :D
 

olivvvv

Portal Pro
April 20, 2009
114
13
Home Country
France France
Re: InfoService v1.32 - 5 day weather/Feeds/Twitter on basic home [29-10-2009] *UPDAT

i have found in mediaportal.log :

2009-11-04 08:23:43.332564 [Warn.][18]: InfoService: Update of weather unsuccesfull. No locationID for WeatherService found (LocationID string empty).

but i have filled weather location in plugins.

No one has this error ?
Please help ?
 

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