rodainas 191 Posted October 3, 2020 Posted October 3, 2020 (edited) I set up my windows server with all my media folders, every folder was recognized but one, I use local metadata and images and media is properly renamed. Movie (year) / Movie (year) quality.mkv Movie (year) quality.nfo poster.jpg I know it is right because the other folders use the same naming and are recognized by emby server. This particular folder is scrapped using movie title and metadata in spanish (I use tinymediamanger with the spanish option for movies that are dubbed in this language). Emby doesnt recognize a single entry on this folder. I did a test and selected some movies and moved to another folder to my surprise emby recognized this movies, after this I added another block of movies and emby didnt recognize any entry of the new block. So I understand the problem has to be with some character/s in a movie/s filename that is blocking emby for recognizing the rest of the movies, even if the other movies on the folder dont have this special/s character/s. Am still filtering movies by block to find the culprit because I dont have any definitive conclusion. I previously used Kodi and never faced this problem with movie recognition. If someone has an idea I would greatly appreciate it. Edit: Finally found the culprit, of 1732 entries, 3 movies, on the first case the .mkv name didnt correspond to the folder name, for the second and third movie, there was no .nfo file (am using local metadata), so the conclusion is when Emby finds this problems it doesnt try to scan the rest of the library, it simply doesnt work if you dont find those entries, a little strict on my opinion but it helps clear problems with the library. Edited October 3, 2020 by rodainas
Luke 42080 Posted October 3, 2020 Posted October 3, 2020 Hi, glad you figured it out. Thanks for the feedback !
Carlo 4561 Posted October 3, 2020 Posted October 3, 2020 Luke this is sort of a problem in that anything like this that causes an error doesn't show up in the logs and abruptly stops scanning of the library. Can you add some additional try-catch blocks in the scanning section of code to catch these types of issues to log and to continue scanning? Same type of thing happens if you have a corrupt file or folder as well and it can be very difficult to find.
Luke 42080 Posted October 4, 2020 Posted October 4, 2020 It does not stop the library scan. We'd have to look at a specific example. Thanks.
Carlo 4561 Posted October 4, 2020 Posted October 4, 2020 It stops it on the library with an issue. You can clearly see this happen with a bad/corrupted file. The scan process moves on to the next library. Nothing is reported about the bad file in the logs. The error isn't caught in the lower scan routines but higher up in the chain. It's similar to the issues with notifications causing issues and abruptly halting processing when a plugin messes up or isn't configured. The notification/activity chain is broken.
rodainas 191 Posted October 4, 2020 Author Posted October 4, 2020 (edited) To be more specific about the scanning, I created one library with 3 folders and another library with another 3 folders. It is a considerably big library (30TB), at the end of the scanning out of 6 folders, 5 were recognized. The 6 one wasn’t recognized because of this 3 bad entries, I had to disarm the folder and do mini scans with block of movies to find the bad entries, took some hours. This could be less painful if emby just skipped the bad entries and scanned into the library the other good 1700 movies contained in that folder, and of course showed on the log which where the entries that couldn’t be scanned. Thanks for your support. Edited October 4, 2020 by rodainas
Carlo 4561 Posted October 6, 2020 Posted October 6, 2020 Doesn't change the fact the scanning is stopping and not logging a reason but you should check out and use the file/folder naming in our KB article https://support.emby.media/support/solutions/articles/44001159102-movie-naming Ideally every movie is in it's own folder. 30 TB in 6 folders isn't ideal at all.
rodainas 191 Posted October 8, 2020 Author Posted October 8, 2020 (edited) The KB naming method is the one am using as I said in the OP, the 6 folders am referring are the master folders (Movies, TV Shows, Anime, Anime Movies, Dubbed TV Shows, Dubbed Movies). Sure thanks @Luke I found the 3 movies that were causing the problem with the scanning. Edited October 8, 2020 by rodainas
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