Nuka just posted a very nice plug-in - can you add a button on the Weather page for it?
http://forum.xbmc.org/showthread.php?tid=40338
thx!
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2008-11-16 23:14
Post: #1
I'm not an expert but I play one at work. |
| find quote |
xb2iris
Skilled Skinner Joined: Jun 2008 Reputation: 0 Location: London, UK |
2008-11-17 13:11
Post: #2
u gotta download the script and add it to the scripts section... no idea how to put a button poitning to a script... may look into it at a later stage though...
|
| find quote |
rwparris2
Team-XBMC Python Developer Posts: 1,341 Joined: Jan 2008 Reputation: 2 Location: US |
2008-11-17 17:49
Post: #3
XBMC.RunScript(script[,args]*)
Where script is the path to the script. You could probably include it in your skin package to prevent confusion with people having to manually install it. (Just tried your skin today... looks great man!) Always read the XBMC online-manual, FAQ and search and search the forum before posting. For troubleshooting and bug reporting please read how to submit a proper bug report. If you're interested in writing addons for xbmc, read docs and how-to for plugins and scripts ||| http://code.google.com/p/xbmc-addons/ |
| find quote |
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2008-11-17 17:51
Post: #4
xb2iris,
as RW pointed out it is easy to launch a script from a button... I just figured I'd ask you to do it since you are still working on the skin and I thought it would be a great benefit for the end-users as the script really adds a ton of nice weather info. I'm not an expert but I play one at work. |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2008-11-18 01:31
Post: #5
rwparris2 Wrote:.....You could probably include it in your skin package to prevent confusion with people having to manually install it...... Always a bad idea IMHO because you then end up with outdated versions of scripts that no longer work anymore and don't have bug fixes and then people complain to the script writers thats its broken and its just because they have a outdated version. Its best to let them install it themselves and then have an option to point to the script in skin settings like PM3.HD does Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |
xb2iris
Skilled Skinner Joined: Jun 2008 Reputation: 0 Location: London, UK |
2008-11-19 12:38
Post: #6
As Jezz_X says, its pointless me adding a script into the skin. I believe that's not my responsibility, and takes the fun out of collecting scripts for you guys. It would be cool, but I don't think including something which needs installatation would be a good idea, as some people will be rended with an unusable button, which no body wants. Plus, the weather screen is sufficient for me. I just want to know if it rains or doesn't and how warm its going to get. More info makes me dizzy! hehehe
|
| find quote |
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2008-11-19 20:32
Post: #7
xb2iris,
Is there a way to make a button conditional upon a file or folder existing? It would be cool to have a button show, if the script (folder/file) exists... set by the user. If not, maybe a feature request?
I'm not an expert but I play one at work. |
| find quote |
xb2iris
Skilled Skinner Joined: Jun 2008 Reputation: 0 Location: London, UK |
2008-11-21 12:36
Post: #8
no idea... wish there were, but unless someone can point me to it... i'm lost... plus, times a bitch... using internet cafe until they can install the internet at my place... sad sad... wish i were more in touch...
|
| find quote |
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2008-11-22 02:41
Post: #9
xb2iris,
Can you post a feature request for this? JM will consider it much more coming from a skinner! I'm not an expert but I play one at work. |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2008-11-22 05:02
Post: #10
The reason the feature to check if a file or folder existed was never added (asked for many times before) was because it would have to hammer the filesystem too much because of the way the skin condition system is done by checking and rechecking every frame (or somthing like that) at least thats what jmarshall told me ages ago
Skins I have done.... ![]() And others in the past... Want to know what I'm working on currently? Check me out on Google+ |
| find quote |


![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
Search
Help