Writers in movie.nfo

All your suggestions, requests and ideas for future development
Post Reply
kim
Power User
Posts: 1050
Joined: 15 May 2014, 16:17

Writers in movie.nfo

Post 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
User avatar
rednoah
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Writers in movie.nfo

Post 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.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1050
Joined: 15 May 2014, 16:17

Re: Writers in movie.nfo

Post 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
User avatar
rednoah
The Source
Posts: 19156
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Writers in movie.nfo

Post by rednoah »

See GitHub for the latest changes. It's writing out a lot more tags now.
:idea: Please read the FAQ and How to Request Help.
kim
Power User
Posts: 1050
Joined: 15 May 2014, 16:17

Re: Writers in movie.nfo

Post 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"
kim
Power User
Posts: 1050
Joined: 15 May 2014, 16:17

Re: Writers in movie.nfo

Post 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***
Post Reply