Skip to content

file-location adding file locations#60

Merged
ClementJ18 merged 7 commits intodevelopfrom
file-location
May 20, 2025
Merged

file-location adding file locations#60
ClementJ18 merged 7 commits intodevelopfrom
file-location

Conversation

@ClementJ18
Copy link
Owner

@ClementJ18 ClementJ18 commented May 18, 2025

Based on #59

@ClementJ18 ClementJ18 marked this pull request as draft May 18, 2025 22:40
@ClementJ18 ClementJ18 marked this pull request as ready for review May 19, 2025 10:02
@HeroponRikiBestest
Copy link

HeroponRikiBestest commented May 20, 2025

See my comment on #61; additionally, though, even if this isn't ready yet, could it still be used okay? Just asking since even if it would be i.e 12 or 24 hours before this PR is fully finished, it would make a big difference to me if I could still start using it now.

Also, how would I get a file's game name with this PR now? Do i have to check [file].location[0] == "Games", then retrieve [file].location[1]?

@ClementJ18
Copy link
Owner Author

ClementJ18 commented May 20, 2025

You can probably use this branch, I don't think I'll make any big changes. Location is a list of thumbnail, so you can iterate over and check the thumbnail type until you get to a game one.

https://moddb.readthedocs.io/en/stable/boxes.html#moddb.boxes.Thumbnail.type

@ClementJ18 ClementJ18 merged commit aefe68b into develop May 20, 2025
1 check failed
@ClementJ18 ClementJ18 deleted the file-location branch May 20, 2025 17:47
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.

2 participants