User(s) browsing this thread: 1 Guest(s)
|
[HTML SKIN] Guide for YAMJ skin makers
|
|
03-08-2009, 09:04 PM
(This post was last modified: 02-28-2011 09:49 PM by werner.)
|
|||
|
|||
|
I've just completed issue 435 to add some new skin parameters.
These are: Code: thumbnails.reflectionHeightpespectiveTop & pespectiveBottom control the percentage that the corners dip to give the perspective view. Default is 3% perspectiveDirection is one of "left", "right", "both". Left and Right are the sides that the perspective is applied. "Both" allows you to create a mirror thumbnail (named xxx_small_mirror.png or xxx_large_mirror.png) which is the left hand mirror of the other side if you see what I mean. Hopefully these new properties will give you some more options around the skins
|
|||
1 user says Thank You to Omertron for this post |
|
03-15-2009, 12:13 PM
|
|||
|
|||
|
RE: For YAMJ skin makers
Just finished Issue 397
New skin property: mjb.includeVideoImages. If this is true, then episode images from TheTVDB.com are downloaded and stored in the Jukebox folder. New attribute is added to the files tags in the xmls : Code: <fileImage part="1">basename_VideoImage_1.jpg</fileImage>Note: Nothing is retrieved for Movies, so the dummy image is used. |
|||
1 user says Thank You to Omertron for this post |
|
03-18-2009, 06:09 AM
(This post was last modified: 03-18-2009 06:58 AM by curien.)
|
|||
|
|||
|
RE: For YAMJ skin makers
I just made another change that skin authors should be aware of. As of r839, there is a new overlay, set.png (reference implementation available in the default skin), which can be used to identify posters for sets. See issue 574: http://code.google.com/p/moviejukebox/is...ail?id=574 .
|
|||
|
03-23-2009, 05:45 AM
|
|||
|
|||
|
RE: For YAMJ skin makers
r845 includes another change that might require some skin modifications.
The Categories.xml file used to assume that the name of an index could be used verbatim in the filename for that index. With the new encoding scheme, that's not necessarily the case (especially since which characters get encoded is at the mercy of the user ).So, I changed the If mjb.includeMoviesInCategories is true, there are two attributes: "name" as before, and "filename", which is the (encoded) filename for the first page of the index. You can take a look at the categories.xsl in the default skin for a reference, of course. |
|||
1 user says Thank You to curien for this post |
|
03-24-2009, 10:42 AM
|
|||
|
|||
RE: For YAMJ skin makers
(03-15-2009 12:13 PM)Omertron Wrote: Just finished Issue 397 After some reports from Excal that this wasn't working exactly as planned, I've updated the code. Now there are two attributes created, similar to posters and fanart. Code: <fileImageURL part="1">http://somesite.com/12345.jpg</fileImage><fileImageFile part="1">basename_VideoImage_1.jpg</fileImage> |
|||
|
04-12-2009, 05:08 AM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
In r886, I've added a new skin property, mjb.sets.createPosters. It defaults to false, but if you set it to true, YAMJ will create posters (*_large.png files) for the set masters.
Excal, do you think it would be useful to make this thread sticky? |
|||
|
04-12-2009, 09:04 AM
(This post was last modified: 04-12-2009 09:22 PM by garp99.)
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
I should point out to skinners that Issue 678 was fixed (recognize season = 0 as specials).
To those that have their created their own skin, please be sure to check your index.xsl and details.xsl files for testing movie vs TV show For Movies, use season = -1 For TV shows, use season != -1 or season >= 0 Edit: My bad typo! Yes, both cases should check against -1 :slap: |
|||
|
04-13-2009, 10:20 AM
(This post was last modified: 09-05-2009 04:56 PM by Omertron.)
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
Issue 683 has been fixed in r893.
There are two new properties for skins: videoimages.width and videoimages.height which will scale the video images to those dimensions. These default to 400 and 225 respectively. EDITED: Please note that the property is videoimages with an "S" at the end |
|||
2 users say Thank You to Omertron for this post |
|
04-13-2009, 04:01 PM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
I've committed the requested reflection changes. There are four new properties for skins:
The next two control the start and end values of the opacity of the reflection gradient ranging from 0% (clear) to 100% (opaque or black). |
|||
2 users say Thank You to Omertron for this post |
|
04-16-2009, 03:33 AM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
As of r906, there is a new set of categories -- index by library description.
|
|||
|
04-26-2009, 07:25 AM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
A new feature has been added (issue 226) to make it possible to link from the movie details page to various indexes. The xml for director now sometimes has an "index" attribute:
Code: <director index="Director_Robert%20Zemeckis_1">Robert Zemeckis</director>You can then take advantage of that to link to a list of other movies directed by the same person: Code: <xsl:if test="director != 'UNKNOWN'">Director, Cast, (for |
|||
|
04-26-2009, 08:41 AM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
To add to Curien's post above, there are also new options in the moviejukebox.properties file
After this line (around 140) Code: # Only replace set movies for the set master if all movies appear in a categoryCode: # Comma-separated list of indexes to generate. Valid indexes include: |
|||
|
05-03-2009, 08:00 PM
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
Committed the code for Issue 701 so now all of the same properties of thumbnails and posters can be applied to video images as well. I'm sure someone will find a use for reflective videoimages
|
|||
|
05-03-2009, 08:34 PM
(This post was last modified: 05-04-2009 03:06 AM by curien.)
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
r960 includes the skin.clean.skip property in the skin config file, which is a regex for files to skip during cleaning.
Edit: As of r964, the property was renamed to mjb.clean.skip. Apparently skin.* properties will be reserved for things that affect only HTML generation via XSLT. |
|||
|
05-04-2009, 04:10 AM
(This post was last modified: 05-04-2009 04:12 AM by garp99.)
|
|||
|
|||
|
RE: [SKIN] For YAMJ skin makers
Thanks Curien.
As of r957, the YAMJ skins: default, sd, gfb107 and gfb107-sd now have a new file called skin-options.xsl which contain options that are related to the skin output of the HTML files, and not based on YAMJ needing those options when you run YAMJ. Making a change in this new file means that only the HTML files will need to be re-created, not the XML metafiles. Currently, the options added for the index pages is to enable/disable what shows after the Title display when you hover over a movie cover. This includes the Year (option for movie and TV), and the Certification rating (ex: PG-13). For the detail pages, the parameter skin.reverseEpisodeOrder has been moved into this file since it only affects the HTML output. New values for the location of the PLAY ALL link, either "top" or "bottom" (option for movie and TV), as well as the text to use for the link, which defaults to "PLAY ALL". If you have any other requests for custom options, create an issue... anything posted here will be ignored
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]



![[Image: watched-fanart.jpg]](http://trakt.tv/user/Omertron/widget/watched-fanart.jpg)




![[+]](images/collapse_collapsed.gif)

