[skip ci] Feat: Add OPDS Configs to Server Settings tab (#945)

* Add OPDS config settings

* Address PR comments

* Update serverVersion for PREVIEW

* Add "opdsUseBinaryFileSizes" setting

---------

Co-authored-by: schroda <50052685+schroda@users.noreply.github.com>
This commit is contained in:
Shirish
2025-07-12 04:11:59 +05:30
committed by GitHub
parent 74f0fec02d
commit cdee6f4efa
6 changed files with 218 additions and 10 deletions

View File

@@ -81,8 +81,8 @@
"confirmation_other": "You are about to download {{count}} chapters.\nSuwayomi is not a mass downloader and too many downloads can get you banned from sources and/or cause performance issues.",
"error_one": "Could not add the download",
"error_other": "Could not add downloads",
"next_one": "Next chapter",
"next_other" : "Next {{count}} chapters",
"next_one": "Next chapter",
"next_other": "Next {{count}} chapters",
"success_one": "Download added",
"success_other": "{{count}} downloads added",
"unread": "$t(global.filter.label.unread)"
@@ -1377,6 +1377,55 @@
}
}
},
"opds": {
"binary_file_sizes": {
"label": {
"description": "Display file sizes in binary (KiB, MiB, GiB) instead of decimal (KB, MB, GB)",
"title": "Binary file size",
"unit_one": "item",
"unit_other": "items"
}
},
"chapter_sort_order": {
"label": {
"description": "Choose the order in which chapters are displayed.",
"title": "Chapter sort order"
}
},
"enable_page_read_progress": {
"label": {
"description": "Track and update your reading progress by page for each chapter during page streaming",
"title": "Enable page read progress"
}
},
"items_per_page": {
"label": {
"description": "Number of items per page in OPDS feeds (e.g., Library History, Manga Chapters). \nHigher values may affect client performance.",
"title": "Items per page",
"unit_one": "item",
"unit_other": "items"
}
},
"mark_as_read_on_download": {
"label": {
"description": "Automatically mark chapters as read when you download them.",
"title": "Mark chapters as read on download"
}
},
"show_only_downloaded_chapters": {
"label": {
"description": "Filter manga feed to display only chapters you have downloaded.",
"title": "Show only downloaded chapters"
}
},
"show_only_unread_chapters": {
"label": {
"description": "Filter manga feed to display only chapters you havent read yet.",
"title": "Show only unread chapters"
}
},
"title": "OPDS"
},
"requests": {
"sources": {
"parallel": {