Commit Graph

12 Commits

Author SHA1 Message Date
fcf71d6fea Gamelist performance improvements
* Separated /gamelist to 2 calls: /gamelist and /gamelist/thumbnails.
* Refactored nested for-loop with a next() when looping artwork

[fixes #20]
2023-09-20 15:13:42 +02:00
4e76be200a Merge pull request 'Added direct download as zip' (#28) from download_as_zip into master
Reviewed-on: https://git.odecif.net:3000/odecif/bcns-gameDistributionSystem/pulls/28
2023-09-19 02:23:56 +02:00
9b7da75154 Added direct download as zip
[fix #22]
2023-09-19 02:22:16 +02:00
15df5d17cd Removed comment
[fix #24]
2023-09-19 01:05:29 +02:00
210956523c requirements.txt and JSONEncode
Forgot JSONEncode in /site and added python requirements.txt files.

[fix #26] [fix #24]
2023-09-19 01:02:05 +02:00
ad3fd6a195 JSONEncoder and manual
Focus on remving deprecated flas.JSONEncoder and replacing it with
json.JSONEncoder.

* Exception handling when API is not accessible [fix #25]
* flask.JSONEncoder deprecated [fix #24]
* Show manual (if present) [fix #23]
* Small touch-ups
2023-09-19 00:47:31 +02:00
d54da57929 Sorting gamelist alphabetically
Fixes #13
2022-10-31 09:38:46 +01:00
dee805633e Hide linuxinstructions when missing
Fixes #3
2022-10-28 15:37:53 +02:00
9a887fb883 Small config cleanup
Removed apihost and replaced with api
2022-10-28 11:21:49 +02:00
909e01c373 Gamelist in memory
Instead of always scanning the game folder for nfo's when presenting the
gamelist it is now loaded once into memory and then accessed from there.
2022-10-28 11:04:27 +02:00
8b189fa95e Replace PIL with cv2
In order to increase performance of resizing images and sending them.
2022-10-26 17:30:42 +02:00
0f74212063 Uploaded to gitea 2022-10-26 09:17:21 +02:00