221
Scripts and Templates / Re: Export to XBMC
« on: September 14, 2009, 08:21:43 pm »I'm really not sure I'm doing things the right way, so see for yourself and please no bashing...
I have unzipped your file and copied the content into the plugins templates directory.
For testing purpose I am using a test database made of 2 movies. They are both in a folder of the exact same name than the movie file.
I first tried to export and generate .nfo files and nothing was happening. All that I was getting was a new explorer window opening on PVD's directory. No file was being created.
I then played around with the file in notepad, not knowing at all what I was doing.
I changed the "nearfile" part to this: nearfiles="%t%.nfo"
and it actually worked.
I mean that I got an image file and an nfo file generated for both movies in the right directory with the exact filenames.
The first nfo file (movie A) did not contain the imdb URL of the movie, while the second one, for movie B contained only the Allmovie URL.
Movie A in pvd only had an imdb URL while movie B in pvd had two URL's, imdb and allmovie.
I then opened XBMC and tried to see if that nfo file was used by it.
The info it took from Movie A was only the poster, plot and runtime. The nfo file for Movie A contained more info, like director, actors, etc.
The info it took for Movie B is roughly as limited, with tagline and outline (this info was not present in movies A's nfo file).
I must then have done something wrong when modifying the script.
What should "nearfiles" be set as?
Also what is the use in pvd preferences/folders/specify a path. Specify for what?