Page 1 of 1

Writers in movie.nfo

Posted: 03 May 2015, 21:54
by kim
there is a problem with the <writer> part of movie.nfo

this will make the <writer> blank
e.g. on http://www.imdb.com/title/tt2322441
"Writers: Kelly Marcel (screenplay), E.L. James (novel)"

same on themoviedb.org

it only works when it say "writer" but it need to take "screenplay" and maybe "novel" to.

can you make so or tell us how to thx

Re: Writers in movie.nfo

Posted: 04 May 2015, 14:46
by rednoah
What is the plex/kodi specification on how to add "people" to movie.nfo?

I can add all of them, just need to know how the movie.nfo xml should look like. Please provide examples.

Re: Writers in movie.nfo

Posted: 04 May 2015, 18:57
by kim
Kodi:
<credits></credits>

e.g.
<credits>James Cameron</credits>
<credits>some other dude</credits>

more info:
http://kodi.wiki/view/NFO_files/Movies
http://kodi.wiki/view/NFO_files/tvshows

i dont know about plex, sry

Re: Writers in movie.nfo

Posted: 04 May 2015, 20:58
by rednoah
See GitHub for the latest changes. It's writing out a lot more tags now.

Re: Writers in movie.nfo

Posted: 04 May 2015, 22:02
by kim
thx it works but remember "<credits>" is = the old "<writer>"

so now it takes WAY to many ppl that are not writers but do something else

we need to only get the ppl in the Writing Department
e.g.
David Fraser=Screenplay
Atom Egoyan=Screenplay
Atom Egoyan=Story"

the old "<writer>" worked but only when it said e.g. Atom Egoyan=writer so
its needs to scan for min. "writer" + "Screenplay" and maybe "Story" "novel" to


e.g. https://www.themoviedb.org/movie/244761-the-captive

<director>Atom Egoyan</director>
<credits>David Fraser</credits>
<credits>Stephen Traynor</credits>
<credits>John Buchan</credits>
<credits>Jason Knight</credits>
<credits>Paul Sarossy</credits>
<credits>Mychael Danna</credits>
<credits>Susan Shipton</credits>
<credits>Debra Hanson</credits>
<credits>Phillip Barker</credits>
<credits>Atom Egoyan</credits>
<credits>Atom Egoyan</credits>
<credits>Atom Egoyan</credits>
<credits>Simone Urdl</credits>
<credits>Jennifer Weiss</credits>
<credits>Patrice Theroux</credits>


"Department: Art
Phillip Barker=Production Design

Department: Camera
Paul Sarossy=Director of Photography

Department: Costume & Make-Up
Debra Hanson=Costume Design

Department: Directing
Atom Egoyan=Director

Department: Editing
Susan Shipton=Editor

Department: Production
John Buchan=Casting
Jason Knight=Casting
Patrice Theroux=Executive Producer
Stephen Traynor=Producer
Atom Egoyan=Producer
Simone Urdl=Producer
Jennifer Weiss=Producer

Department: Sound
Mychael Danna=Original Music Composer

Department: Writing
David Fraser=Screenplay
Atom Egoyan=Screenplay
Atom Egoyan=Story"

Re: Writers in movie.nfo

Posted: 04 May 2015, 23:57
by kim
i just made this:

Code: Select all

				i.people.each{ p ->
				if (p.director) {
					director(p.name)
				} else if (p.actor) { 
					actor {
						name(p.name)
						role(p.character)
					}
				} else {
					if (p.job) {
						if (p.job == 'Writer') { 
							credits(p.name)
						}
						else if (p.job == 'Screenplay') { 
							credits(p.name + ' ('+p.job+')')
						}
						else if (p.job == 'Story') { 
							credits(p.name + ' ('+p.job+')')
						}
						else if (p.job == 'Novel') { 
							credits(p.name + ' ('+p.job+')')
						}
					}
				}
			}
***make it pretty coding and add pls***