m7eesn 10 Posted June 12, 2022 Share Posted June 12, 2022 (edited) Hi, it seems sometimes the NFO reader uses tmdb id as imdb id for example doing quick sync on my library i found the following problematic records [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [Banner of the Stars Movie (2001)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [89496]. { (backend_id: 318609), (item: [ (id: None), (year: 2001) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [Before I Knew It, I Was Here: Documentary of Nogizaka46 (2019)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [655809]. { (backend_id: 319097), (item: [ (id: None), (year: 2019) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [Dororo (1968)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [726174]. { (backend_id: 318424), (item: [ (id: None), (year: 1968) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [The Laws of the Sun (2000)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [248904]. { (backend_id: 318698), (item: [ (id: None), (year: 2000) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [One Piece Film Gold: Episode 0 (2016)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [779813]. { (backend_id: 318174), (item: [ (id: None), (year: 2016) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [The Prince of Tennis: A Gift from Atobe (2005)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [408973]. { (backend_id: 318496), (item: [ (id: None), (year: 2005) ]) } [2022-06-12T23:32:43+03:00] WARNING: Ignoring [emby_server] movie [Tales of Zestiria: The Shepherd's Advent (2014)] [guid_imdb] external id. Unexpected value expecting [tt(number)] but got [315843]. { (backend_id: 318289), (item: [ (id: None), (year: 2014) ]) } I tried to manually remove them, but on next meta refresh it seems Emby reinsert the <id> into imdb external id, one example of NFO they are auto generated by radarr/sonarr <movie> <title>Banner of the Stars Movie</title> <originaltitle>星界の戦旗 特別編</originaltitle> <sorttitle>banner stars movie</sorttitle> <userrating /> <top250 /> <outline /> <plot>A compilation of the Seikai no Senki series with additional footage. Three years of uneasy have passed since the Four Nations Alliance declared war on the Abh Empire. With both sides decimated by the first encounter, the lull in violence has provided enough time to build fleets massive enough to span the entire galaxy. Just before the Abh complete preparations for their conquest, however, the Alliance launches a pre-emptive strike, forcing them to take the defensive. Now in command of her own ship, Lafiel is assigned to the fleet as a destroyer captain, and eagerly awaits the opportunity to prove herself as a true Abriel. But when a new class of enemy ship appears on the front lines, the tides quickly turn for the worse. With her vessel now little more than cannon fodder, her dreams are turned into a desperate race for survival - can she and her crew survive amidst a battlefield of endless death and destruction?</plot> <tagline /> <runtime>120</runtime> <thumb aspect="poster" preview="https://image.tmdb.org/t/p/original/dK38rfl7HllIPQ1pMUqTHJWfDWg.jpg">https://image.tmdb.org/t/p/original/dK38rfl7HllIPQ1pMUqTHJWfDWg.jpg</thumb> <playcount /> <lastplayed /> <id>89496</id> <uniqueid type="tmdb" default="true">89496</uniqueid> <genre>Science Fiction</genre> <genre>Animation</genre> <genre>Action</genre> <country /> <set> <name>Seikai Collection</name> <overview /> </set> <tag>anime</tag> <director>Yasuchika Nagaoka</director> <year>2001</year> <studio></studio> <trailer>plugin://plugin.video.youtube/play/?video_id=</trailer> <fileinfo> <streamdetails> <video> <aspect>1.4833333</aspect> <bitrate>0</bitrate> <codec>x264</codec> <framerate>59.940063091482649842271293375</framerate> <height>480</height> <scantype>Progressive</scantype> <width>712</width> <duration>121.22203333333333</duration> <durationinseconds>7273</durationinseconds> </video> <audio> <bitrate>0</bitrate> <channels>2</channels> <codec>AAC</codec> <language>jpn</language> </audio> <subtitle> <language>eng</language> </subtitle> </streamdetails> </fileinfo> </movie> f from reading kodi NFO spec " <id></id> No No The default ID. Do not use. This is a Kodi generated tag. See next item. it seem you are expected to parse <uniqueid type="" default=""></uniqueid> Yes Yes The ID from the scraper site. type="" Identifier of the ID. Do not use "default". Examples of identifier include... <uniqueid type="imdb" <uniqueid type="tvdb" <uniqueid type="tmdb" For non-scraped items, use simple values like "home", "sport", "doco" etc The value can be alpha-numeric eg tt3480556 for imdb, 286668 for tmdb, home001 for home movies, etc default="true" default="false" Only one uniqueID can be set as default="true", additional uniqueID's must be set as default="false" or ommit the default attribute Example of complete entry... <uniqueid type="tmdb" default="true"> <uniqueid type="imdb" default="false"> or <uniqueid type="imdb"> Edited June 12, 2022 by m7eesn clarify kodi Link to comment Share on other sites More sharing options...
Happy2Play 8145 Posted June 12, 2022 Share Posted June 12, 2022 Would have to look at the code but Emby is expecting the <id> node to have a IMDBid. <id>89496</id> example from a Emby nfo <id>tt2395427</id> Link to comment Share on other sites More sharing options...
m7eesn 10 Posted June 12, 2022 Author Share Posted June 12, 2022 1 minute ago, Happy2Play said: Would have to look at the code but Emby is expecting the <id> node to have a IMDBid. <id>89496</id> example from a Emby nfo <id>tt2395427</id> Indeed, i understand that. However, from reading https://kodi.wiki/view/NFO_files/Movies it seems id is unreliable and should only be used as last resort, this problem was present in another media server as well that got fixed recently. If fixing this not possible, at least some sanity check for the imdb id might be needed. Link to comment Share on other sites More sharing options...
Luke 36888 Posted June 12, 2022 Share Posted June 12, 2022 Yea perhaps we should stop looking for that node. 1 Link to comment Share on other sites More sharing options...
m7eesn 10 Posted June 12, 2022 Author Share Posted June 12, 2022 2 minutes ago, Luke said: Yea perhaps we should stop looking for that node. That would be nice. However you may still want to look at this node as last resort if uniqueid not available. people may have older nfo format. 1 Link to comment Share on other sites More sharing options...
m7eesn 10 Posted June 29, 2022 Author Share Posted June 29, 2022 (edited) @Luke any news regarding potential fix for this issue coming any time soon? Edited June 29, 2022 by m7eesn Link to comment Share on other sites More sharing options...
Luke 36888 Posted June 29, 2022 Share Posted June 29, 2022 1 hour ago, m7eesn said: @Luke any news regarding potential fix for this issue coming any time soon? I started on it but I don't have any other news than that right now, sorry. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now