2017-04-10, 16:48
(2017-04-10, 16:39)DanCooper Wrote:(2017-04-10, 16:26)axlt2002 Wrote: I've just made a trial: the node that has default = true, is the one that will be used as <id> in the Kodi Library.
Hmm, but the IDs are only saved in the uniqueid table and this table has no "is default/is not" field. Also the movie/tvshow and episode table has no ID field. So do you have tested if the node with "default=true" is always added on the first position in the uniqueid table? The view "tvshow_view" (and all other views for library mode in Kodi) does only show the first entry of the uniqueid table as uniqueid_value.
I have tried it with a movie. The initial .nfo file was:
Code:
<id>tt1038988</id>
<uniqueid type="imdb">tt1038988</uniqueid>
<uniqueid type="tmdb" default="true">8329</uniqueid>
and when I have exported it again from the Library it became:
Code:
<id>8329</id>
<uniqueid type="imdb">tt1038988</uniqueid>
<uniqueid type="tmdb" default="true">8329</uniqueid>
Does it make sense for you? I'm quite ignorant...
And the field <id> is added even to TV Show and Episode .nfos. Here you can find an example of export.