2017-04-10, 16:59
(2017-04-10, 16:57)DanCooper Wrote:(2017-04-10, 16:48)axlt2002 Wrote:(2017-04-10, 16:39)DanCooper Wrote: 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.
Yes, but me question is: how is the ordering of multiple IDs for one movie in the table uniqueid? Will the "default=true" value always added as first entry in the table?
Being ignorant...what do you mean by table uniqueid? Should I take a look into the Kodi database?