Need to fix kodi xml .nfo format for fanart and thumb

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nathan909 Offline
Member
Posts: 99
Joined: May 2004
Reputation: 0
Post: #1
You should remove the feature to save .nfo until you fix the xml format. When .nfo is saved kodi will not show any thumbs

fan art will will be saved as

Code:
<fanart>http://image.tmdb.org/t/p/original/id2qZADRqKEGFxf7yeHLp4tHaEo.jpg</fanart>

where it should be saved as:

Code:
<fanart>
        <thumb preview="http://image.tmdb.org/t/p/original/id2qZADRqKEGFxf7yeHLp4tHaEo.jpg">http://image.tmdb.org/t/p/original/id2qZADRqKEGFxf7yeHLp4tHaEo.jpg</thumb>
             <thumb preview="http://image.tmdb.org/t/p/w780/o3P90r3owOlD86e27aC801rk4QI.jpg">http://image.tmdb.org/t/p/original/o3P90r3owOlD86e27aC801rk4QI.jpg</thumb>
</fanart>
find quote
mchp92 Offline
Senior Member
Posts: 214
Joined: Apr 2017
Reputation: 3
Post: #2
What is the / your problem?
find quote
Karellen Offline
Super Moderator
Posts: 2,485
Joined: Apr 2017
Reputation: 45
Post: #3
Are you saying that Fanart needs to be renamed to Thumbs?

My Signature
Links to : Forum Rules | Banned Add-Ons | Free Movies/TV Shows | Debug Log |


find quote
nathan909 Offline
Member
Posts: 99
Joined: May 2004
Reputation: 0
Post: #4
The TMM saved XML format is INCORRECT so Kodi does not recognize the thumb url. This is why Jodi will not show artwork when you save the .nfo

INCORRECT TMM XML:
Code:
<thumb>http://image.tmdb.org/t/p/original/fkFp0nGcSsF8216I1zG6rtO5ybN.jpg</thumb>
    <fanart>http://assets.fanart.tv/fanart/movies/11974/moviebackground/the-burbs-569876b02d8c6.jpg</fanart>

CORRECT Kodi XML format:
Code:
<thumb aspect="poster" preview="http://image.tmdb.org/t/p/w500/7xNhRac6lwSaHxJsOk5trFWUDGa.jpg">http://image.tmdb.org/t/p/original/7xNhRac6lwSaHxJsOk5trFWUDGa.jpg</thumb>
    <thumb aspect="poster" preview="http://image.tmdb.org/t/p/w500/2B78dT7Bs8HhtpgcljOWlsaX5I6.jpg">http://image.tmdb.org/t/p/original/2B78dT7Bs8HhtpgcljOWlsaX5I6.jpg</thumb>
    <fanart>
        <thumb preview="http://image.tmdb.org/t/p/w780/8keMlLuzB9XIUBnbdEq5DCqZdHQ.jpg">http://image.tmdb.org/t/p/original/8keMlLuzB9XIUBnbdEq5DCqZdHQ.jpg</thumb>
        <thumb preview="http://image.tmdb.org/t/p/w780/bTFeSwh07oX99ofpDI4O2WkiFJ.jpg">http://image.tmdb.org/t/p/original/bTFeSwh07oX99ofpDI4O2WkiFJ.jpg</thumb>
    </fanart>
find quote
mchp92 Offline
Senior Member
Posts: 214
Joined: Apr 2017
Reputation: 3
Post: #5
Could you tell whats wrong?
This makes a bit of a puzzle still
find quote
myron Online
Moderator
Posts: 765
Joined: Jan 2011
Reputation: 24
Location: de_AT
Post: #6
Kodi somewhen changed it's NFO format to support more than one image per type in NFO.
Nevertheless, when having a local image file, this has always precedence over thos in NFO (at least, this is my last information)
Furthermore, Kodi should be pretty backward compatible, so it should read quite fine...

We have already changed the format for TMM v3...

tinyMediaManager - THE media manager of your choice :)
Wanna help translate TMM ?
[Image: project_thin_badge?format=gif]
(This post was last modified: 2017-08-16 08:56 by myron.)
find quote