mmmmmtasty / SportScanner

Scanner and Metadata Agent for Plex that uses sportdb
109 stars 31 forks source link

Make search for SportScanner.txt OS independent. Issue #26 #36

Closed jbalcorn closed 2 years ago

jbalcorn commented 2 years ago

The code to look for the SportScanner.txt is Windows dependent. This change uses the python libraries to make the search work on any OS.

The consequence of this was that on Linux, the read of the SportScanner.txt file was actually reading EVERY video file and looking for the XXYY text. We never knew that until I looked at Issue #26 and realized that he was crashing because the file he was reading was so large.