How does <import addon="script.recentlyadded" version="1.0.4"/> work? I just noticed it in Confluences addon.xml. Does that mean the recentlyadded script automatically get downloaded?
Since every skin uses recentlyadded should pretty much all of us include it?
What happens if a user version="1.0.3" would that automatically trigger a download and stop all the "HELP Recently Added don't work" posts skins get every so often?
mcborzu
Skilled Skinner Joined: Feb 2009 Reputation: 15 Location: dsf |
2010-07-21 03:20
Post: #1
Check out The Carmichael - A Skin For XBMC Check out Night - A Skin For XBMC Check out Unfinished - A Skin For XBMC |
| find quote |
Jezz_X
Team-XBMC Skinner Joined: Jun 2006 Reputation: 55 Location: Earth |
2010-07-21 03:42
Post: #2
I honestly have no idea Spiff did all that I assume it doesn't auto download it but if its on the system it is runnable. but I'm the dark as much as you
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 |
jmarshall
Team-XBMC Developer Posts: 24,564 Joined: Oct 2003 Reputation: 138 |
2010-07-21 03:59
Post: #3
script.recentlyadded is provided with SVN as well, so no download is necessary.
And yes, if your skin depends on the recently added script being there, then you should include it in the <requires> tag. Cheers, Jonathan Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
mcborzu
Skilled Skinner Joined: Feb 2009 Reputation: 15 Location: dsf |
2010-07-31 03:32
Post: #4
What about "script.favourites"? I cant get it to work automatically like "recently added" unless I physical download it and put it into the /addons folder. Which I thought the <requires> tag does so then the end user doesnt have to hunt it down and install it...
Unless I have an error this is script.favourites addon.xml: PHP Code: <?xml version="1.0" encoding="UTF-8" standalone="yes"?>And my <requires> section: PHP Code: <requires>Check out The Carmichael - A Skin For XBMC Check out Night - A Skin For XBMC Check out Unfinished - A Skin For XBMC |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-07-31 21:06
Post: #5
looks fine. you do try to run the favscript using RunScript(script.favourites) right, not using the old path?
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
mcborzu
Skilled Skinner Joined: Feb 2009 Reputation: 15 Location: dsf |
2010-07-31 23:16
Post: #6
Yea code works fine - <onfocus>RunScript(script.favourites,playlists=play)</onfocus> - but what seems not to work is the <requires> tag. Atleast my thought is the <import addon> tag would mean if a user doesnt have something that is <required> then it will import/download it so then the skin and end user will be able to use it without the enduser having to search and manually download it...
I see script.favorites is here along with all others approved addons. I dont see it using the addonbrowser though if that means anything... Check out The Carmichael - A Skin For XBMC Check out Night - A Skin For XBMC Check out Unfinished - A Skin For XBMC |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-07-31 23:20
Post: #7
it only grabs the deps when an addon is installed through the browser. and it's not supposed to show in the browser, it can only be used by a skin, it has no value on its own.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
mcborzu
Skilled Skinner Joined: Feb 2009 Reputation: 15 Location: dsf |
2010-07-31 23:28
Post: #8
That was my guess on why scripts with xbmc.python.library dont show.
Quote:it only grabs the deps when an addon is installed through the browser So just to confirm it doesn't auto-download if a end user doesn't have it? Because with the "skins shouldn't have script(s) included with a skin" rule, many people will think that custom home items and the logo script don't work and the skin is broken not knowing they have to download them. Unless we are allowed to keep scripts in the skins then things will work automatically for end users... Check out The Carmichael - A Skin For XBMC Check out Night - A Skin For XBMC Check out Unfinished - A Skin For XBMC |
| find quote |
spiff
Grumpy Bastard Developer Joined: Nov 2003 Reputation: 82 |
2010-07-31 23:34
Post: #9
what made you draw that conclusion?
YES, it WILL download dependencies. on install time. that is, you have to either install from a repository or using the install from zip button. however, if you just manually copy it to the addons folder it will NOT download the dependencies. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
Hitcher
Skilled Skinner Joined: Aug 2007 Reputation: 67 Location: Eastleigh, UK |
2010-08-01 09:47
Post: #10
mcborzu Wrote:"skins shouldn't have script(s) included with a skin" When did this happen? I'm using a modified RecentlyAdded script so the user can either have the latest videos on the Home screen or random, unwatched ones. ![]() |
| find quote |

![[Image: skinsq.png]](http://img854.imageshack.us/img854/931/skinsq.png)
![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
![[Image: sig_zps3af3b48e.jpg]](http://i620.photobucket.com/albums/tt289/Arcanthur/Celestium/sig_zps3af3b48e.jpg)
Search
Help