Sign up here and you can log into the forum!

XSL Support for templates

Support forum for the great ThumbGen software

Re: XSL Support for templates   

Postby ozzii » Mon Aug 15, 2011 4:16 am

Checked and this is it Buhric.
Thanks again for your effort and try. :lol:
ozzii
DLX'er
 
Posts: 143
Joined: Mon Apr 26, 2010 5:09 am

Re: XSL Support for templates   

Postby ALlShare » Sat Oct 08, 2011 11:46 am

I use the dutch website moviemeter as my source for the metadata collecting. That website places the word "The" (if its there) behind the movie title. So 'The Big Lebowski' becomes 'Big Lebowski, The' which is quite annoying.

Is it possible - when this is happening - it places 'The' back in front of the title? I honestly have no idea how to do this but I suspect it would be possible through XSLT. In my template I have a text element called Title and it contains %ORIGINALTITLE%.
ALlShare
n00b
 
Posts: 17
Joined: Sun Sep 25, 2011 1:21 am

Re: XSL Support for templates   

Postby crackinhedz » Mon Oct 10, 2011 8:12 pm

chaunspecial wrote:Can someone see what I'm doing wrong? Here's my format for my XML and XSLT:

XML:
[code]
<?xml version="1.0" encoding="utf-8"?>
<Template>
<Settings>
<Directors Separator=", " MaximumValues="1" />
<Actors Separator=", " MaximumValues="9" />
<Rating FileName="%PATH%\star_1_18x18.png" />
<Studios Separator=", " MaximumValues="6" />
<Episodes Separator=", " MaximumValues="25" />
<EpisodesNames Separator=", " MaximumValues="25" />
<Writers Separator=", " MaximumValues="13" />
<Genres Separator=" | " MaximumValues="3" />
<GuestStars Separator=", " MaximumValues="13" />
<Countries Separator=", " MaximumValues="1" />
<Subtitles Separator=", " MaximumValues="5" />
<Languages Separator=", " MaximumValues="5" />
<LanguageCodes Separator=", " MaximumValues="5" />
</Settings>
<SoundFormats>
<SoundFormat Name="AAC" Text="AAC Unknown" Image="%PATH%\..\Common\sound_format\aac.png" />
<SoundFormat Name="AAC10" Text="AAC 1.0" Image="%PATH%\..\Common\sound_format\aac10.png" />
<SoundFormat Name="AAC20" Text="AAC 2.0" Image="%PATH%\..\Common\sound_format\aac20.png" />
<SoundFormat Name="AAC21" Text="AAC 2.1" Image="%PATH%\..\Common\sound_format\aac21.png" />
<SoundFormat Name="AAC40" Text="AAC 4.0" Image="%PATH%\..\Common\sound_format\aac40.png" />
<SoundFormat Name="AAC41" Text="AAC 4.1" Image="%PATH%\..\Common\sound_format\aac41.png" />
<SoundFormat Name="AAC51" Text="AAC 5.1" Image="%PATH%\..\Common\sound_format\aac51.png" />
<SoundFormat Name="AAC70" Text="AAC 7.0" Image="%PATH%\..\Common\sound_format\aac70.png" />
<SoundFormat Name="AAC71" Text="AAC 7.1" Image="%PATH%\..\Common\sound_format\aac71.png" />
<SoundFormat Name="DD" Text="DD Unknown" Image="%PATH%\..\Common\sound_format\dd.png" />
<SoundFormat Name="DD20" Text="Dolby Digital 2.0" Image="%PATH%\..\Common\sound_format\dd20.png" />
<SoundFormat Name="DD21" Text="Dolby Digital 2.1" Image="%PATH%\..\Common\sound_format\dd21.png" />
<SoundFormat Name="DD40" Text="Dolby Digital 4.0" Image="%PATH%\..\Common\sound_format\dd40.png" />
<SoundFormat Name="DD41" Text="Dolby Digital 4.1" Image="%PATH%\..\Common\sound_format\dd41.png" />
<SoundFormat Name="DD51" Text="Dolby Digital 5.1" Image="%PATH%\..\Common\sound_format\dd51.png" />
<SoundFormat Name="DD70" Text="Dolby Digital 7.0" Image="%PATH%\..\Common\sound_format\dd70.png" />
<SoundFormat Name="DD71" Text="Dolby Digital 7.1" Image="%PATH%\..\Common\sound_format\dd71.png" />
<SoundFormat Name="DDPLUS" Text="Dolby Digital Plus" Image="%PATH%\..\Common\sound_format\ddplus.png" />
<SoundFormat Name="DTRUEHD" Text="Dolby True HD" Image="%PATH%\..\Common\sound_format\dtruehd.png" />
<SoundFormat Name="DTS" Text="DTS Unknown" Image="%PATH%\..\Common\sound_format\dts.png" />
<SoundFormat Name="DTS20" Text="DTS 2.0" Image="%PATH%\..\Common\sound_format\dts20.png" />
<SoundFormat Name="DTS21" Text="DTS 2.1" Image="%PATH%\..\Common\sound_format\dts21.png" />
<SoundFormat Name="DTS40" Text="DTS 4.0" Image="%PATH%\..\Common\sound_format\dts40.png" />
<SoundFormat Name="DTS41" Text="DTS 4.1" Image="%PATH%\..\Common\sound_format\dts41.png" />
<SoundFormat Name="DTS51" Text="DTS 5.1" Image="%PATH%\..\Common\sound_format\dts51.png" />
<SoundFormat Name="DTS70" Text="DTS 7.0" Image="%PATH%\..\Common\sound_format\dts70.png" />
<SoundFormat Name="DTS71" Text="DTS 7.1" Image="%PATH%\..\Common\sound_format\dts71.png" />
<SoundFormat Name="DTSES" Text="DTS ES" Image="%PATH%\..\Common\sound_format\dtses.png" />
<SoundFormat Name="DTSHD" Text="DTS HD" Image="%PATH%\..\Common\sound_format\dtshd.png" />
<SoundFormat Name="FLAC" Text="Flac" Image="%PATH%\..\Common\sound_format\flac.png" />
<SoundFormat Name="FLAC20" Text="Flac 2.0" Image="%PATH%\..\Common\sound_format\flac20.png" />
<SoundFormat Name="FLAC21" Text="Flac 2.1" Image="%PATH%\..\Common\sound_format\flac21.png" />
<SoundFormat Name="FLAC40" Text="Flac 4.0" Image="%PATH%\..\Common\sound_format\flac40.png" />
<SoundFormat Name="FLAC41" Text="Flac 4.1" Image="%PATH%\..\Common\sound_format\flac41.png" />
<SoundFormat Name="FLAC51" Text="Flac 5.1" Image="%PATH%\..\Common\sound_format\flac51.png" />
<SoundFormat Name="FLAC70" Text="Flac 7.0" Image="%PATH%\..\Common\sound_format\flac70.png" />
<SoundFormat Name="FLAC71" Text="Flac 7.1" Image="%PATH%\..\Common\sound_format\flac71.png" />
<SoundFormat Name="MLP" Text="MLP" Image="%PATH%\..\Common\sound_format\mlp.png" />
<SoundFormat Name="MP3" Text="All Mpeg" Image="%PATH%\..\Common\sound_format\mp3.png" />
<SoundFormat Name="MP310" Text="MP3 1.0" Image="%PATH%\..\Common\sound_format\mp310.png" />
<SoundFormat Name="MP320" Text="MP3 2.0" Image="%PATH%\..\Common\sound_format\mp320.png" />
<SoundFormat Name="OGG" Text="Ogg" Image="%PATH%\..\Common\sound_format\ogg.png" />
<SoundFormat Name="OGG20" Text="Ogg 2.0" Image="%PATH%\..\Common\sound_format\ogg20.png" />
<SoundFormat Name="OGG21" Text="Ogg 2.1" Image="%PATH%\..\Common\sound_format\ogg21.png" />
<SoundFormat Name="OGG40" Text="Ogg 4.0" Image="%PATH%\..\Common\sound_format\ogg40.png" />
<SoundFormat Name="OGG41" Text="Ogg 4.1" Image="%PATH%\..\Common\sound_format\ogg41.png" />
<SoundFormat Name="OGG51" Text="Ogg 5.1" Image="%PATH%\..\Common\sound_format\ogg51.png" />
<SoundFormat Name="OGG70" Text="Ogg 7.0" Image="%PATH%\..\Common\sound_format\ogg70.png" />
<SoundFormat Name="OGG71" Text="Ogg 7.1" Image="%PATH%\..\Common\sound_format\ogg71.png" />
<SoundFormat Name="VORBIS" Text="vorbis" Image="" />
<SoundFormat Name="WMA" Text="WMA" Image="" />
</SoundFormats>
<MediaFormats>
<MediaFormat Name="BLURAY" Text="Blu-Ray" Image="" />
<MediaFormat Name="DVD" Text="DVD" Image="" />
<MediaFormat Name="mov" Text="MOV" Image="" />
<MediaFormat Name="mpeg4" Text="MPEG-4" Image="" />
<MediaFormat Name="MKV" Text="MKV" Image="" />
<MediaFormat Name="rmvb" Text="RM" Image="" />
</MediaFormats>
<VideoFormats>
<VideoFormat Name="mpeg" Text="MPEG-4" Image="" />
<VideoFormat Name="avc" Text="AVC" Image="" />
<VideoFormat Name="divx" Text="Divx" Image="" />
<VideoFormat Name="wmv" Text="WMV" Image="" />
<VideoFormat Name="xvid" Text="XviD" Image="" />
</VideoFormats>
<Resolutions>
<Resolution Name="288P" Text="288p" Image="%PATH%\..\Common\image_resolution\288p.png" />
<Resolution Name="480I" Text="480I" Image="%PATH%\..\Common\image_resolution\480i.png" />
<Resolution Name="480P" Text="480p" Image="%PATH%\..\Common\image_resolution\480.png" />
<Resolution Name="576I" Text="576I" Image="%PATH%\..\Common\image_resolution\576i.png" />
<Resolution Name="576P" Text="576p" Image="%PATH%\..\Common\image_resolution\576.png" />
<Resolution Name="720I" Text="720I" Image="%PATH%\..\Common\image_resolution\720i.png" />
<Resolution Name="720P" Text="720p" Image="%PATH%\..\Common\image_resolution\720.png" />
<Resolution Name="1080I" Text="1080I" Image="%PATH%\..\Common\image_resolution\1080i.png" />
<Resolution Name="1080P" Text="1080p" Image="%PATH%\..\Common\image_resolution\1080.png" />
</Resolutions>

.........


Sorry to bring up an old post but I was hoping one of you geniuses could help me out...

I am trying to enable Thumbgen to generate a DTS-ES icon I made but from hours of reading last night I read in an old post that Thumbgen would not support a variation of the DTS codec. (http://www.acryan.com/forums/viewtopic.php?f=111&t=9532)

Even though DTS-ES is very popular, I can respect his decision as its his program. My trouble is I have the new star wars stripped down to the DTS-ES 6.1 and wanted to get my es icon to show...so I had to workaround and replace the dts icon with the es simply to fool it into making it for me...but alas this is very tiresome process and was reading about xslt and possibly making a script to do what Im trying to request...but again after hours of reading on the subject I am more lost than when I began! Its like learning a foreign language.

The reason I quoted above post was because his XML actually has DTS-ES listed, but I thought Thumbgen did not support and my XML sheet does not have DTS-ES either??

Anyways, long story short I am using Split Sheet v3 from Lstar and was hoping someone could work up a code that would create the ES icon in thumbgen automatically (and possibly even PCM icons?). I thought I could read about xslt and do myself...but I have to be honest...I would totally FUBAR it.

Thanks in advance to anyone willing to help? (or just tell me it cant be done I would understand!)
crackinhedz
Donor
 
Posts: 38
Joined: Wed Feb 23, 2011 5:33 pm

Re: XSL Support for templates   

Postby jhspyhard » Fri Oct 28, 2011 1:16 pm

So I have an interesting little problem. In the StudioText field inside of Thumbgen, when one of the values has an ampersand sign, (&) followed by an 'E' or an 'M' at the end of a string, it causes the entire studio value list to be turned into an empty string. I have done some debugging, and the empty studio value is passed by Thumbgen to my methods.

UPDATE: I did some more testing, and I discovered that against all of the alpha-numeric cases, this only happens in two cases: &E and &M, and only when it occurs at the end of a string, or before a comma. See updated cases below.

Code: Select all
From TEMPLATE.XML

<ImageElement Name="CompanyLogo" X="274" Y="606" Width="55" Height="45" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\..\Common\studios\%STUDIOS%.png" NullImageUrl="" />


Code: Select all
From TEMPLATE.XSLT

<!-- Rendering the Studio Logo -->
   <xsl:template match="//Elements/ImageElement[@Name='CompanyLogo']/@SourceData">
         <xsl:attribute name="SourceData"><xsl:value-of select="myjs:getStudioImagePath(string($studios))"/></xsl:attribute>
   </xsl:template>

   public string getStudioImagePath(string studios)
   {
      // Parse studios string into tokens
      debugOutput(studios.Length.ToString());
      char[] tokenDelimitors = new char[] {'/',','};
      string[] studio = studios.Split(tokenDelimitors, StringSplitOptions.RemoveEmptyEntries);
      string filePath = "";
   
      // Check the studio elements to see if the associated graphic exists
      for(int i = 0; i < studio.Length; ++i)
      {
         debugOutput(studio[i]);
         filePath = AppDomain.CurrentDomain.BaseDirectory + @"Templates\Common\Studios\"+ studio[i] +".png";
         if (System.IO.File.Exists(filePath))
         {
            return filePath;
         }
      }
      return "";
   }

   public void debugOutput(string output)
   {
      // Get Diagnostic Objects
      System.Diagnostics.StackFrame stackFrame = new System.Diagnostics.StackFrame(1,true);
      // Get Calling Method Name
      string methodName = stackFrame.GetMethod().Name;
      // Get debugOutput's Calling Line Number.
      string lineNumber = stackFrame.GetFileLineNumber().ToString();
      // Attach Line numbers to the end of the method name and return the output.
      System.Windows.Forms.MessageBox.Show(output,methodName+"(): ln "+lineNumber);
   }


Using the following are the strings in the TG Company textbox, (minus the quotation marks of course) followed by each string's output of the debugOutput( ) call which displays the size of the string coming into the getStudioImagePath( ) method.

"A&B,Fuji TV,Fuji,Manglobe" - 25
"A&C,Fuji TV,Fuji,Manglobe" - 25
"A&D,Fuji TV,Fuji,Manglobe" - 25
"A&E,Fuji TV,Fuji,Manglobe" - 0
"A&F,Fuji TV,Fuji,Manglobe" - 25
"&L" - 2
"&M" - 0
"&MN" - 3

I have a feeling there is something going on with my XML, but I don't have the foggiest idea what is happening. If anyone could shed some light on this, I would sure appreciate it. Is "&E" a special character sequence in XML or something?? A couple hours of Googling didn't turn much up for this string and C#, though '&' seems to be an illegal literal character in XML, but this doesn't strike me as being the same issue. Maybe I found some sort of bug with Thumbgen?

Thanks for everyone's help in advance. :)
Last edited by jhspyhard on Sat Dec 17, 2011 4:37 pm, edited 1 time in total.
-- Jim --

Check out my ThumbGen Template Blog.
Last Updated: 01/01/2017
JHSMovieSheets is currently at Version 0.9.5.1

D-Link DIR-655 (Gigabit switch)
NetGear ReadyNAS Pioneer Pro 13 TB + Redundancy; (2x Gigabit NICs)
WD TV Live Plus (WDLXTV 0.4.7.3)
.M2TS (HD) / .MPG (SD)
User avatar
jhspyhard
Donor
 
Posts: 45
Joined: Sun Sep 05, 2010 5:13 am
Location: Fairfax, VA

Re: XSL Support for templates   

Postby mad_ady » Sun Oct 30, 2011 12:09 am

Ampersand is an escape character in XML. To write a valid xml that has & inside a string, you need to use &amp; instead.
http://www.xmlnews.org/docs/xml-basics.html
User avatar
mad_ady
Developer
 
Posts: 4525
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: XSL Support for templates   

Postby jhspyhard » Wed Nov 02, 2011 7:38 am

mad_ady wrote:Ampersand is an escape character in XML. To write a valid xml that has & inside a string, you need to use &amp; instead.

If a user were to enter "A&amp;E, Fuji Media" as the studio in the Thumbgen Company Text Field, it comes into my get getStudioImagePath( ) method as the following string that has already been pre-parsed by Thumbgen: "A&amp/E/Fuji Media". Basically Thumbgen presents my function with three tokens, instead of two. That said, including the legal XML character &amp; into a TG Textfield WILL breaks thumbgen's element parser. I could run a String.Replace( ) looking for the ampersand code followed by a slash rather than a semi-colon. It would be a decent work-around, but I think this is not a good way to fix this problem because the user is still required to use XML code in their data entry.

thumbgen wrote:Template.xml (with tokens)-> TG fills the tokens -> if template.xslt exists -> TG applies the XSL to the filled-up xml -> render the result

Given the flow of the thumbgen chain of events (came from one of the first comments in this thread), it seems like the only way to properly fix this would be to have the Thumbgen application, prior to dumping the tokens into the Template.xml, parse through its text field values and change any occurances of '&' to "&amp;". This way, the template could easily handle the transformation in the template.xslt code --- and the user / datasources wouldn't be troubled to use XML codes in their data entry.

I don't think I have missed anything. Please let me know if you think I have.
-- Jim --

Check out my ThumbGen Template Blog.
Last Updated: 01/01/2017
JHSMovieSheets is currently at Version 0.9.5.1

D-Link DIR-655 (Gigabit switch)
NetGear ReadyNAS Pioneer Pro 13 TB + Redundancy; (2x Gigabit NICs)
WD TV Live Plus (WDLXTV 0.4.7.3)
.M2TS (HD) / .MPG (SD)
User avatar
jhspyhard
Donor
 
Posts: 45
Joined: Sun Sep 05, 2010 5:13 am
Location: Fairfax, VA

Re: XSL Support for templates   

Postby GregiBoy » Fri Dec 02, 2011 5:28 pm

I am having a heck of a problem getting my head around formatting numbers in XSL.

I have got the %SEASON% tokens reading in OK and concatenating fine but what I want to do is format the numbers so they always show two digits eg: S01E01.

<!-- get the Series # from the %SEASON% token -->
<xsl:variable name="series" select="//tokens/token[@name='%SEASON%']"/>
<!-- calculate the series number format -->
<xsl:variable name="seriesnum" select="$series"/>

This is where I get lost with the formatting,,

Can anyone help?
GregiBoy
DLX'er
 
Posts: 62
Joined: Mon Apr 18, 2011 3:04 pm
Location: Brisbane, Australia

Re: XSL Support for templates   

Postby jhspyhard » Sun Dec 04, 2011 6:07 am

GregiBoy wrote:I have got the %SEASON% tokens reading in OK and concatenating fine but what I want to do is format the numbers so they always show two digits eg: S01E01.

If you are looking to use XSL exclusively to do this operation, then I would look at the format-number function here:

http://www.w3schools.com/xsl/func_formatnumber.asp

After testing it in my own template's XSL real quick,this code snippet does what you are looking to do though your code will probably look a little differently then mine depending on what you are calling your variables, etc.
Code: Select all
     <xsl:template match="//Elements/TextElement[@Name='EpisodeTEXT']/@Text">
          <xsl:attribute name="Text">
               <xsl:value-of select="concat('S',format-number($season,'00'),'E',format-number($episode,'00'))"/>
          </xsl:attribute>
     </xsl:template>
-- Jim --

Check out my ThumbGen Template Blog.
Last Updated: 01/01/2017
JHSMovieSheets is currently at Version 0.9.5.1

D-Link DIR-655 (Gigabit switch)
NetGear ReadyNAS Pioneer Pro 13 TB + Redundancy; (2x Gigabit NICs)
WD TV Live Plus (WDLXTV 0.4.7.3)
.M2TS (HD) / .MPG (SD)
User avatar
jhspyhard
Donor
 
Posts: 45
Joined: Sun Sep 05, 2010 5:13 am
Location: Fairfax, VA

Re: XSL Support for templates   

Postby GregiBoy » Sun Dec 04, 2011 1:22 pm

Thanks Mate,

I knew it was format number but I couldn't get the syntax right.

Here's the final working code for anyone else's use:-
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
   <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
   <xsl:template match="@*|node()">
      <xsl:copy>
         <xsl:apply-templates select="@*|node()"/>
      </xsl:copy>
   </xsl:template>
   <!-- match the TextElement - the template must have the Text Element "SeasonEpisode" -->
   <xsl:template match="TextElement[@Name='SeasonEpisode']">
      <xsl:variable name="Season" select="//tokens/token[@name='%SEASON%']"/>
      <xsl:variable name="TxtSeason" select="$Season"/>
      <xsl:variable name="Episode" select="//tokens/token[@name='%EPISODE%']"/>
      <xsl:variable name="TxtEpisode" select="$Episode"/>
      <xsl:copy>
         <xsl:apply-templates select="@*|node()"/>
         <!-- replace the Text attribute with the desired formatted text -->
         <xsl:attribute name="Text"><xsl:value-of select="concat('S',format-number($TxtSeason,'00'),'E',format-number($TxtEpisode,'00'))"/></xsl:attribute>
      </xsl:copy>               
   </xsl:template>
</xsl:stylesheet>


Now I've just discovered there are series without series numbers!!!
GregiBoy
DLX'er
 
Posts: 62
Joined: Mon Apr 18, 2011 3:04 pm
Location: Brisbane, Australia

Re: XSL Support for templates   

Postby neo.nemek » Sat Feb 04, 2012 11:29 am

Hi all, I'm a guest user from xsl/xml and I don't understand how it works thumbgen designer with xsl document.
I have a problem with the token %COUNTRIES%. Thumbgen designer work with template xml with tokens, sample this template:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<Template>
  <Settings>
    <Directors Separator=", " MaximumValues="1" ImagesFolder="" DefaultImage="" />
    <Actors Separator=", " MaximumValues="8" ImagesFolder="" DefaultImage="" />
    <Genres Separator=", " MaximumValues="4" ImagesFolder="" DefaultImage="" />
    <Countries Separator=", " MaximumValues="1" ImagesFolder="%PATH%\..\Common\Countries\" DefaultImage="%PATH%\..\Common\Countries\nocountry.png" />
    <Rating FileName="%PATH%\star_1_18x18.png" />
    <Studios Separator=", " MaximumValues="1" ImagesFolder="%PATH%\..\Common\Studios\" DefaultImage="%PATH%\..\Common\Studios\no studio.png" />
    <GuestStars Separator=", " MaximumValues="13" ImagesFolder="" DefaultImage="" />
    <Writers Separator=", " MaximumValues="13" ImagesFolder="" DefaultImage="" />
    <Subtitles Separator=", " MaximumValues="5" ImagesFolder="" DefaultImage="" />
    <Episodes Separator=", " MaximumValues="25" ImagesFolder="" DefaultImage="" />
    <EpisodesNames Separator=", " MaximumValues="25" ImagesFolder="" DefaultImage="" />
    <Languages Separator=", " MaximumValues="5" ImagesFolder="" DefaultImage="" />
    <LanguageCodes Separator=", " MaximumValues="5" ImagesFolder="" DefaultImage="" />
    <Certification ImagesFolder="%PATH%\..\Common\Certifications\" DefaultImage="%PATH%\..\Common\Certifications\none.png" />
  </Settings>
  <SoundFormats>
    <SoundFormat Name="AAC" Text="AAC" Image="%PATH%\..\Common\New\sound_format\aac.png" />
    <SoundFormat Name="AAC20" Text="AAC 2.0" Image="%PATH%\..\Common\New\sound_format\aac.png" />
    <SoundFormat Name="AAC51" Text="AAC 5.1" Image="%PATH%\..\Common\New\sound_format\aac.png" />
    <SoundFormat Name="DD20" Text="Dolby Digital 2.0" Image="%PATH%\..\Common\New\sound_format\dd.png" />
    <SoundFormat Name="DD51" Text="Dolby Digital 5.1" Image="%PATH%\..\Common\New\sound_format\dd.png" />
    <SoundFormat Name="DTRUEHD" Text="Dolby True HD" Image="%PATH%\..\Common\New\sound_format\dtruehd.png" />
    <SoundFormat Name="DTS51" Text="DTS 5.1" Image="%PATH%\..\Common\New\sound_format\dts.png" />
    <SoundFormat Name="DTSHD" Text="DTS HD" Image="%PATH%\..\Common\New\sound_format\dtsma.png" />
    <SoundFormat Name="FLAC" Text="Flac" Image="%PATH%\..\Common\New\sound_format\flac.png" />
    <SoundFormat Name="MP3" Text="All Mpeg" Image="%PATH%\..\Common\New\sound_format\mp3.png" />
    <SoundFormat Name="VORBIS" Text="vorbis" Image="%PATH%\..\Common\New\sound_format\ogg.png" />
    <SoundFormat Name="WMA" Text="WMA" Image="%PATH%\..\Common\New\sound_format\wma.png" />
  </SoundFormats>
  <MediaFormats>
    <MediaFormat Name="BLURAY" Text="Blu-Ray" Image="%PATH%\..\Common\New\media_format\bluray.png" />
    <MediaFormat Name="DVD" Text="DVD" Image="%PATH%\..\Common\New\media_format\dvd.png" />
    <MediaFormat Name="mov" Text="MOV" Image="%PATH%\..\Common\New\media_format\mov.png" />
    <MediaFormat Name="mpeg4" Text="MPEG-4" Image="%PATH%\..\Common\New\media_format\mp4.png" />
    <MediaFormat Name="MKV" Text="MKV" Image="%PATH%\..\Common\New\media_format\mkv.png" />
    <MediaFormat Name="rmvb" Text="RMVB" Image="%PATH%\..\Common\New\media_format\rmvb.png" />
  </MediaFormats>
  <VideoFormats>
    <VideoFormat Name="avc" Text="AVC" Image="%PATH%\..\Common\New\media_format\h264.png" />
    <VideoFormat Name="divx" Text="Divx" Image="%PATH%\..\Common\New\media_format\divx.png" />
    <VideoFormat Name="wmv" Text="WMV" Image="%PATH%\..\Common\New\media_format\wmv.png" />
    <VideoFormat Name="xvid" Text="XviD" Image="%PATH%\..\Common\New\media_format\xvid.png" />
    <VideoFormat Name="mpeg" Text="MPEG-4" Image="%PATH%\..\Common\New\media_format\mpeg.png" />
  </VideoFormats>
  <Resolutions>
    <Resolution Name="288P" Text="288p" Image="%PATH%\..\Common\New\image_resolution\288p.png" />
    <Resolution Name="480I" Text="480I" Image="%PATH%\..\Common\New\image_resolution\480i.png" />
    <Resolution Name="480P" Text="480p" Image="%PATH%\..\Common\New\image_resolution\480.png" />
    <Resolution Name="576I" Text="576I" Image="%PATH%\..\Common\New\image_resolution\576i.png" />
    <Resolution Name="576P" Text="576p" Image="%PATH%\..\Common\New\image_resolution\576.png" />
    <Resolution Name="720I" Text="720I" Image="%PATH%\..\Common\New\image_resolution\720i.png" />
    <Resolution Name="720P" Text="720p" Image="%PATH%\..\Common\New\image_resolution\720.png" />
    <Resolution Name="1080I" Text="1080I" Image="%PATH%\..\Common\New\image_resolution\1080i.png" />
    <Resolution Name="1080P" Text="1080p" Image="%PATH%\..\Common\New\image_resolution\1080.png" />
  </Resolutions>
  <ImageDrawTemplate SDKVersion="3.0">
    <OutputImageSettings ColorDepth="Format32bppAlpha" ImageFormat="Jpeg" JpegCompressionLevel="80" Dpi="96" />
    <Canvas AutoSize="False" CenterElements="False" Height="720" Width="1280" Fill="Solid,16777215,-16777216,BackwardDiagonal,-1,-16777216,0,,Tile,None,50,100,,,,0,0,0,0,Line,True" />
    <Elements>
      <ImageElement Name="Fondo Metal" X="0" Y="0" Width="1280" Height="720" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\fondo metal.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Caratula" X="55" Y="32" Width="190" Height="284" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%COVER%" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <RoundCorners BorderColor="-1" BorderWidth="0" Roundness="10" Corners="All" TGD_IsVisible="True" />
        </Actions>
      </ImageElement>
      <ImageElement Name="Caja Plastico" X="55" Y="32" Width="190" Height="284" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\generic blue.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Fanart3" X="715" Y="32" Width="512" Height="284" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%FANART3%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Highlite Video" X="715" Y="32" Width="512" Height="284" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Highlite Video.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="Titulo" X="302" Y="25" Width="345" Height="30" AutoSize="False" Multiline="False" Font="Arial,18,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="%TITLE%" TextAlignment="TopCenter" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Linea Titulo" X="300" Y="56" Width="356" Height="3" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Linea Creditos.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="DirectorTEXT" X="271" Y="64" Width="98" Height="25" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Director:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Director" X="373" Y="64" Width="245" Height="25" AutoSize="True" Multiline="True" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-4549227" StrokeColor="-16777216" StrokeWidth="0" Text="%DIRECTORS%" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Año" X="613" Y="60" Width="70" Height="22" AutoSize="False" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="%YEAR%" TextAlignment="TopRight" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Duración" X="422" Y="86" Width="263" Height="25" AutoSize="False" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Duración:  %RUNTIME% min." TextAlignment="TopRight" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="ElencoTEXT" X="271" Y="90" Width="98" Height="25" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Elenco:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Elenco" X="271" Y="112" Width="405" Height="50" AutoSize="False" Multiline="True" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-4549227" StrokeColor="-16777216" StrokeWidth="0" Text="%ACTORS%" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="GeneroTXT" X="271" Y="168" Width="100" Height="20" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Género:" TextAlignment="MiddleLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="315" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Genero" X="366" Y="169" Width="315" Height="20" AutoSize="False" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-4549227" StrokeColor="-16777216" StrokeWidth="0" Text="%GENRES%" TextAlignment="MiddleLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="315" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Linea Creditos" X="300" Y="197" Width="356" Height="3" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Linea Creditos.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="PaisTXT" X="271" Y="207" Width="127" Height="14" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Pais:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Pais" X="275" Y="230" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%/../Common/lstarflags/%COUNTRIES%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="SubtitulosTEXT" X="382" Y="206" Width="127" Height="14" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Subtitulos:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Sub1" X="386" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%/../Common/lstarflags/%SUBTITLES1%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Sub2" X="414" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%/../Common/lstarflags/%SUBTITLES2%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Sub3" X="442" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%/../Common/lstarflags/%SUBTITLES3%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Sub4" X="470" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%/../Common/lstarflags/%SUBTITLES5%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="AudioTEXT" X="543" Y="207" Width="127" Height="14" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Audio:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Aud1" X="548" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Aud2" X="576" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Aud3" X="604" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Aud4" X="632" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Aud5" X="660" Y="229" Width="24" Height="24" Source="File" Offset="0" MultiPageIndex="-1" SourceData="" NullImageUrl="" UseSourceDpi="False" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="IMDBTEXT" X="271" Y="261" Width="0" Height="0" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="IMDb:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Starmask" X="340" Y="263" Width="177" Height="18" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\starmask.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Stars" X="340" Y="263" Width="177" Height="18" Source="Base64String" Offset="0" MultiPageIndex="-1" SourceData="%RATINGSTARS%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="CalificacionTXT" X="534" Y="258" Width="150" Height="20" AutoSize="False" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Calif: %RATING%" TextAlignment="TopRight" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Linea Creditos Final" X="300" Y="292" Width="356" Height="3" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Linea Creditos.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Relieve Sipnosis" X="43" Y="328" Width="1198" Height="362" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Relieve Sipnosis.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Certificacion" X="84" Y="342" Width="36" Height="40" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\..\Common\certifications\sp_certifications\%CERTIFICATION%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="2" Opacity="100" Softness="1" TGD_IsVisible="True" />
        </Actions>
      </ImageElement>
      <TextElement Name="MPAA" X="123" Y="336" Width="170" Height="48" AutoSize="False" Multiline="True" Font="Arial,14,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="%MPAA%" TextAlignment="MiddleCenter" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Estudio" X="695" Y="337" Width="65" Height="45" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\..\Common\studios\%STUDIOS%.png" NullImageUrl="%PATH%\..\Common\studios\Unknown Studio.png" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="2" Opacity="100" Softness="1" TGD_IsVisible="True" />
        </Actions>
      </ImageElement>
      <ImageElement Name="Resolucion" X="766" Y="336" Width="73" Height="53" Source="Base64String" Offset="0" MultiPageIndex="-1" SourceData="%RESOLUTION%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Media" X="839" Y="336" Width="73" Height="53" Source="Base64String" Offset="0" MultiPageIndex="-1" SourceData="%MEDIAFORMAT%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="VCodec" X="912" Y="336" Width="73" Height="53" Source="Base64String" Offset="0" MultiPageIndex="-1" SourceData="%VIDEOFORMAT%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Aspecto Icon" X="993" Y="342" Width="67" Height="40" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\..\Common\Images\aspectratio4.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="Aspecto ratio" X="996" Y="355" Width="63" Height="16" AutoSize="False" Multiline="False" Font="Impact,12,Point,,0" ForeColor="-1" StrokeColor="-16777216" StrokeWidth="0" Text="%ASPECTRATIOTEXT%" TextAlignment="MiddleCenter" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Sonido" X="1062" Y="336" Width="146" Height="53" Source="Base64String" Offset="0" MultiPageIndex="-1" SourceData="%SOUNDFORMAT%" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Audio Channels" X="1062" Y="336" Width="146" Height="53" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\..\Common\New\sound_format\channels\%AUDIOCHANNELSTEXT%.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <ImageElement Name="Linea Sipnosis" X="57" Y="387" Width="1170" Height="3" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Linea Creditos.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="SipnosisTEXT" X="62" Y="393" Width="409" Height="14" AutoSize="True" Multiline="False" Font="Arial,16,True,False,False,False,Point,,0" ForeColor="-2500135" StrokeColor="-16777216" StrokeWidth="0" Text="Sipnosis:" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <TextElement Name="Sipnosis" X="58" Y="423" Width="1150" Height="185" AutoSize="False" Multiline="True" Font="Arial,20,True,False,False,False,Point,,0" ForeColor="-4549227" StrokeColor="-6548974" StrokeWidth="0" Text="%PLOT%" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <DropShadow Angle="320" Color="-16777216" Distance="3" Opacity="100" Softness="2" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Linea Sipnosis 2" X="57" Y="620" Width="1170" Height="3" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Linea Creditos.jpg" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
      <TextElement Name="Firma" X="836" Y="632" Width="600" Height="60" AutoSize="False" Multiline="False" Font="Borealis,20,True,True,False,False,Point,,0" ForeColor="-7345238" StrokeColor="-15331344" StrokeWidth="2" Text="Diseño por Neo.Nemek" TextAlignment="TopLeft" TextQuality="AntiAlias" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <Glow Color="-16777216" Opacity="100" Softness="5" TGD_IsVisible="True" />
        </Actions>
      </TextElement>
      <ImageElement Name="Bars" X="574" Y="-54" Width="177" Height="18" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\Bar.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True">
        <Actions>
          <Crop X="0" Y="0" Width="177" Height="18" Center="False" PathPoints="" Roundness="0" AntiAlias="True" TGD_IsVisible="True" />
        </Actions>
      </ImageElement>
      <ImageElement Name="Barback" X="574" Y="-48" Width="177" Height="18" Source="File" Offset="0" MultiPageIndex="-1" SourceData="%PATH%\barback.png" NullImageUrl="" PreserveMetaData="True" TGD_IsLocked="False" TGD_IsVisible="True" />
    </Elements>
  </ImageDrawTemplate>
</Template>


Is a template for wdtv live, me problem is %COUNTRIES% token, I will show "If the movie have 5 countries example: USA,Germany,Spain,Switzerland,France" I will show 5 country flags, now only show one flag.
I understand comcept for variable explain in many examples, but I don't understand how work thumbgen designer with xsl document. How I can show all flags countries from any movie? I need code document name.xsl ?
I need to do a variable up to 5 items flags/countries.

Thanks for information and examples.
neo.nemek
n00b
 
Posts: 1
Joined: Tue Aug 23, 2011 7:51 am

PreviousNext

Return to ThumbGen

Who is online

Users browsing this forum: No registered users and 1 guest