MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Skins


Skins You are working on a new Skin? Post it here!

Reply
 
LinkBack Thread Tools Display Modes
Old 2008-05-06, 23:04   #1 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default Skin documentation?

I'm a bit of a newbie to MP but have already started working on creating a custom skin. While I've figured out a lot of things from dissecting some other skin's XML, I'm beginning to think there are some things I'm missing out on. I've looked at the wiki and such, but have yet to find a good source that discusses the nuts and bolts of what commands are available and how are they properly used?

For insance: What is the correct format for nesting controls with <type>group</type>? How do the nested controls interact with the top control? What is <layout>StackLayout</layout>?

Can anyone point me at a good resource to learn some of the seemingly more advanced commands?

Thanks!!!
blacklist is offline   Reply With Quote
Old 2008-05-07, 21:31   #2 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

I can't point you in the direction of an advanced skinning guide, but I can tell you that the way most people have learned is just by looking at other skins and how they do things. Take a look at xFace/Monochrome/Aeon (the parts that are done)/Spinsafe/etc and you'll learn a lot more than what you'll find in the wiki.

To answer one of your questions, a stackLayout allows you to group controls and position them all at the same time as one "stack" of controls. I'm pretty sure that when you group controls, you can then assign a predefined layout to position them in. I'm not really sure what other layouts exist, though.
jburnette is offline   Reply With Quote
Old 2008-05-08, 06:14   #3 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Thanks for your reply, that's kinda what I figured. I've figured out a good bit now by trial and error - its just too bad that you have to close-delete cache-open media portal in order to view changes, adds a lot of time to the process *shrugs*

Such is life I suppose. I'm pretty proud of what I've got so far - I'll post some screen shots when I get a few mins. Thanks again.
blacklist is offline   Reply With Quote
Old 2008-05-08, 06:54   #4 (permalink)
Portal Member
 
surfermc's Avatar
 
Join Date: May 2006
Location: Dorset
Posts: 257
Thanks: 10
Thanked 8 Times in 8 Posts

Country:

My System

Default

Quote:
Originally Posted by blacklist View Post
its just too bad that you have to close-delete cache-open media portal in order to view changes, adds a lot of time to the process
There used to be a dll called refresh (myrefresh or something similar), that allowed quicker skin development, it would erase the cache by pressing F5. I'm not sure if it is still supported or even working, especially with the changes to the cache location in RC1.
surfermc is offline   Reply With Quote
Old 2008-05-08, 06:59   #5 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Yeah, I gave that a try and couldn't get it working, unfortunately.

At the moment I'm working on the MP-TVSeries portion of the skin and trying to find some documentation on the available data fields (#TVSeries.Series.Genre, etc). If found a dozen or so different fields that I can pull, but combing through different skins seems like a silly way to get the info.
blacklist is offline   Reply With Quote
Old 2008-05-08, 09:11   #6 (permalink)
Portal Member
 
Anff's Avatar
 
Join Date: Apr 2008
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post

Country:

My System

Default

Apparently the current Wiki is vastly out of date
But there's a new Skin Engine in the works and once it's released, ther'll be a Wiki to go with it
Anff is offline   Reply With Quote
Old 2008-05-08, 13:35   #7 (permalink)
Portal Member
 
jburnette's Avatar
 
Join Date: Aug 2006
Location: Kentucky
Age: 23
Posts: 645
Thanks: 112
Thanked 75 Times in 38 Posts

Country:

My System

Default

Here's the refresh plugin I use with 1.0 RC1. Speeds up skin work a LOT. Just put the DLL in your plugins\process directory, and then hitting f5 will force reload the skin files.
Attached Files
File Type: rar MyRefresh.rar (2.7 KB, 33 views)
jburnette is offline   Reply With Quote
Old 2008-05-08, 17:40   #8 (permalink)
Portal Member
 
Join Date: Apr 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Awesome! Thanks alot, works great

Since you're being so helpful, one of the things I'm trying to do is hijack the My Videos page, and do some customization using the IMDB information, mainly in that, when I choose a file I want it to go to the IMDB information page rather than starting to play immediately. Alternatively, I'd like to do some sort of info box (maybe underneath a thumbnail view) that would show a subset of the IMDB info. Anyone know off-hand how to make this happen?

Last edited by blacklist; 2008-05-08 at 18:18. Reason: Automerged Doublepost
blacklist is offline   Reply With Quote
Reply

Bookmarks

Tags
documentation, skin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Documentation on the function of Skin Engine kikigonzales Skins 5 2007-07-20 17:44
Skin documentation TVGuy Skins 1 2005-04-06 00:49


All times are GMT +1. The time now is 00:36.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress