home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
yrWeather Plugin 1.3.0.0
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dadeo" data-source="post: 837832" data-attributes="member: 27204"><p><strong>Re: yrWeather Plugin</strong></p><p></p><p>Sorry I didn't get time to check about the backdrops before now.</p><p></p><p>The problem appears to be that the plugin recognizes and interprets #yrWeather.weatherIcon and so does not recognize #yrWeather.weatherIcon.no (or #yrWeather.weatherIcon.nr - not sure which one you ended up using but I tried both!) </p><p></p><p>I suspect it doesn't work because the properties are not unique (i.e. #yrWeather.weatherIcon is already a skin property). In any case, the property does not return valid data. It should display only the icon number such as 0, 1, 2, etc. but it doesn't. Instead it returns 'weather\128x128\xx.png .no' (or 'nr') where xx is the icon number. So I think you need to use a property such as #yrWeather.Icon.no or something that does not contain #yrWeather.weatherIcon. Sorry for not thinking of that sooner <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite10" alt=":oops:" title="Oops! :oops:" loading="lazy" data-shortname=":oops:" /> But I am not a coder! (disclaimer <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />)</p><p></p><p>[CODE]<label>#(string.format('weather\128x128\{0}.png', #yrWeather.weatherIcon.nr))</label>[/CODE]</p><p>Does not work for me either. It only returns weather\128x128\.png since it can't recognize #yrWeather.weatherIcon.nr - you can only format the string if the property returns valid data. (0) represents the index number so it is trying to replace it with #yrweatherIcon.nr rather than extract the icon number from the string. (see <a href="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Expressions" target="_blank">skin expressions</a>) I am not sure how it was working for you!</p><p></p><p>[USER=74914]ysmp[/USER] - yes if the property worked, and only displayed the icon number, you could use any folder you like in the texture tag.</p><p></p><p>Hope that all helps?</p></blockquote><p></p>
[QUOTE="Dadeo, post: 837832, member: 27204"] [b]Re: yrWeather Plugin[/b] Sorry I didn't get time to check about the backdrops before now. The problem appears to be that the plugin recognizes and interprets #yrWeather.weatherIcon and so does not recognize #yrWeather.weatherIcon.no (or #yrWeather.weatherIcon.nr - not sure which one you ended up using but I tried both!) I suspect it doesn't work because the properties are not unique (i.e. #yrWeather.weatherIcon is already a skin property). In any case, the property does not return valid data. It should display only the icon number such as 0, 1, 2, etc. but it doesn't. Instead it returns 'weather\128x128\xx.png .no' (or 'nr') where xx is the icon number. So I think you need to use a property such as #yrWeather.Icon.no or something that does not contain #yrWeather.weatherIcon. Sorry for not thinking of that sooner :ooops: But I am not a coder! (disclaimer :P) [CODE]<label>#(string.format('weather\128x128\{0}.png', #yrWeather.weatherIcon.nr))</label>[/CODE] Does not work for me either. It only returns weather\128x128\.png since it can't recognize #yrWeather.weatherIcon.nr - you can only format the string if the property returns valid data. (0) represents the index number so it is trying to replace it with #yrweatherIcon.nr rather than extract the icon number from the string. (see [URL="http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/7_Skins/Skin_Architecture/Skin_Expressions"]skin expressions[/URL]) I am not sure how it was working for you! [USER=74914]ysmp[/USER] - yes if the property worked, and only displayed the icon number, you could use any folder you like in the texture tag. Hope that all helps? [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
yrWeather Plugin 1.3.0.0
Contact us
RSS
Top
Bottom