Apple Movie Trailers script skin
#1
*XBMC Revision 9504 or newer required

Here are a few screenshots of the updated Apple Movie Trailers script using WindowXML.

The script works the same as XBMC Lyrics where you can include the xml files with your skin, so no need to submit them to me. If you have any suggestions, please post. I want to have the id#'s finaled so I don't break skins.

You may notice this is the WS version. The skinner can decide to show all info on the screen. The plot/cast button is still available if you need to only show one at a time.

Thanks to Jezz_X for his help. Alot of the layout was done by him for PMIII.

Image
Image
Image
Image


Quote: CONTROL_TITLE_LABEL = 20
CONTROL_CATEGORY_LABEL = 30
CONTROL_BUTTON_GROUP_START = 103
CONTROL_BUTTON_GROUP_END = 109
CONTROL_TRAILER_LIST_START = 50
CONTROL_TRAILER_LIST_END = 59
CONTROL_TRAILER_LIST_PAGE_START = 2050
CONTROL_TRAILER_LIST_PAGE_END = 2059
CONTROL_TRAILER_LIST_COUNT = 2150
CONTROL_CATEGORY_LIST = 60
CONTROL_CATEGORY_LIST_PAGE = 2060
CONTROL_CATEGORY_LIST_COUNT = 2160
CONTROL_CAST_LIST = 70
CONTROL_CAST_LIST_PAGE = 2070
CONTROL_CAST_BUTTON = 170
CONTROL_PLOT_TEXTBOX = 75
CONTROL_PLOT_BUTTON = 175
CONTROL_TRAILER_POSTER = 201
CONTROL_OVERLAY_RATING = 202
CONTROL_OVERLAY_FAVORITE = 203
CONTROL_OVERLAY_WATCHED = 204
CONTROL_OVERLAY_SAVED = 205
CONTROL_TRAILER_TITLE_LABEL = 206

Other xml files have required id's also, just follow the xml's

There are still some quirks, but it seems to work pretty good now.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#2
hehe all hail windowxml
Reply
#3
Ok committed.

The following are the required ID numbers, though you should be able to hide unwanted controls.

Quote: CONTROL_TITLE_LABEL = 20
CONTROL_CATEGORY_LABEL = 30
CONTROL_BUTTON_GROUP_START = 103
CONTROL_BUTTON_GROUP_END = 109
CONTROL_TRAILER_LIST_START = 50
CONTROL_TRAILER_LIST_END = 59
CONTROL_TRAILER_LIST_PAGE_START = 2050
CONTROL_TRAILER_LIST_PAGE_END = 2059
CONTROL_TRAILER_LIST_COUNT = 2150
CONTROL_CATEGORY_LIST = 60
CONTROL_CATEGORY_LIST_PAGE = 2060
CONTROL_CATEGORY_LIST_COUNT = 2160
CONTROL_CAST_LIST = 70
CONTROL_CAST_LIST_PAGE = 2070
CONTROL_CAST_BUTTON = 170
CONTROL_PLOT_TEXTBOX = 75
CONTROL_PLOT_BUTTON = 175

notes:

ID="50" must be a type="list", the others 51-59, can be the other types.

Be careful using group control's, if you move to a list by referencing the group, the list will not work correctly. I need a way to have specific id's for that.

Currently XBMC locks up after a trailer is played, if the trailer was launched from id="50" the list. If you launch from one of the other views it works. May be a script issue, may be a WindowXML issue, may be an XBMC issue?

I'm taking a break from this, but if you have any request, please post them. Maybe Killarny or someone else can add them if I'm too busy.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#4
Edited first post
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#5
Alright skinners and translators. I think I'm done.

Skinners there have been quite a few additions and improvements. Most of your skin that worked with 97.5 will work with maybe some id number changes and adding groups where needed.

Most controls with id numbers are required. You may hide ones you don't want.

The main window uses groups to hide/show the categories or trailer lists. All other controls you control with visibility and animation conditions.

There are some new windows (search).

The chooser dialog now uses a multiimage for the skin thumb.

Of course now every window can take full advantage of <include> tags and defaults.xml. Anything that works for your main skin should work here. Themes, color themes...

*XBMC Revision 9504 or newer required

It is worth updating your skins. Smile

http://xbmc-scripting.googlecode.com/svn...20Trailers[url=https://xbmc-scripting.googlecode.com/svn/trunk/Apple%20Movie%20Trailers][/url]
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#6
I get prompted for username and pw if i click on your link to download AMT.
Reply
#7
the link is to svn. you need tortoisesvn to download it.

Fixed: the link.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#8
As a script it works great mate...the only issue I am having at the moment, is that the trailers stop the sound part-way through the trailer.

I can still watch the trailer (no matter what trailer I am watching), but the sound just stops.

Any ideas?
Reply
#9
which trailer? the high quality transformers just played fine.

I'm sure it's not a script issue though.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#10
hmmm ok mate. I happens to almost all of the trailers I watch though
Reply
#11
@Jyra, maybe check your log. I really don't think it's a script issue though.

Here are a couple SS of LCARS skin I just committed. It's a WIP. Only the main window is started.

Anybody wish to contribute, especially animations Smile


Image
Image

To get the font correct. You need to download lcars.ttf. It can be found http://www.lcarsdeveloper.com/ in the DL section.

Then you need to add the following to the correct Font.xml, in the correct font you're using.

This is for 720p (The skin is really only setup for widescreen)
Code:
<font>
  <name>lcars-small</name>
  <filename>lcars.ttf</filename>
  <size>34</size>
</font>
<font>
  <name>lcars-medium</name>
  <filename>lcars.ttf</filename>
  <size>38</size>
</font>
<font>
  <name>lcars-large</name>
  <filename>lcars.ttf</filename>
  <size>66</size>
</font>
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#12
Is the xTV skin for AMT under active developement?
Reply
#13
I'm not sure it is. I think CHI3f is doing other things at the moment. You might, however, want to track down Leonardo, to see if he would like to do it for xMC?

pretty much the same outcome imo.
Reply
#14
Anybody who uses AMT script should update. I just committed a fix for a pretty serious bug.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#15
what was the bug Nuka
Reply

Logout Mark Read Team Forum Stats Members Help
Apple Movie Trailers script skin0