2
« on: April 26, 2012, 06:44:20 pm »
Long time user with a question.
I've been using PVD for a while now and I love the program. I recently switched over to the beta and I give that even higher marks. But I've encountered an export problem that I don't know how to fix.
Previously I added Language to the export template and that worked and showed the original film language.
To accomplish that I inserted the following bolded line into 'movieiframe.ptm'
<h1 id="mtitle">{%value=title}</h1>{#ConditionAddFirst <> '' '{#ConditionAdd <> '' '{%value=origtitle}' '</p>'}' '
<h2>Original Title</h2><p id="otitle">'}
<h2>Date Added</h2><p>{%value=dateadded}</p>
<h2>Date Modified</h2><p>{%value=moddate}</p>
<h2>View Date</h2><p><strong>{%value=viewdate}</strong></p>
<h2>Year</h2><p>{#StringReplace '{#ConditionAdd = '0' '{%value=year}' ' (unknown)'}' '0 (unknown)' ''}</p>{#ConditionAddFirst <> '' '{#ConditionAdd <> '' '{%value=genre}' '</p>'}' '
<h2>Genre</h2><p id="genre">'}{#ConditionAddFirst <> '' '{#ConditionAdd <> '' '{%value=category}' '</p>'}' '
<h2>Category</h2><p id="category">'}
<h2>Country</h2><p id="country">{%value=country}</p>
<h2>Director</h2><p id="directors">{%value=directors}</p>
<h2>Language</h2><p> {%value=origlang}</p>
<h2>Actors</h2><p id="actors">{%value=actors}</p>
<h2>Description</h2><p>{%value=description}</p>{%value=episodes params="full" template="HTML Frames\episodes.ptm"}
<h2>IMDB Rating</h2><p>{%value=imdbrating}</p>
<h2>IMDB User Review</h2><p>{%value=User Reviews: custom="true"}</p>
<h2>IMDB URL</h2><p>{%value=url}</p>
<h2>Comments</h2><p>{%value=comment}</p>
<h2>Duration</h2><p>{%value=length format="H:MM:SS"} minutes{#StringReplace '{#ConditionAddFirst <> '' '{#ConditionAdd <> '' '{#ConditionAdd = '23,97' '{%value=framerate}' '6'}' ' frames per second)'}' ' (at '}' ',' '.'}</p>
<h2>Filesize</h2><p>{%value=size} <abbr title="Megabyte">MB</abbr></p>
<h2>Video</h2><p>{%value=videocodec} - resolution: {%value=resolution}{#ConditionAddFirst <> '' '{%value=rip}' ' - quality: '}</p>
<h2>Audio</h2>{%value=astreams params="full" template="HTML Frames\astreams.ptm"}{#ConditionAddFirst <> '' '{#ConditionAdd <> '' '{%value=subs}' '</p>'}' '
<h2>Subtitles</h2><p>'}
as I said that worked fine and the correct original film language showed up. But now for whatever reason that same script no longer exports the original language but instead I get genre output (Comedy, Action, Horror) in the language field. I don't think that I changed anything outside of upgrading to beta.
Could anyone perhaps give me a tip as to what possibly went wrong.