Any way to give better access to themes for repo skins?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #1
for the team members:

I´m creating a white theme for Nox atm
http://forum.xbmc.org/showthread.php?tid=137379

and, since we may not include themes directly, I´m wondering if some other way like adding a specfic download script for our skin to the repo is allowed.
i´d love to give users better access to this theme since it completely changes the look & feel of our skin.

thx in advance
oops, posted this in the wrong subforum Rolleyes would be nice if someone could move it to skin dev section. thx.
(This post was last modified: 2012-08-04 01:38 by phil65.)
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,264
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #2
You may include themes directly xeebo and pm3.hd both do it you just need too set it up in your repo properly. But given that nox was already pushing 100mb like theuni said on the mall list he might take issue with it being bigger again

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
wyrm Offline
Skilled Skinner
Posts: 766
Joined: Nov 2007
Reputation: 5
Location: Perth, Australia (GMT +8)
Post: #3
(2012-08-04 01:34)phil65 Wrote:  for the team members:

I´m creating a white theme for Nox atm
http://forum.xbmc.org/showthread.php?tid=137379

and, since we may not include themes directly,
phil65, there is in fact a way you can include themes directly in your skin. From memory you need a theme directory in your skin that you then drop a sub directory of your image files in much the same way as you do with the current media directory. Then you just include a matching colour file in the colors directory of the skin.
(just spotted the Jezz_X beat me to it on this, but next part still valid)
Quote: I´m wondering if some other way like adding a specfic download script for our skin to the repo is allowed.
i´d love to give users better access to this theme since it completely changes the look & feel of our skin.
Again yes, if someone would like to take a script that I have and make it repo compliant, you can also do it this way. Until my skin was accepted into the main repo, I had a script that would pull a zip file from my googlecode page and then copy the required files to the correct locations within the directory structure. I tried shopping the script around to a couple of people, but they where not interested. Now I tell people if they want to use additional themes in my skin that they need to grab the script from my googlecode page and copy it back into my skin. The skin checks if the script is available and then shows the menu item in my skin settings menu.

As a added bonus, if someone was prepared to update and submit the script to the main repo, there would be very little work involved in allowing additional artpaks (etc) to be downloaded to your skin as well. Then there should be no reason why skins have to be 100+ Meg in size to download all of the additional graphics that people feel they need.

If you or someone else is prepared to run with the script idea, drop me a PM and I can show you what I have done with the idea.

Wyrm (xTV-SAF)

When postings problems, please provide build details. If required a FULL debug log can now be submitted from the skin in settings->appearance->skin->settings>support. Ensure debug logging has been set in settings->system->debugging (or from the support menu). FAQ's located at :- http://wiki.xbmc.org/index.php?title=Add-on:XTV-SAF
(This post was last modified: 2012-08-04 04:45 by wyrm.)
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,264
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #4
btw here is an example
Note the "themes" dir when it gets pulleed into the official repo it gets auto built into a seperate xpr
https://github.com/JezzX/skin.pm3-hd
and with alaska which has 5 themes
http://skin-alaska-revisited.googlecode.com/svn/trunk/

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #5
ok, the technical part is not really the problem for me Wink
thaught i may not include themes directly, because wiki says this:
Quote:The following fileypes are not allowed: .so .dll .pyo .exe .xbt .xpr Thumbs.db

will see then how much i can reduce the filesize of the theme. we´re at approx 68 mb atm without the theme, so to say that we´re pushing the 100 mb mark already is a bit far-fetched Big Grin
should i discuss the rest with cory directly?
thx guys
(This post was last modified: 2012-08-04 09:50 by phil65.)
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,264
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #6
Think you kind of missed my point you don't ship the xpr,xbt you ship the original images in the themes dir in a folder which then gets converted into a xbt in the media dir named the same as the folder when theuni pushes it into the main repo

As for the 100mb just going off what theuni said in the mail list sorry if its wrong

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
Big_Noid Online
Skilled Skinner
Posts: 2,627
Joined: Jul 2010
Reputation: 68
Location: Below sea level
Post: #7
To save space in skins there was mentioning some time ago about making a separate add-on for the mediaflags used in skins. That would save 20 MB alone in our case. Only disadvantage is that they arent in xbt anymore then. Backgrounds account for another 20 MB in Nox and are outside the xbt anyway. Maybe we can make a sort of background pack as add-on.
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #8
(2012-08-04 10:16)Jezz_X Wrote:  Think you kind of missed my point you don't ship the xpr,xbt you ship the original images in the themes dir in a folder which then gets converted into a xbt in the media dir named the same as the folder when theuni pushes it into the main repo

As for the 100mb just going off what theuni said in the mail list sorry if its wrong

ok, thx, misunderstood that, didn´t know that themes also get converted by you guys.. will ask theuni then if I may include it directly. If not, would it be allowed to add a download script to the repo?
or are such skin-specific scripts not allowed?
(This post was last modified: 2012-08-04 11:01 by phil65.)
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,264
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #9
As long as the script is general and works for every skin out there "probably" yes (not my call in the end)

Basic Idea would be a service type script that took a URL as a command line option that pointed to your skins list of online themes the real hard part is getting it to extract to the right place. Sadly Confluence misses out again since its usually installed in write protected sections of file systems Sad

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
phil65 Offline
Skilled Skinner
Posts: 4,456
Joined: Mar 2009
Reputation: 56
Location: Cologne, Germany
Post: #10
(2012-08-04 11:03)Jezz_X Wrote:  As long as the script is general and works for every skin out there "probably" yes (not my call in the end)

Basic Idea would be a service type script that took a URL as a command line option that pointed to your skins list of online themes the real hard part is getting it to extract to the right place. Sadly Confluence misses out again since its usually installed in write protected sections of file systems Sad

ok, then plan b would be a something like script.themedownloader(URL,DESTINATION).
thx for explanations.
find quote
Post Reply