Author Topic: Export Actors and there roles  (Read 12813 times)

0 Members and 1 Guest are viewing this topic.

Offline oska85

  • Member
  • *
  • Posts: 3
    • View Profile
Export Actors and there roles
« on: September 30, 2008, 09:22:27 am »
just quickly, excellent program dudes, has mass potential

My question is I'm editing the template for movie xml and i'm trying to include the roles for each actor as follows

<actor>
<role>

I've played around with the coding for some time now and I just can't get it. Can anybody help me with providing me some examples so I can just learn from them.
Thanks

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Export Actors and there roles
« Reply #1 on: September 30, 2008, 12:38:21 pm »
You have to create an extra .tpl file for actors and write smth like this in the main template file:
Code: [Select]
{%value=52 template="actors.tpl" param="full"}
In the actors.tpl you write:
Code: [Select]
%HEAD%<actor>%HEAD%
<name>{%param=name}</name>
<role>{%param=role}</role>
%FOOT%</actor>%FOOT%
Gentlemen, you can’t fight in here! This is the War Room!

Offline oska85

  • Member
  • *
  • Posts: 3
    • View Profile
Re: Export Actors and there roles
« Reply #2 on: October 01, 2008, 09:45:58 am »
Thanks nostra,

that helped perfectly.

Kind Regards
Oska85
 :)

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Export Actors and there roles
« Reply #3 on: October 05, 2008, 12:39:48 am »
Your question seems to involve what would be required to export XML for import to XBMC (i.e., the actor/role format). It might be helpful if you could post what you've done to XBMC integration?

Offline oska85

  • Member
  • *
  • Posts: 3
    • View Profile
To Rick.ca in regards into XBMC
« Reply #4 on: October 09, 2008, 01:06:32 pm »
No problem rick.ca

I'll post a reply with all my workings in that particular form very soon.
All my work is based upon xbmc for xbox.

will it be a problem to post that kind of information and workings being its for the xbmc xbox version?

Kind Regards
oska85

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Export Actors and there roles
« Reply #5 on: October 09, 2008, 03:25:21 pm »
No matter for which version it is, just post ;)

Everything that can help other users is appreciated.
Gentlemen, you can’t fight in here! This is the War Room!

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Export Actors and there roles
« Reply #6 on: October 09, 2008, 07:18:25 pm »
Quote
Everything that can help other users is appreciated.

To illustrate the point... Until a recent post, I assumed XBMC was Microsoft software for the XBox. I now know it's open source with versions for Windows, Mac, Linux and XBox. While XBMC is very impressive, I'm still going to prefer J River Media Center. But JRMC also requires the XML for importing information. So whatever ideas you have are likely of interest to me.

On a more general note, there are a number of excellent media centers out there. And it's obvious they are becoming more "mainstream." XBMC is one of few that download movie information, and I don't think any of them will ever come close to doing that as well as PVD. But if PVD is going to be relevant in a world where everyone is using media center software, it has to establish itself as an effective "back end" for movie information. For now, helping media center users import information by whatever means their software allows is the best we can do. Eventually, maybe media center developers will take note, and add the ability to query PVD's SQL database directly.