Jezz_X
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
|
(2012-06-20 20:29)Agkel0s Wrote: First of all, thanks Hitcher.
I've been trying to create a simple skin for XBMC that would satisfy my needs, and Foundation skin has been quite helpfull...
But I've got a problem, and I don't know if it's skin related or not, and since I'm using Foundation for it's base, I guess this is the place to ask for help.
I'm trying to create a home screen, based on the Metro screen of `Black's xperience1080 skin, but I've got a problem displaying the weather info.
That happens because I need to open the Weather window (MyWeather.xml) in order to refresh all info (temperature, condition, everything), after that, the home screen also shows the correct info.
How can I force to collect weather data at skin startup? I noticed Foundation has the same behaviour, but, for example, xperience1080 shows the data at startup...
Thanks in advance for the help.
look here
https://github.com/xbmc/xbmc/commit/cfab...61a82aa42d
Skins I have done....
![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
And others in the past...
Want to know what I'm working on currently? Check me out on Google+
|
|
find
quote
|
hannahjo
Junior Member
Posts: 29
Joined: Dec 2010
Reputation: 0
|
In DialogAlbumInfo.xml there is this code
<control type="label">
<description>Rating</description>
<width>580</width>
<height>28</height>
<label>$INFO[ListItem.Rating,[COLOR blue]$LOCALIZE[563]:[/COLOR] ]</label>
<scroll>true</scroll>
<visible>!IsEmpty(ListItem.Rating)</visible>
</control>
but when you access album info it does not show ratings. Why would that be? As you can probably tell I'm a complete beginner at this and have no real clue as to what I'm doing except having fun
|
|
find
quote
|
Hitcher
Skilled Skinner
Posts: 9,915
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
|
Probably because the album hasn't been scraped or no rating info was found.
|
|
find
quote
|
hannahjo
Junior Member
Posts: 29
Joined: Dec 2010
Reputation: 0
|
Thanks for that scraped album and of course the rating appeared. Brilliant skin by the way. Don't suppose you know a way of creating a space where I can insert band member info on album info page?
|
|
find
quote
|
Hitcher
Skilled Skinner
Posts: 9,915
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
|
Is that info scraped?
|
|
find
quote
|
hannahjo
Junior Member
Posts: 29
Joined: Dec 2010
Reputation: 0
|
No, manually added via nfo. file
|
|
find
quote
|
Hitcher
Skilled Skinner
Posts: 9,915
Joined: Aug 2007
Reputation: 67
Location: Eastleigh, UK
|
Then if XBMC doesn't have it in the database you can't display it.
|
|
find
quote
|
hannahjo
Junior Member
Posts: 29
Joined: Dec 2010
Reputation: 0
|
Daft question but can it be put in xbmc's database?
|
|
find
quote
|
Martijn
Team-XBMC
Posts: 7,672
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
|
(2012-10-16 12:05)hannahjo Wrote: Daft question but can it be put in xbmc's database?
no there is no db field for that
|
|
find
quote
|
hannahjo
Junior Member
Posts: 29
Joined: Dec 2010
Reputation: 0
|
Found a solution which is not exactly what I want but will do. Put info into <instruments></instruments>. At least this way I can see who played on the album.
Thanks for your info all who helped, it was much appreciated.
|
|
find
quote
|