update logos, and image decoder settings in config

This commit is contained in:
zefie
2026-04-26 15:23:34 -04:00
parent afa557ae37
commit 14ab33026e
7 changed files with 286 additions and 19 deletions

View File

@@ -22,8 +22,6 @@
"cgi_enabled": false, // Disable CGI by default
"php_enabled": false, // Disable PHP by default
"php_binpath": "php-cgi",
"decode_unsupported_images": true, // Attempt to decode images WebTV doesn't support into JPG/ALF/GIF
"decode_unsupported_images_quality": 75, // JPEG quality for decoded PNGs, 0-100 lower is worse quality but smaller files.
"SessionStore": "SessionStore", // Where we store account (session) data. Best left unchanged.
"SharedROMCache": "SharedROMCache", // Shared ROMCache (wtv-service:/ROMCache/, where wtv-service is any configured service). Found under service vault. Best left unchanged.
"enable_shared_romcache": true, // Disabling this will cause a lot of problems without manual intervention. Best left unchanged.
@@ -112,7 +110,23 @@
Each level of shenanigans includes the previous level (eg 5 will also disable filters like 4)
See WTVShenanigans.js for more info.
*/
"shenanigans": false
"shenanigans": false,
"image_decoder": {
"enabled": true,
"jpg_quality": 75,
"image_formats": [
"image/png",
"image/svg+xml",
"image/avif",
"image/tiff",
"image/webp"
],
"max_height": 0,
"max_width": 640,
"max_file_size": 524288,
"jpeg_interval": 5, // lower quality by this amount to try to lower filesize
"max_quality_tries": 5 // try to decode up to this many times, reducing quality each time, until the file is under the max_file_size. After this many tries, it will error out rather than sending an oversized file to the client.
}
},
"services": {
// service definitions
@@ -218,7 +232,7 @@
"flags": "0x00000001",
"privileged": true,
"send_tellyscripts": true, // Best left untouched
"send_tellyscript_to_mame": false,
"send_tellyscript_to_mame": true,
"dialin_number": 18006138199,
"dns1ip": "10.0.0.50",
"dns2ip": "8.8.8.8",