crocs-muni / SED-Storage-Visualiser

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Do not require consecutive driveX.json numbers #8

Open mbroz opened 2 months ago

mbroz commented 2 months ago

It would be nice if I can have two numbering sections for collected JOSN files, for example

Unfortunately, code now requires consecutive sequence for JSON naming, without any gaps.

Maybe just read all *json files and index it just by name-sorted offset?

Also name prefix (drive*) should not be hardcoded on multiple places.

matszabo commented 1 month ago

AFAIK numbering gaps should work fine now. It used to be an issue a few months then but I fixed it. Screenshot from 2024-09-08 17-15-03

I'll definitely give the change a thought and try to come up with something more versatile.