Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - kmickeletto

Pages: [1]
1
Support / Re: Issue with maxvalues on Export
« on: October 07, 2010, 02:12:30 am »
I was able to figure it out...

Code: [Select]
<actors>{%value=actors template="pages\actors.ptm" maxvalues="3" params="full"}</actors>
actors.ptm
Code: [Select]
%HEAD%%HEAD%
{%param=name},
%FOOT%%FOOT%

I get an extra comma at the end of the string of actors, but I guess I can live with it.  Anyone know how to trim the last one?

2
Support / [SOLVED] Issue with maxvalues on Export
« on: October 07, 2010, 01:35:25 am »
I am trying to limit how many actors are included during an export to XML.  I have read and everything points to what I have tried but it still doesn't seem to work.  Can anyone point me in the right direction?

Code: [Select]
<actors>{%value=actors template="actors.ptm" maxvalues="3"}</actors>
I have also tried...
Code: [Select]
<actors>{%value=actors maxvalues="3"}</actors>
Currently my actors.ptm file looks like this...
Code: [Select]
%HEAD%<actor>%HEAD%
<name>{%param=name}</name>

%FOOT%</actor>%FOOT%

3
Support / Re: Variable for FileName
« on: August 07, 2010, 04:19:41 pm »
Perfect!  That was exactly what I was looking for.  I did find stuff about stringreplace on the forum, but I just wasn't sure how to implement it.   I ended up making a slight change to your example and it is working perfectly.  Thanks!

Code: [Select]
<path>{#StringReplace '{%value=path}' 'F:\Roku\movies\' 'movies/')}</path>

4
Support / [SOLVED] Variable for FileName
« on: August 07, 2010, 04:26:59 am »
Hi, I use PVD to manage my video collection and I export to XML for my Roku box (Roksbox application).  I have had a continual issue with the <path> section.  The default script creates the path with the drive letter intact.  When passing the XML file to a my Roku which is technically a HTTP client, it pukes using the path with the drive letter.

I noticed I can modify the results of the XML file that is built by playing with the XML (Movies).ptm file.  My problem is, I can't seem to find a variable that just has the filename instead of the filename and path.  Can anyone help?

Thanks so much!
Ken

Pages: [1]
anything