Refactored server/db.js and all routes to use asynchronous fs operations, refactored m3uParser and epgParser to use streaming (via readline and sax) to prevent errors with large files, updated server/routes/proxy.js to use native stream piping for images and video, reducing latency and memory overhead

This commit is contained in:
Trevor Mears
2025-12-30 00:34:55 -08:00
parent 3b0d311756
commit d63c9c37d7
9 changed files with 366 additions and 311 deletions
+2 -1
View File
@@ -10,6 +10,7 @@
},
"dependencies": {
"express": "^4.18.2",
"sax": "^1.4.3",
"xml2js": "^0.6.2"
},
"optionalDependencies": {
@@ -18,4 +19,4 @@
"engines": {
"node": ">=18.0.0"
}
}
}