Page 1 of 1
NFO files generated by TinyMediaManager break series lookup
Posted: 22 Mar 2023, 08:55
by Pinhead
Hi all
I have upgrade to the latest version 5.01, I have then since downgraded back to 4.9X clean out the install and lastly install 5.01 again, but each time I keep getting this error
Code: Select all
Mar 22, 2023 7:17:00 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
I have tried changing the lookup and the expressions that I use to name, this is the first time that I have come across this since I started using FileBot.
this only happens on TV shows - Movies rename all ok
any pointers please
Re: TV Naming Error 5.01
Posted: 22 Mar 2023, 09:03
by rednoah
Can you describe what you are doing?
Did you manually enter
ID 397762 by any chance? You seem to be using a
TheTVDB ID for a
TheMovieDB/TV lookup. The default database has indeed changed from
TheTVDB to
TheMovieDB/TV but explicitly choosing a database is always recommended, especially if you're manually entering a database-specific numeric ID.
Please post
screenshots or
files paths as text so that we can see what you are seeing and perhaps allow us to reproduce the issue ourselves.
Please read
How to Request Help for details:
Re: TV Naming Error 5.01 (Invalid Lookup)
Posted: 22 Mar 2023, 09:20
by Pinhead
Sorry bout that
Another piece of info, when I am remaining NEW TVshow it works all ok, this is only happening when I am updating a show that I have previously renamed (if that makes sense)
I did my normal drag and drop tvs how into filebot, then I choose my preset TV then I get the error (screenshot)
https://imgur.com/a/iPPnyzP
https://imgur.com/a/2lxAOMV
SysInfo:
Code: Select all
FileBot 5.0.1 (r9665)
JNA Native: 6.1.4
MediaInfo: 22.12
Tools: fpcalc/1.5.1 7zz/21.06
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2023-03-19 (r893)
Groovy: 4.0.9
JRE: OpenJDK Runtime Environment 17.0.6
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 17 GB Max Memory / 279 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin Stephens-iMac.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 1.2 TB | apfs [/Volumes/OS's] @ 536 GB | afpfs [/Volumes/TV] @ 10 TB | afpfs [/Volumes/Movies] @ 10 TB | afpfs [/Volumes/Loccem] @ 10 TB
DATA: /Users/pinhead/.filebot
Package: PKG
License: FileBot License PX11167394 (Valid-Until: 2070-01-12)
Filepath:
Code: Select all
Blue Bloods (2010)/Season 13/Blue.Bloods.S13E15.1080p.HEVC.x265-MeGusta.mkv
Logs:
Code: Select all
# /Users/pinhead/.filebot/logs/error.log
Mar 22, 2023 7:10:30 PM net.filebot.DiskStore acquireDiskStore
WARNING: Initialize new disk cache: /Users/pinhead/.filebot/cache/0
Mar 22, 2023 7:11:21 PM net.filebot.CachedResource error
WARNING: Resource not found: https://api.themoviedb.org/3/tv/397762 [404 Not Found]
Mar 22, 2023 7:11:21 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:13:33 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:15:20 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:17:00 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:26:03 PM net.filebot.CachedResource lambda$fetchIfNoneMatch$17
SEVERE: Store ETag: STATUS_UNINITIALISED
Mar 22, 2023 7:28:26 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/397762?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:31:53 PM net.filebot.License lambda$verifyLicense$2
WARNING: Activate License [PX11167394] on [Wed Mar 22 19:31:53 ACDT 2023]
Mar 22, 2023 7:37:52 PM net.filebot.CachedResource error
WARNING: Resource not found: https://api.themoviedb.org/3/tv/164981 [404 Not Found]
Mar 22, 2023 7:37:52 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/164981?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:38:05 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/164981?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Mar 22, 2023 7:38:28 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction lambda$start$7
WARNING: Invalid Lookup: null [tv/164981?append_to_response=alternative_titles%2Ccontent_ratings%2Ckeywords]
Re: TV Naming Error 5.01 (Invalid Lookup)
Posted: 22 Mar 2023, 10:06
by rednoah
FileBot is clearly somehow mixing up TMDB and TVDB IDs.
Blue Bloods is indeed
TheTVDB::164981 but FileBot should be using
TheMovieDB::TV/32692 when doing TMDB lookups.
I have not been able to reproduce the issue though, simply processing a file with TMDB a few times, does not seem to be the issue, same thing for TVDB, same thing for switching between the two randomly. Can you always reproduce the issue that way? Perhaps there's another reason such as generated *.nfo files?
You'll want to use
Extended Attributes when processing previously processed files. That is the correct way of re-processing files and can likely serve as a workaround for the issue at hand. Please read
Re-organize previously organized files using local xattr metadata for details.
EDIT:
Does
xattr metadata look unusual for the file at hand?
Code: Select all
filebot -script fn:xattr "/path/to/files"
Re: TV Naming Error 5.01 (Invalid Lookup)
Posted: 22 Mar 2023, 10:48
by Pinhead
yes I can reproduce the error
, I even downgraded the Filebot to a lower version just in case.
so Screenshot 1 as yo can see I have already use Filebot to rename Season 01 and 02
https://imgur.com/a/oUEjgbv
Season 03
https://imgur.com/a/Mqpg0EP
as I suggested , when I rename a show that Filebot has never seen before on my computer
https://imgur.com/a/Ax8YvG2
works all ok.....
I even tried renaming a file with the rest of the season attached and it still would not.
https://imgur.com/a/evLF7XF
Sorry for the hassle
Re: TV Naming Error 5.01 (Invalid Lookup) (FileBot incorrectly uses TVDB ID for TMDB lookups)
Posted: 22 Mar 2023, 11:18
by rednoah
I see *.nfo files so that would be my first guess as to what the culprit might be, since I can't reproduce your *.nfo file text contents in my test file set. You could try copying a few video files to a separate test folder, see if that works, and try to narrow down the root cause of the issue from there.
If you can narrow down the culprit to one or more *.nfo files, please paste one of the *.nfo file text contents here so we can run tests. Likely the *.nfo file on the series folder level.
I've uploaded new builds with additional debug logging
(hopefully in the right places) to maybe get some more insight. Could you reproduce the issue with FileBot r9673 and then check the log for debug logging?
https://get.filebot.net/filebot/BETA/
EDIT:
Got it!
I can reproduce the issue by adding an *.nfo file like this to the series folder:
** this only works (or rather successfully doesn't work) if the files don't have xattr metadata and file paths don't have {tmdb-id} markers; since those are preferred over *.nfo files
How were your *.nfo files generated? By Kodi?
Please share the *.nfo file in your series folder so we can see the pattern.
EDIT 2:
FileBot r9675 likely fixes the issue.
Re: TV Naming Error 5.01 (Invalid Lookup) (FileBot incorrectly uses TVDB ID for TMDB lookups)
Posted: 22 Mar 2023, 21:41
by Pinhead
morning
magic
the .nfo files are generated by TinyMediaManager
but again I have been using that as long as I have been using Filebot.
Will give the updated filebot go
thanks for everything
.nfo file
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--created on 2023-03-22 13:38:02 - tinyMediaManager 4.3.9-->
<tvshow>
<title>Blue Bloods</title>
<originaltitle>Blue Bloods</originaltitle>
<showtitle>Blue Bloods</showtitle>
<sorttitle/>
<year>2010</year>
<rating>7.7</rating>
<userrating>0.0</userrating>
<votes>42505</votes>
<outline/>
<plot>Blue Bloods is a drama about a multi-generational family of cops dedicated to New York City law enforcement. Frank Reagan is the New York Police Commissioner and heads both the police force and the Reagan brood. He runs his department as diplomatically as he runs his family, even when dealing with the politics that plagued his unapologetically bold father, Henry, during his stint as Chief.</plot>
<tagline/>
<runtime>45</runtime>
<thumb aspect="poster">http://assets.fanart.tv/fanart/tv/164981/tvposter/blue-bloods-5212a93bb320d.jpg</thumb>
<thumb aspect="banner">http://assets.fanart.tv/fanart/tv/164981/tvbanner/blue-bloods-53e0b2b067ae0.jpg</thumb>
<thumb aspect="clearart">http://assets.fanart.tv/fanart/tv/164981/hdclearart/blue-bloods-5123d0d9c6584.png</thumb>
<thumb aspect="clearlogo">http://assets.fanart.tv/fanart/tv/164981/hdtvlogo/blue-bloods-5065ac1fe641b.png</thumb>
<thumb aspect="landscape">http://assets.fanart.tv/fanart/tv/164981/tvthumb/blue-bloods-5cd7ffd9596f2.jpg</thumb>
<thumb aspect="keyart">http://assets.fanart.tv/fanart/tv/164981/tvposter/blue-bloods-57991501596cb.jpg</thumb>
<thumb aspect="logo">http://assets.fanart.tv/fanart/tv/164981/hdtvlogo/blue-bloods-5065ac1fe641b.png</thumb>
<thumb aspect="characterart">http://assets.fanart.tv/fanart/tv/164981/characterart/blue-bloods-4feaba6ad8ad6.png</thumb>
<thumb aspect="poster" season="0" type="season">https://artworks.thetvdb.com/banners/v4/season/543296/posters/638799ae5f22b.jpg</thumb>
<thumb aspect="poster" season="1" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-57eac05947c14.jpg</thumb>
<thumb aspect="poster" season="2" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-57eac07ddc75d.jpg</thumb>
<thumb aspect="poster" season="3" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-57eac1a5ade1a.jpg</thumb>
<thumb aspect="poster" season="4" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-57eac1d7aeb46.jpg</thumb>
<thumb aspect="poster" season="5" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-57eac1fba8fe7.jpg</thumb>
<thumb aspect="poster" season="6" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-590b7dacc520d.jpg</thumb>
<thumb aspect="poster" season="7" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-59c1177f43dd3.jpg</thumb>
<thumb aspect="poster" season="8" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-5ba34dc8566ff.jpg</thumb>
<thumb aspect="poster" season="9" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-5e373af10e807.jpg</thumb>
<thumb aspect="poster" season="10" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-5e5cd6522fdf5.jpg</thumb>
<thumb aspect="poster" season="11" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-608efa9565c8b.jpg</thumb>
<thumb aspect="poster" season="12" type="season">http://assets.fanart.tv/fanart/tv/164981/seasonposter/blue-bloods-614f64cc77033.jpg</thumb>
<thumb aspect="poster" season="13" type="season">https://image.tmdb.org/t/p/original/ceqomvL0e1jGkJAPVWFlq2hGl7i.jpg</thumb>
<thumb aspect="banner" season="1" type="season">https://artworks.thetvdb.com/banners/seasonswide/164981-1.jpg</thumb>
<fanart>
<thumb>http://assets.fanart.tv/fanart/tv/164981/showbackground/blue-bloods-53fdeff5bbeb1.jpg</thumb>
</fanart>
<mpaa>14+</mpaa>
<certification>14+</certification>
<episodeguide>{"tmdb":"32692","tvrage":"25756","imdb":"tt1595859","zap2it":"EP01280105","tvdb":"164981"}</episodeguide>
<id>164981</id>
<imdbid>tt1595859</imdbid>
<tmdbid>32692</tmdbid>
<uniqueid default="false" type="tmdb">32692</uniqueid>
<uniqueid default="false" type="tvrage">25756</uniqueid>
<uniqueid default="false" type="imdb">tt1595859</uniqueid>
<uniqueid default="false" type="zap2it">EP01280105</uniqueid>
<uniqueid default="true" type="tvdb">164981</uniqueid>
<premiered>2010-09-24</premiered>
<status>Continuing</status>
<watched>false</watched>
<playcount/>
<genre>Drama</genre>
<genre>Crime</genre>
<genre>Thriller</genre>
<genre>Mystery</genre>
<studio>CBS</studio>
<country/>
<actor>
<name>Tom Selleck</name>
<role>Francis "Frank" Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/205171.jpg</thumb>
<profile>https://thetvdb.com/people/253814-tom-selleck</profile>
<tvdbid>253814</tvdbid>
</actor>
<actor>
<name>Donnie Wahlberg</name>
<role>Daniel "Danny" Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/205181.jpg</thumb>
<profile>https://thetvdb.com/people/255051-donnie-wahlberg</profile>
<tvdbid>255051</tvdbid>
</actor>
<actor>
<name>Bridget Moynahan</name>
<role>Erin Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/205191.jpg</thumb>
<profile>https://thetvdb.com/people/511727-bridget-moynahan</profile>
<tvdbid>511727</tvdbid>
</actor>
<actor>
<name>Will Estes</name>
<role>Jameson "Jamie" Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/205201.jpg</thumb>
<profile>https://thetvdb.com/people/271144-will-estes</profile>
<tvdbid>271144</tvdbid>
</actor>
<actor>
<name>Len Cariou</name>
<role>Henry Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/person/290962/5f988142950a1.jpg</thumb>
<profile>https://thetvdb.com/people/290962-len-cariou</profile>
<tvdbid>290962</tvdbid>
</actor>
<actor>
<name>Vanessa Ray</name>
<role>Eddie Janko</role>
<thumb>https://artworks.thetvdb.com/banners/person/472407/5f9881266ece3.jpg</thumb>
<profile>https://thetvdb.com/people/472407-vanessa-ray</profile>
<tvdbid>472407</tvdbid>
</actor>
<actor>
<name>Jennifer Esposito</name>
<role>Jackie Curatola</role>
<thumb>https://artworks.thetvdb.com/banners/actors/281291.jpg</thumb>
<profile>https://thetvdb.com/people/269590-jennifer-esposito</profile>
<tvdbid>269590</tvdbid>
</actor>
<actor>
<name>Sami Gayle</name>
<role>Nicole </role>
<thumb>https://artworks.thetvdb.com/banners/person/515821/5f9882bbb3a46.jpg</thumb>
<profile>https://thetvdb.com/people/515821-sami-gayle</profile>
<tvdbid>515821</tvdbid>
</actor>
<actor>
<name>Amy Carlson</name>
<role>Linda Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/297148.jpg</thumb>
<profile>https://thetvdb.com/people/329725-amy-carlson</profile>
<tvdbid>329725</tvdbid>
</actor>
<actor>
<name>Nicholas Turturro</name>
<role>Sgt. Anthony Renzulli</role>
<thumb>https://artworks.thetvdb.com/banners/actors/299780.jpg</thumb>
<profile>https://thetvdb.com/people/312914-nicholas-turturro</profile>
<tvdbid>312914</tvdbid>
</actor>
<actor>
<name>Marisa Ramirez</name>
<role>Maria Baez</role>
<thumb>https://artworks.thetvdb.com/banners/person/269359/5f9881097c5cc.jpg</thumb>
<profile>https://thetvdb.com/people/269359-marisa-ramirez</profile>
<tvdbid>269359</tvdbid>
</actor>
<actor>
<name>Tony Terraciano</name>
<role>Jack Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/461099.jpg</thumb>
<profile>https://thetvdb.com/people/8095849-tony-terraciano</profile>
<tvdbid>8095849</tvdbid>
</actor>
<actor>
<name>Andrew Terraciano</name>
<role>Sean Reagan</role>
<thumb>https://artworks.thetvdb.com/banners/actors/461100.jpg</thumb>
<profile>https://thetvdb.com/people/8096158-andrew-terraciano</profile>
<tvdbid>8096158</tvdbid>
</actor>
<actor>
<name>Gregory Jbara</name>
<role>Garrett Moore</role>
<thumb>https://artworks.thetvdb.com/banners/actors/465515.jpg</thumb>
<profile>https://thetvdb.com/people/312953-gregory-jbara</profile>
<tvdbid>312953</tvdbid>
</actor>
<actor>
<name>Abigail Hawk</name>
<role>Abigail Baker</role>
<thumb>https://artworks.thetvdb.com/banners/actors/465516.jpg</thumb>
<profile>https://thetvdb.com/people/394542-abigail-hawk</profile>
<tvdbid>394542</tvdbid>
</actor>
<actor>
<name>Robert Clohessy</name>
<role>Sid Gormley</role>
<thumb>https://artworks.thetvdb.com/banners/actors/465517.jpg</thumb>
<profile>https://thetvdb.com/people/269661-robert-clohessy</profile>
<tvdbid>269661</tvdbid>
</actor>
<actor>
<name>Will Hochman</name>
<role>Joe Hill</role>
<thumb>https://artworks.thetvdb.com/banners/v4/actor/9108692/photo/63f461e4c0f31.jpg</thumb>
<profile>https://thetvdb.com/people/9108692-will-hochman</profile>
<tvdbid>9108692</tvdbid>
</actor>
<trailer>plugin://plugin.video.youtube/?action=play_video&videoid=6bibezJkcxY&hd=1</trailer>
<dateadded>2010-09-24 00:00:00</dateadded>
<!--tinyMediaManager meta data-->
<user_note/>
</tvshow>
Re: TV Naming Error 5.01 (Invalid Lookup) (FileBot incorrectly uses TVDB ID for TMDB lookups)
Posted: 22 Mar 2023, 21:49
by Pinhead
further info
I also have a MacBook Pro with filebot 4.9.6 install. I have not updated this version. so I decided to try blue bloods, and it worked with no error..
it came from the same folder with the same .nfo files.....
sysinfo: F5
Code: Select all
FileBot 4.9.6 (r9125)
JNA Native: 6.1.2
MediaInfo: 21.09
Tools: fpcalc/1.5.1 7zz/21.06
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 17.0.2
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 4.3 GB Max Memory / 280 MB Used Memory
OS: Mac OS X (x86_64)
HW: Darwin Stephens-MacBook-Pro.local 19.6.0 Darwin Kernel Version 19.6.0: Tue Jun 21 21:18:39 PDT 2022; root:xnu-6153.141.66~1/RELEASE_X86_64 x86_64
STORAGE: apfs [/] @ 827 GB | afpfs [/Volumes/TV] @ 9 TB
DATA: /Users/pinhead/.filebot
Package: PKG
License: FileBot License PX11167394 (Valid-Until: 2070-01-12)
------------------- UPDATE AVAILABLE: FileBot 5.0.1 (r9665) --------------------
F7:
Code: Select all
Blue Bloods (2010)/Season 13/Blue.Bloods.S13E15.1080p.HEVC.x265-MeGusta.mkv {"@type":"Episode","seriesName":"Blue Bloods","season":13,"episode":15,"title":"Close to Home","airdate":{"year":2023,"month":3,"day":10},"id":9569170,"seriesInfo":{"database":"TheTVDB","order":"Airdate","language":"en-US","type":"TV Series","id":164981,"name":"Blue Bloods","aliasNames":["Blue Bloods - Crime Scene New York","Familia de Policías","執法尊家","Полицейска жилка","Blue Bloods – Crime Scene New York","Familia de policías (Blue Bloods)","Familia de policías","Farų šeima","Modrí templári","Sangue Azul","Spravedlnost v krvi","Sânge albastru","Zaprzysiężeni","Zsaruvér","Блакитна кров","Голубая кровь","Синя кръв","警察世家","警網急先鋒","블루 블러드"],"certification":"TV-14","startDate":{"year":2010,"month":9,"day":24},"genres":["Crime","Drama","Mystery","Thriller"],"network":"CBS","rating":8.2,"runtime":45,"status":"Continuing"}}
Re: TV Naming Error 5.01 (Invalid Lookup) (FileBot incorrectly uses TVDB ID for TMDB lookups)
Posted: 23 Mar 2023, 02:54
by rednoah
I see. FileBot 5.* is less strict about extracting IDs, and
tv/<ID> is the typical TMDB pattern.
Unfortunately,
fanart.tv uses
tv/164981 in the URL and so things go awry from there:
Code: Select all
<thumb aspect="poster">http://assets.fanart.tv/fanart/tv/164981/tvposter/blue-bloods-5212a93bb320d.jpg</thumb>
FileBot r9676 will catch and ignore bad IDs, and we'll see about making the
tv/<ID> pattern more restrictive with with false positives from
fanart.tv in mind.
Re: NFO files generated by TinyMediaManager break series lookup
Posted: 23 Mar 2023, 11:43
by Pinhead
thanks for all you help in this, and such a great program.
Re: NFO files generated by TinyMediaManager break series lookup
Posted: 26 Mar 2023, 16:44
by rednoah
UPDATE:
Invalid movie IDs in external NFO file may similarly break processing. FileBot r9689 fixes the issue on the movie side as well.
Code: Select all
Invalid Lookup: null [movie/tt0478557]