2021-09-20, 17:01
Hey all,
The issue i have is that when Kodi Imports my Movie files, it reads the NFO files and it loads the <criticrating> field from the NFO files as the "userRating" / "My Rating".
(This issue doesnt occur for my TV Show files in KODI, even though they use the same NFO info providers)
I have checked the way Kodi is expecting these NFO files to be structured (https://kodi.wiki/view/NFO_files/Movies#nfo_Tags)
Which is like this:
<ratings>
<rating name="" max="10" default="">
<value></value>
<votes></votes>
</rating>
<rating name="themoviedb" max="10" default="true">
<rating name="imdb" max="10" default="false">
</ratings>
My current NFO files do indeed not have this structure, because they are created by Jellyfin using the "The Open Movie Database" or "TheMovieDB"
But the weird thing is that KODI doesnt load the <rating> field as "My Rating" or "userRating" instead it loads the <criticrating> as such.
While on the surface this doesnt look like a big issue, after using Kodi Trakt Sync
I suddenly had 10 pages of new "movie ratings" on trakt which were all "10" (because trakt goes from 0-10, and <criticrating> goes from 0-100)
I have been looking for a way to modify Jellyfin to just straight up omit ratings or criticratings all together, but cant seem to find a way to edit the way Jellyfin creates the NFO files (tried switching between "The Open Movie Database" or "TheMovieDB")
Does anybody know a way to either:
- Stop kodi from loading ratings from NFO files (but use the other NFO info)
- Stop Kodi from reading NFO files AT ALL (Jellyfin should inject the needed movie info by itself anyways i think)
- Stop kodi from loading <criticrating> from nfo file into the "My Rating" / "userRating"
- Modify the way Jellyfin creates NFO files to omit the <rating> and <criticrating> fields
- Modify the way Jellyfin creates NFO files, to create proper <ratings> structure
Additional notes about my setup:
- Sonarr / Radarr
- Folder structure where IMDB ID is included in the movie folder name aka "Infinite (2021) [tt6654210]"
- Jellyfin to create NFO's and inject correct file paths into Kodi (Network drive paths etc)
- Latest version of Kodi using the Jellyfin Addon with the "Native" method so Jellyfin movies are added as "normal" movies into the Kodi database.
- Trakt to sync watch history and now with ratings syncing disabled because my Kodi library is a mess now
Example of one of my NFO files:
The issue i have is that when Kodi Imports my Movie files, it reads the NFO files and it loads the <criticrating> field from the NFO files as the "userRating" / "My Rating".
(This issue doesnt occur for my TV Show files in KODI, even though they use the same NFO info providers)
I have checked the way Kodi is expecting these NFO files to be structured (https://kodi.wiki/view/NFO_files/Movies#nfo_Tags)
Which is like this:
<ratings>
<rating name="" max="10" default="">
<value></value>
<votes></votes>
</rating>
<rating name="themoviedb" max="10" default="true">
<rating name="imdb" max="10" default="false">
</ratings>
My current NFO files do indeed not have this structure, because they are created by Jellyfin using the "The Open Movie Database" or "TheMovieDB"
But the weird thing is that KODI doesnt load the <rating> field as "My Rating" or "userRating" instead it loads the <criticrating> as such.
While on the surface this doesnt look like a big issue, after using Kodi Trakt Sync
I suddenly had 10 pages of new "movie ratings" on trakt which were all "10" (because trakt goes from 0-10, and <criticrating> goes from 0-100)
I have been looking for a way to modify Jellyfin to just straight up omit ratings or criticratings all together, but cant seem to find a way to edit the way Jellyfin creates the NFO files (tried switching between "The Open Movie Database" or "TheMovieDB")
Does anybody know a way to either:
- Stop kodi from loading ratings from NFO files (but use the other NFO info)
- Stop Kodi from reading NFO files AT ALL (Jellyfin should inject the needed movie info by itself anyways i think)
- Stop kodi from loading <criticrating> from nfo file into the "My Rating" / "userRating"
- Modify the way Jellyfin creates NFO files to omit the <rating> and <criticrating> fields
- Modify the way Jellyfin creates NFO files, to create proper <ratings> structure
Additional notes about my setup:
- Sonarr / Radarr
- Folder structure where IMDB ID is included in the movie folder name aka "Infinite (2021) [tt6654210]"
- Jellyfin to create NFO's and inject correct file paths into Kodi (Network drive paths etc)
- Latest version of Kodi using the Jellyfin Addon with the "Native" method so Jellyfin movies are added as "normal" movies into the Kodi database.
- Trakt to sync watch history and now with ratings syncing disabled because my Kodi library is a mess now
Example of one of my NFO files:
xml:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<movie>
<plot>A man discovers that his hallucinations are actually visions from past lives.</plot>
<outline>Many lives. Unlimited potential.</outline>
<lockdata>false</lockdata>
<dateadded>2021-09-15 13:44:40</dateadded>
<title>Infinite</title>
<originaltitle>Infinite</originaltitle>
<director>Antoine Fuqua</director>
<writer>Ian Shorr</writer>
<writer>Todd Stein</writer>
<writer>D. Eric Maikranz</writer>
<credits>Ian Shorr</credits>
<credits>Todd Stein</credits>
<credits>D. Eric Maikranz</credits>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=rubfbwFmKic</trailer>
<rating>5.4</rating>
<year>2021</year>
<mpaa>PG-13</mpaa>
<imdbid>tt6654210</imdbid>
<tmdbid>581726</tmdbid>
<premiered>2021-06-10</premiered>
<releasedate>2021-06-10</releasedate>
<criticrating>16</criticrating>
<runtime>106</runtime>
<tagline>Many lives. Unlimited potential.</tagline>
<country>United States of America</country>
<genre>Action</genre>
<genre>Sci-Fi</genre>
<genre>Thriller</genre>
<studio>Di Bonaventura Pictures</studio>
<studio>Closest to the Hole Productions</studio>
<studio>Leverage Entertainment</studio>
<tag>based on novel or book</tag>
<tag>reincarnation</tag>
<art>
<poster>C:\ProgramData\Jellyfin\Server\metadata\library\af\aff4e25714c5f0c92fe3c0a3a70be69d\poster.jpg</poster>
<fanart>C:\ProgramData\Jellyfin\Server\metadata\library\af\aff4e25714c5f0c92fe3c0a3a70be69d\backdrop.jpg</fanart>
</art>
<actor>
<name>Mark Wahlberg</name>
<role>Evan McCauley</role>
<type>Actor</type>
<sortorder>0</sortorder>
<thumb>C:\ProgramData\Jellyfin\Server\metadata\People\M\Mark Wahlberg\folder.jpg</thumb>
</actor>
<actor>
<name>Valerii An</name>
<role>Executive Producer</role>
<type>Producer</type>
</actor>
<id>tt6654210</id>
<fileinfo>
<streamdetails>
<video>
<codec>h264</codec>
<micodec>h264</micodec>
<bitrate>2249020</bitrate>
<width>1920</width>
<height>800</height>
<aspect>2.40:1</aspect>
<aspectratio>2.40:1</aspectratio>
<framerate>24</framerate>
<language>und</language>
<scantype>progressive</scantype>
<default>True</default>
<forced>False</forced>
<duration>106</duration>
<durationinseconds>6380</durationinseconds>
</video>
<audio>
<codec>aac</codec>
<micodec>aac</micodec>
<bitrate>384003</bitrate>
<language>und</language>
<scantype>progressive</scantype>
<channels>6</channels>
<samplingrate>48000</samplingrate>
<default>True</default>
<forced>False</forced>
</audio>
<subtitle>
<codec>srt</codec>
<micodec>srt</micodec>
<scantype>progressive</scantype>
<default>False</default>
<forced>False</forced>
</subtitle>
</streamdetails>
</fileinfo>
</movie>