Remove type field from database format, update schemas and scripts

This commit is contained in:
eduard256
2026-03-23 16:08:56 +00:00
parent efc10f8b24
commit 0b9be5b711
3635 changed files with 2127 additions and 25113 deletions
+1 -3
View File
@@ -64,7 +64,6 @@ def main():
for stream in data.get("streams", []):
key = (
stream.get("url", ""),
stream.get("type", ""),
stream.get("protocol", ""),
stream.get("port", 0),
)
@@ -81,10 +80,9 @@ def main():
# Generate each preset
for preset_id, name, description, limit in PRESETS:
streams = []
for (url, stype, protocol, port), brands in sorted_patterns[:limit]:
for (url, protocol, port), brands in sorted_patterns[:limit]:
entry = {
"url": url,
"type": stype,
"protocol": protocol,
"port": port,
"brand_count": len(brands),