Author Topic: Accessing Episode Values - How?  (Read 2263 times)

0 Members and 1 Guest are viewing this topic.

Offline Banta67

  • Member
  • *
  • Posts: 13
    • View Profile
Accessing Episode Values - How?
« on: February 22, 2010, 04:34:16 pm »
Hello,

I have managed to get some of the values from episode records but, am having a hard time figuring out how to access some of the ones I still need.

For instance, if I use this code in an export template....
Code: [Select]
{%value=episodes template="pages\episode.ptm" grouptemplate="pages\season.ptm"}

I can specify what to retreive in the file pages\episode.ptm
Code: [Select]
{%param=epnum}. {%param=origtitle}
That will export each episode Number and Title.

How do I access other parameters such as the image assigned to the episode, or the POSTER . or the file path. etc.

Can I add a custom field to the episode and then access that field in a param such as
Code: [Select]
{%param=mycustomfield}
If not, what exact values CAN I access in this manner?

Thanks for your help
Banta67
« Last Edit: February 22, 2010, 04:42:13 pm by Banta67 »

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Accessing Episode Values - How?
« Reply #1 on: February 24, 2010, 01:29:05 am »
Currently you can only access season number, episode number, title, origtitle, year, id (num), imdbrating, rating, description and url for episodes from the export template.
Gentlemen, you can’t fight in here! This is the War Room!

Offline Banta67

  • Member
  • *
  • Posts: 13
    • View Profile
Re: Accessing Episode Values - How?
« Reply #2 on: February 24, 2010, 03:47:40 pm »
Thank you for the reply.

Can I somehow get the total number of episodes in an entry?

Do you think it would be difficult to add some additional values to the episodes to retrieve? Getting the path and image values for the individual episodes at the least would be a great help.

Thanks again. PVD is Great!

Banta67

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Accessing Episode Values - How?
« Reply #3 on: February 24, 2010, 11:43:22 pm »
Quote
Can I somehow get the total number of episodes in an entry?

No

Quote
Do you think it would be difficult to add some additional values to the episodes to retrieve? Getting the path and image values for the individual episodes at the least would be a great help.

I do not think it will be a big deal to add some additional values. Feel free to post your suggestions and I will do my best to include them in the next version of the export plugin.
Gentlemen, you can’t fight in here! This is the War Room!