Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
setting up an nfo file with an imdb id to be scraped
#1
Hi,

I was searching through the forum to find my use case. I found nothing that I could apply.

I register a movie smb source with movies in folders and an nfo file next to it.

"movies/Big Buck Bunny (2008)/Big Buck Bunny (2008).avi"
"movies/Big Buck Bunny (2008)/Big Buck Bunny (2008).nfo"
xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
    <title>Big Buck Bunny</title>
    <uniqueid type="imdb" default="true">tt1254207</uniqueid>
</movie>

I start from a fresh KODI installation and when adding the movie source I add the scraper "Universal Movie Scraper"
After the source has been processed I can reinspect the movies and find Big Buck Bunny there.

Unfortunately no art or movie information has been imported.
My motivation to specify a nfo file is because I know the imdb_id before hand and do not want to rely on automated processes that are hard to verify for me.

Why does the "Universal Movie Scraper" not pick up the id in the nfo and complete the information?
Is there another file based approach where I can write my prepared imdb_id into a file and have that be known to any scraper?

Thanks in advance.
Reply
#2
(2022-05-29, 22:47)Augustus Wrote: My motivation to specify a nfo file is because I know the imdb_id before hand and do not want to rely on automated processes that are hard to verify for me.
No, that is not the correct way to do what you want.

Use a Parsing NFO file... https://kodi.wiki/view/NFO_files/Parsing
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#3
Thanks. I did build myself some scripting so I can update my files quickly.
Among my testing I ran this link:

I renamed my bunny movie to:

"movies/12 Monkeys (1995)/12 Monkeys (1995).avi"
"movies/12 Monkeys (1995)/12 Monkeys (1995).nfo"

with the nfo containing:
xml:
https://www.imdb.com/title/tt0114746/

This link points to the current name "12 Monkeys".
After scraping it shows up with the original Title "Twelve Monkeys" and the image from here: https://www.themoviedb.org/movie/63-twelve-monkeys.

I can not tell if the imdb entry was ignored or not at the moment.
If I read the imdb section here https://kodi.wiki/view/NFO_files/Parsing correctly,
I would have to implement my own imdb only scraper in order to guarantee only that information would be used.

I will be able to do some more testing in 10 days to see if problematic ids can be processed like that.
Reply
#4
@Augustus

Your setup and nfo file look correct

The IMDB ID is an identifier. Many websites like TheMovieDB and TVDB use that ID in addition to their own ID.

Where the actual metadata and artwork comes from depends on which scraper you are using.
If you are using the default TheMovieDB scraper, then that is where the information has come from. It just searched TheMovieDB for the IMDB ID and retrieved the entry.

If you want metadata and artwork from IMDB, then you need to use the Universal Movie Scraper and adjust its settings to use IMDB.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply

Logout Mark Read Team Forum Stats Members Help
setting up an nfo file with an imdb id to be scraped0