scottw wrote:I would be able to use this as well since I am now working on the movies section of my skin. If you don't mind posting it I would appreciate it as well.
Thanks!!
Here is the zip file with stars. numbered 1-100, with no rating star -1 (that's how it is in AMC i think).
http://xlobby.lanik.org/stars.zipThis should go to your SKIN folder, under buttons.
And then, xant.ini should specify your template, right:
- Code: Select all
[Movies]
input=d:\htpc\ant\catalogue\movies.amc
output=c:\program files\xlobby\databases\movies.xml
images=d:\htpc\ant\images\
sort=$$ITEM_ORIGINALTITLE
template=c:\program files\xlobby\plugins\moviestemplate.xml
filters=$$ITEM_BORROWER(movies)
As you can see, line:
template=c:\program files\xlobby\plugins\moviestemplate.xml
tells it to use that tamplate:
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<database>
<sortorder>sorttitle</sortorder>
<sortable>
<sort>title</sort>
<sort>sorttitle</sort>
<sort>genre</sort>
<sort>director</sort>
<sort>year</sort>
<sort>starimage</sort>
<sort>name</sort>
</sortable>
<template></template>
<paths>
<path>D:\HTPC\media\movies</path>
<path>U:\HTPC\media\movies</path>
<path>V:\HTPC\media\movies</path>
<path>W:\HTPC\media\movies</path>
</paths>
<item>
<parameter>$$ITEM_URL</parameter>
<coverart>$$ITEM_PICTUREFILENAME</coverart>
<display>$$ITEM_ORIGINALTITLE</display>
<offline>$$ITEM_SOURCE</offline>
<information>
<name>$$ITEM_ORIGINALTITLE</name>
<title>$$ITEM_ORIGINALTITLE</title>
<sorttitle>$$ITEM_ORIGINALTITLE</sorttitle>
<director>$$ITEM_DIRECTOR</director>
<runtime>$$ITEM_LENGTH</runtime>
<plot>$$ITEM_DESCRIPTION</plot>
<actors>$$ITEM_ACTORS</actors>
<year>$$ITEM_YEAR</year>
<genre>$$ITEM_CATEGORY</genre>
<starimage>skin://buttons/stars/star$$ITEM_RATING.png</starimage>
<off>$$ITEM_SOURCE</off>
<medianr>$$ITEM_MEDIA</medianr>
<videoformat>$$ITEM_VIDEOFORMAT</videoformat>
<videobitrate>$$ITEM_VIDEOBITRATE</videobitrate>
<audioformat>$$ITEM_AUDIOFORMAT</audioformat>
<audiobitrate>$$ITEM_AUDIOBITRATE</audiobitrate>
<resolution>$$ITEM_RESOLUTION</resolution>
<framerate>$$ITEM_FRAMERATE</framerate>
<languages>$$ITEM_LANGUAGES</languages>
<subtitles>$$ITEM_SUBTITLES</subtitles>
</information>
</item>
</database>
This is my template, and the line that is important is
<starimage>skin://buttons/stars/star$$ITEM_RATING.png</starimage>
It makes <starimage> field in the database which points to the image in skin folder....
D.