New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Library Importer repeatedly processes the same files #351
Comments
There is a case difference in the filenames which makes them not match doing the String based naming comparison. It only matches when it does the File based comparison when trying to actually add the file. If you move them out of the directory, do a rescan, then move them back and scan again it won't do this anymore because then it'll be storing them with the current filename. The code could probably be changed to resolve this...but IIRC, there's a more intensive technique used when trying to add the MediaFile which ensures we're not duplicating something based on a case difference when the OS doesn't care about case, and trying to do that during the scanning process might have then caused scanning to use too much CPU. Sat 8/12 13:04:31.047 [LibraryImporter@dff67a] testFile=Shaun the Sheep s05e08 Dangerous Deliveries.mp4 |
Thanks, that got rid of those already existing file path messages. Now I'm seeing a lot of Redetecting format for TV files on another different group of files on every library import scan. It's always the same files. I'll run another reindex and see if that helps I only noticed this stuff because I was looking in the logs to try and determine why I was getting regular (hourly) stuttering in playback of Blu-Rays off my NAS and discovered that it coincided with the Library Import scan |
One thing that I have found that is common for all these files repeatedly doing the redetecting format is that they are all TV Files that are in an imported videos directory, but it's not all the TV files that are in the imported videos directories that are doing it. |
OK. these redetecting format messages only appear when triggering a scan via STV (Setup/Scan Imported Media). They don't occur when the scheduled scan runs. |
I'm seeing a large number of files that show up during the regular library import process.
[LibraryImporter@dff67a] testFile=
[LibraryImporter@dff67a] Attempted to add already existing file path to database:
[LibraryImporter@dff67a] New Library File MediaFile
Importer.txt
It seems to be the same 100 or so files on every scan. I've done a full rescan/redetect of the library, but the only thing I can see that is common is that they are all .mp4 files
The text was updated successfully, but these errors were encountered: