Kodi Community Forum

Full Version: Kodi not ignoring brackets when scanning files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I thought Kodi was suppose to ignore everything after (Year) when scanning a file but it's not. I currently name my movies like this:
Quote:Movie (Year) - [BluRay] [AAC 5.1] [1920x1080]

When I scan for new files kodi just skips over all my movies that are named as above, I have to manually scan the file in.

Why are the square brackets not being ignored?
Quote:Why are the square brackets not being ignored?
Could you provide the link where it states that?

It turns out that TMDB has made some changes to their API. The Kodi team have just yesterday released a fix for this issue. I am wondering if you were a victim of this issue as the symptoms seem similar.

Here is some further reading on the issue if you are interested... https://forum.kodi.tv/showthread.php?tid=315813

Can you check your TMDB addon and ensure you have updated to the latest version 3.9.4. Go to Add-Ons>My Add-Ons>Information Providers>Movie Information. Click "The Movie Database" and then select update.

Let us know if that resolves the problem

If you don't have the update yet, you can download from here and install as a zip via Add-ons... https://kodi.tv/addon/movie-information/movie-database
Quote:Could you provide the link where it states that?

I can't remember where I read that brackets are suppose to be ignored, it was a while ago that I saw it on the forums somewhere.

This isn't a new problem, I've had it for over a year, I've just gotten around to doing something about it now. So it's nothing to do with TMDB api.

I even tried using advancedsettings.xml to fix my issue but I couldn't get it to work.
It is based on the directory name, so how about a debug log (wiki)
That is not a debug log. You need to enable debugging in Settings>System Settings>Logging.

And you need to replicate the problem. So once you enable debugging, restart Kodi, then run an update library.
https://paste.ubuntu.com/24799313/

The movie I tried to add was titled 'The Founder (2016) - [AC3 5.1] [1912x816].'
You'll have to add a custom <cleandatetime> expression to your advancedsettings.xml in order to reflect your naming convention. Maybe an additional <cleanstrings> expression is needed as well. Please check http://kodi.wiki/view/advancedsettings.x...andatetime for details.
Hello mkortstiege

Is that (fasthash) an issue?
Nope. It's the folder/file name. The infoscanner is passing "The Founder (2016) -" to the scraper.
Renaming the folder to "The Founder (2016)" should work and fits nicely in the overall naming schema.
Thank you.

I was reading your comments here and thought it might be relevant... https://forum.kodi.tv/showthread.php?tid...pid1928785

---Edit---

Of course you know that. It was more for my benefit Smile
(2017-06-07, 10:58)mkortstiege Wrote: [ -> ]Renaming the folder to "The Founder (2016)" should work and fits nicely in the overall naming schema.

I renamed the folder to "The Founder (2016)" and it still skips over it.
Debug log might tell what's going on.
it's in Post#7
Pages: 1 2