I have noticed a some possible bugs with this program. Sorry if this is a bit much. I have a background in programming/testing, so I apologize if I went a bit far here. It is possible that many of these issues are related to the CSV files which I use. I do not use ID's in the file, just the names of the titles. This seems to cause some erratic behavior. Note, I am using the Windows version (1.2) of the tool.
1) Someone mentioned the "random" selection of titles from the CSV. What I have found is that when there are no IDs, the selection seems to cause some titles to be skipped entirely. The titles that get skipped are consistent each time the script is run, so this looks like it may be verifyable behavior. However, there is some sort of threshold for this problem. It does not occur on a file with only 20-30 titles, but did it with one with 130+ titles.
2) When "just_refresh" is set to True, the program will process both the files in the CSV and all the titles it can find in the cache directory. This is counter-intuitive to beginning users. I think that the program should only process what is in the CSV and use the cache for pulling copies of pre-processed files.
3) When using "just_refresh" as True, the system still does IMDB content lookups on the titles. Its unlikely it will find new data, so why do these lookups all over again? This would really speed up the rebuild process.
3) If the NFO build flag is set False, the program will fail to copy the AVI build to the destination folders. The reason for this seems to be that it is trying to copy the file from the output folder to the output folder rather than from the cache.
4) When NFO builds are turned off, the TXT file is still created in the cache, but it is full of repeated path information.
5) If you select the option imdb_year_fetch as False, it will still look for the year. Only turning off NFO builds stops this behavior.
For the most part, I was able to work around these issues in various ways, but these fixes would really improve this useful tool.
A few feature requests:
1) Could you add a logfile parameter to the settings to output the results of the process to a log? When on Windows, I double click the binary to launch the scan I often miss errors because the window closes too fast. Of course, I can run it from CMD, but this would be useful.
2) Possibly allow caching of themoviedb.org URLs in the NFOs as well as IMDB? Just a thought. Alot of people using XBMC from the SVN are starting to use this resource.
3) If a connection/download attempt fails, it would be nicer to see this in a readable error instead of the mysterious stuff the DLL library dumps. Just a thought.
4) A command line option to allow use of a file dynamically. This would assist with various batching of files.
Thanks for taking the time to provide this tool.