Skip to content

Major refactoring of the code base#23

Merged
aanderse merged 15 commits intoaanderse:masterfrom
AmineI:refactor
Apr 29, 2020
Merged

Major refactoring of the code base#23
aanderse merged 15 commits intoaanderse:masterfrom
AmineI:refactor

Conversation

@AmineI
Copy link
Copy Markdown
Collaborator

@AmineI AmineI commented Apr 12, 2020

Essentially eliminates duplicate code and document it

There is a commit adding whitespaces and more to follow Python's official PEP8 conventions. I think it can be easily reverted if you prefer to keep your own styling.

Fixes #21, fixes #9 .

I would recommend reviewing each commit individually, as Github seems a bit lost in the full changelist.

All changes were tested in Kodi on my Windows machine, besides Linux installed games detection (I have tested it manually in the console with a registry.vdf file found online, but I'd still prefer a real test to be done on a Kodi install)

@aanderse
Copy link
Copy Markdown
Owner

@AmineI wonderful! I'll test this today or tomorrow and merge. I really appreciate your work on this plugin 🎉

@AmineI
Copy link
Copy Markdown
Collaborator Author

AmineI commented Apr 12, 2020

You're welcome, hopefully that will make the plugin easier to improve and maintain, and more developer friendly.

Don't hesitate to ask me if a change I made doesn't seem logical to you, and I'll explain/add comments / revert :) .

Comment thread resources/steam.py Outdated
@AmineI AmineI requested a review from aanderse April 28, 2020 01:09
@aanderse aanderse merged commit 252e4e8 into aanderse:master Apr 29, 2020
@aanderse
Copy link
Copy Markdown
Owner

Amazing work! Thank you for your time and energy on this 🎉 I've extended an invite on this repo to you if you're interested.

@AmineI AmineI deleted the refactor branch May 1, 2020 16:52
@AmineI
Copy link
Copy Markdown
Collaborator Author

AmineI commented May 5, 2020

Amazing work! Thank you for your time and energy on this 🎉 I've extended an invite on this repo to you if you're interested.

My pleasure !

I accepted the invite, thanks ! I'll continue sending PRs and not directly writing to master of course, but I'll be sure to continue watching any issues or PR coming on this repo 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No context menu for items in the "recently played" view plugin crashes when there are no games in Steam library

2 participants