Skip to content

Conversation

@neuromancer
Copy link
Contributor

@neuromancer neuromancer commented May 14, 2025

I started to add the Zoom Platform to Lutris. I'd appreciate feedback and hope we can clean things up together to get this integrated.

image

@eikeno
Copy link
Contributor

eikeno commented May 14, 2025

seems to be type issues, haven't tested but seems should be:

-    def get_library(self) -> List[dict]:
+    def get_library(self) -> Dict:

-    def get_installer_url(self, game_slug: str, appid: str) -> str:
+    def get_installer_url(self, game_slug: str, appid: str) -> List:

you can spot this by using a venv then

make dev
make mypy
# or make check to make all checks

Hope this helps and good luck, seems interesting (despite not knowing/using this platform) 👍

@neuromancer
Copy link
Contributor Author

Removed most of the hacks, now the code looks very similar to the gog one, with a few simplifications

@neuromancer neuromancer changed the title [WIP] Zoom Platform runner/service implementation Zoom Platform runner/service implementation May 15, 2025
@neuromancer
Copy link
Contributor Author

Just finished added the code to download extra content from games and it seems to work. I don't plan to implement any other feature. This code is ready for an initial review.

@neuromancer
Copy link
Contributor Author

I had to rename to zoomplatform to make sure umu fixes are working as expected.

@neuromancer neuromancer changed the title Zoom Platform runner/service implementation ZOOM Platform runner/service implementation May 18, 2025
Copy link
Contributor

@danieljohnson2 danieljohnson2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My main takeaway here is that you haven't separated Zoom for GOG well enough. There's some overlap, but mostly there's a bunch of leftovers from the GOG service that you do not need.

If you have methods that you yourself do not call, search the code base to see if anybody does call that method. If it is only the GOG service, you don't need that method.

Copy link
Contributor

@danieljohnson2 danieljohnson2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found nothing substantial, just a few little things. I don't think there's that much difference between this and the previous Zoom effort, really.

"""Return a mapping of available services"""
_services = {
"gog": GOGService,
"zoomplatform": ZoomService,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have expected the service name to be "zoom" here. What is up with "platform"?

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.

3 participants