-
Notifications
You must be signed in to change notification settings - Fork 48
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
Code structure #94
Comments
I think we first need to increase the quality of the code in the current single file. |
And we need more/better tests as well. We don't have any unit tests at the moment. |
We cannot just move it to
|
Currently we have a function to get us specific paths, and that function als creates the directory if it does not exist. We should store those paths in a variable, and only create the directory when it is needed where it is needed. That will be more efficient, and the code will be easier to understand. |
Half of the restructuring has been implemented (out of necessity). |
Replacing kodi-six is part of this IMO #102 |
The code in inputstreamhelper.py is starting to become rather complex and it's time we start splitting parts into different files. The new API @dagwieers implemented definietely belongs in its own file, and there are probably other parts that we could split up as well to make everything look a bit cleaner. I have something like this in mind:
In the future, we could also split up the logging code and make use of the Python logging module. Another issue should be opened to discuss this though! :-)
-- Thoughts?
The text was updated successfully, but these errors were encountered: