[RFC] Episodes in episodes.json out of sequence; breaks e-reader
The current episodes.json looks like this:
[
{
"name": "ep09_The-Remedy",
"total_pages": 8,
"translated_languages": [
"bn",
"kr",
"sv",
"nl",
...
Every episodes are placed out of order. This breaks the e-reader, because the file path consists of both episode name and index, and e-reader indexes episodes in order of appearance.
The reason I'm not adapting the app for this is because the json file has no explicit episode index. Since there's no index, it's reasonable to expect the episodes to be in sequence, and it was until recent update broke it. I'm hesitant to parse the name
for an index since the schema is gonna change once it hits the 100th episode. It's far off but I'm trying not to bet on that.
I request a temporary revert for the live system (to reset e-readers) and rewriting the generation script to preserve episode order. If you'd like to discuss potential json schema change please comment here as well.
related: #11