i looked into it but lost interest after i noticed it needs a little more changes. im writing this down in case i will not touch this again or if someone else wants to take a look.
fix a bug that will crash the whole homwbrew upon opening the website
// Determine the type by looking at the file extension
// bool isVideo = foundFileName.compare(foundFileName.length() - 3, 3, "mp4") == 0;
// jsonObj["type"] = isVideo ? "video" : "screenshot";
jsonObj["type"] = "screenshot";
std::filesystem::path filePath = foundFileName;
if (filePath.extension() == ".mp4")
jsonObj["type"] = "video";
currently the "path" key inside the gallery content is missing, which will result in no images shown, even if the above homebrew-crashing bug is fixed. i am not quite sure if its because my emummc is RAW2 or because readdir is broken. i suggest you use std::filesystem to iterate through folders.
albumwrapper.hpp:19
emummc paths can be RAW2 (and probably RAW3,4,5 too). I only have one emummc and yet hekate formatted it this way.
index.html:37
change unpgk to fixed versions. this will fix current react and materialui issues
i looked into it but lost interest after i noticed it needs a little more changes. im writing this down in case i will not touch this again or if someone else wants to take a look.
makefile:68
allows the usage of std::filesystem
albuwrapper.cpp:351
fix a bug that will crash the whole homwbrew upon opening the website
currently the "path" key inside the gallery content is missing, which will result in no images shown, even if the above homebrew-crashing bug is fixed. i am not quite sure if its because my emummc is RAW2 or because readdir is broken. i suggest you use std::filesystem to iterate through folders.
albumwrapper.hpp:19
emummc paths can be RAW2 (and probably RAW3,4,5 too). I only have one emummc and yet hekate formatted it this way.
index.html:37
change unpgk to fixed versions. this will fix current react and materialui issues