2018-10-13, 05:15
Great work! I love that it works with MySQL
My only problem now is that I went through and "sorted" the contents of some Extras folders into separate subfolders (e.g. "Alternative Versions" and "Clips"). I am not seeing any of those that I modified, so I assume that only certain sub folders are scanned? The official wiki led me to believe that recursive scanning was turned on by default (per some of the examples, e.g. "3D Verison\BDMV\index.bdmv" – it wasn't clear what "a properly structured 'Extras' directory" meant).
Would it be possible to enable recursive scanning – either wholesale scanning of any folder, or specific folders (perhaps in a similar manner to the option for excluding specific file extensions)? I want to keep some files separate (for organizational neatness), and I also like having certain files all share the same keywords within their folder hierarchy (for searching purposes).
I may adopt a similar tactic to one described above (@"chrissix") where multiple add-ons are in play, but I would prefer to use the one you have built, @smitchell6879.
Thank you, either way! Keep up the good work
EDIT: From the sound of it (sorry, only skimmed during first read), you seem to be pretty tied up at the moment. I see the code involved in iteration.py, but I don't know python yet, so I would probably just break things. I think if you added an else clause to verifySub and then called verifyDir again (in place), that might do it. Then again, it may be better/easier to add subfolder support, that way you could have "Extras -> Season ##" support for TV Shows. If I crack it on my own, I will send you the code or submit a pull request.
My only problem now is that I went through and "sorted" the contents of some Extras folders into separate subfolders (e.g. "Alternative Versions" and "Clips"). I am not seeing any of those that I modified, so I assume that only certain sub folders are scanned? The official wiki led me to believe that recursive scanning was turned on by default (per some of the examples, e.g. "3D Verison\BDMV\index.bdmv" – it wasn't clear what "a properly structured 'Extras' directory" meant).
Would it be possible to enable recursive scanning – either wholesale scanning of any folder, or specific folders (perhaps in a similar manner to the option for excluding specific file extensions)? I want to keep some files separate (for organizational neatness), and I also like having certain files all share the same keywords within their folder hierarchy (for searching purposes).
I may adopt a similar tactic to one described above (@"chrissix") where multiple add-ons are in play, but I would prefer to use the one you have built, @smitchell6879.
Thank you, either way! Keep up the good work
EDIT: From the sound of it (sorry, only skimmed during first read), you seem to be pretty tied up at the moment. I see the code involved in iteration.py, but I don't know python yet, so I would probably just break things. I think if you added an else clause to verifySub and then called verifyDir again (in place), that might do it. Then again, it may be better/easier to add subfolder support, that way you could have "Extras -> Season ##" support for TV Shows. If I crack it on my own, I will send you the code or submit a pull request.