Steeeephen / LAVA

LoL Automated Video Analytics: Open-Source VoD Analytics Tool for League of Legends
https://github.com/Steeeephen/LAVA/wiki
Apache License 2.0
27 stars 2 forks source link

(2.3.0): Refactor Input Formatting #24

Closed Allan-Cao closed 1 year ago

Allan-Cao commented 1 year ago

Instead of having the user define if the video is a local file/playlist, we can check if the "URL" is a youtube link and then determine these in the code. As well, youtubesearchpython is now deprecated, and the functionality we were using was all being handled by youtube-dl anyways, so I refactored the youtube code to use youtube-dl.

Working with the code base, I think we should reduce the complexity of Lava.py and abstract away a lot of the functionality in the Lava.py file. This will help in maintaining the codebase. I've also run into a lot of issues with the header tracking system, and if possible, the header system should be able to run on new interfaces without the user having to create new tracking points for new ones. I will create issues detailing these and hopefully find the time to work on them!