Kodi Community Forum
Cannot scrape with imdb in .nfo file - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60)
+--- Thread: Cannot scrape with imdb in .nfo file (/showthread.php?tid=374438)



Cannot scrape with imdb in .nfo file - jalcaid001 - 2023-09-15

File:  "Falcon Lake (Charlotte Le Bon, 2022).mkv"
I have  "Falcon Lake (Charlotte Le Bon, 2022).nfo" with content "https://www.imdb.com/title/tt11448830/'
Moviedb movie: https://www.themoviedb.org/movie/946127-falcon-lake?language=en-US

Why is not finding it? Any easy thing I can add in the .nfo file?

https://paste.kodi.tv/vemeyulaxe


RE: Cannot scrape with imdb in .nfo file - Hitcher - 2023-09-15

Rename the folder Falcon Lake (2022) and remove the NFO file, then refresh info.


RE: Cannot scrape with imdb in .nfo file - izprtxqkft - 2023-09-15

as a standard practice, if your file/folder name cannot be searched on tmdb then it is probably not going to get through the scraper either

since the scraper has to use that name to search tmdb itself


try Falcon Lake (Charlotte Le Bon, 2022)

and then Falcon Lake


RE: Cannot scrape with imdb in .nfo file - jalcaid001 - 2023-09-15

I understand I can try to change the name of the movie.
But I'd like to avoid this if I can just change the contents of the .nfo file. It works better for me
Is there a way of doing it?

Incidentally, trying "Falcon Lake (2022)" doesn't work in https://www.themoviedb.org/ either


RE: Cannot scrape with imdb in .nfo file - izprtxqkft - 2023-09-15

if you want to use "local information" (NFO) set your source's content to "local information only"


RE: Cannot scrape with imdb in .nfo file - Karellen - 2023-09-15

(2023-09-15, 16:25)jalcaid001 Wrote: Why is not finding it? Any easy thing I can add in the .nfo file?
For some reason Kodi is not seeing your nfo file.
How have you named the file?
Where have you saved it?
Is the file encoding UTF8?


RE: Cannot scrape with imdb in .nfo file - Hitcher - 2023-09-15

(2023-09-15, 19:32)jalcaid001 Wrote: Incidentally, trying "Falcon Lake (2022)" doesn't work in https://www.themoviedb.org/ either
I didn't say it would work in the webpage search but renaming the folder Falcon Lake (2022) definitely works in the scraper.


RE: Cannot scrape with imdb in .nfo file - izprtxqkft - 2023-09-15

(2023-09-15, 19:32)jalcaid001 Wrote: Incidentally, trying "Falcon Lake (2022)" doesn't work in https://www.themoviedb.org/ either

https://www.themoviedb.org/search?language=en-US&query=Falcon+Lake&year=2022

the scraper extracts the year, when it knows it - https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/blob/nexus/libs/actions.py#L223

but kodi has to find it in the title in a format it understands first in order to send it to the scraper


RE: Cannot scrape with imdb in .nfo file - Karellen - 2023-09-16

(2023-09-15, 23:35)jepsizofye Wrote: but kodi has to find it in the title in a format it understands first in order to send it to the scraper
Nope.
If a Parsing nfo file is being used, none of that matters. It will just follow the valid link in the nfo file.

OP stated...
(2023-09-15, 16:25)jalcaid001 Wrote: I have  "Falcon Lake (Charlotte Le Bon, 2022).nfo" with content "https://www.imdb.com/title/tt11448830/'



RE: Cannot scrape with imdb in .nfo file - izprtxqkft - 2023-09-16

(2023-09-16, 00:14)Karellen Wrote: If a Parsing nfo file is being used, none of that matters. It will just follow the valid link in the nfo file.

maybe it is supposed to but line 512 of the log provided shows it tried with the filename query=Falcon%20Lake%20(Charlotte%20Le%20Bon%2c%202022)&year=


RE: Cannot scrape with imdb in .nfo file - Karellen - 2023-09-16

(2023-09-16, 00:18)jepsizofye Wrote: maybe it is supposed to but line 512 of the log provided shows it tried with the filename query=Falcon%20Lake%20(Charlotte%20Le%20Bon%2c%202022)&year=
Yep, because the vidoescanner could not find the nfo file, which is why I asked my questions in post#6
If the nfo file had been found, you would not see that line in the log.


RE: Cannot scrape with imdb in .nfo file - jalcaid001 - 2023-09-16

(2023-09-15, 23:35)jepsizofye Wrote:
(2023-09-15, 19:32)jalcaid001 Wrote: Incidentally, trying "Falcon Lake (2022)" doesn't work in https://www.themoviedb.org/ either

https://www.themoviedb.org/search?language=en-US&query=Falcon+Lake&year=2022

the scraper extracts the year, when it knows it - https://github.com/xbmc/metadata.tvshows.themoviedb.org.python/blob/nexus/libs/actions.py#L223

but kodi has to find it in the title in a format it understands first in order to send it to the scraper
Interesting. The following worked

https://api.themoviedb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Falcon%20Lake&year=2023
https://api.themoviedb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Falcon%20Lake&year=2022
https://api.themoviedb.org/3/search/movie?api_key=f090bb54758cabf231fb605d3e3e0468&query=Falcon%20Lake

That movie has some fields for 2023 and some for 2022


RE: Cannot scrape with imdb in .nfo file - jalcaid001 - 2023-09-16

(2023-09-16, 00:30)Karellen Wrote:
(2023-09-16, 00:18)jepsizofye Wrote: maybe it is supposed to but line 512 of the log provided shows it tried with the filename query=Falcon%20Lake%20(Charlotte%20Le%20Bon%2c%202022)&year=
Yep, because the vidoescanner could not find the nfo file, which is why I asked my questions in post#6
If the nfo file had been found, you would not see that line in the log.
You were right!
There was a typo in the file name (I saw it when I looked in my Linux samba share)
Now everything works with the .nfo file (as it usually does)

Thanks a lot!