From d969f434a13b7c51134a0630d017e6d0fda216c9 Mon Sep 17 00:00:00 2001 From: ZTF-Zeiram Date: Sat, 6 Dec 2025 03:44:12 +0000 Subject: [PATCH] Upload files to "test-config" --- test-config/customize.py.json | 15 ++ test-config/dynamic.pickle.json | 14 ++ test-config/global.py.json | 51 +++++ test-config/gui.json | 387 ++++++++++++++++++++++++++++++++ test-config/gui.py.json | 76 +++++++ 5 files changed, 543 insertions(+) create mode 100644 test-config/customize.py.json create mode 100644 test-config/dynamic.pickle.json create mode 100644 test-config/global.py.json create mode 100644 test-config/gui.json create mode 100644 test-config/gui.py.json diff --git a/test-config/customize.py.json b/test-config/customize.py.json new file mode 100644 index 0000000..a91c2d6 --- /dev/null +++ b/test-config/customize.py.json @@ -0,0 +1,15 @@ +{ + "disabled_plugins": { + "__class__": "set", + "__value__": [] + }, + "enabled_plugins": { + "__class__": "set", + "__value__": [] + }, + "filetype_mapping": {}, + "plugin_customization": {}, + "plugins": { + "Embed Comic Metadata": "/root/.config/calibre/plugins/Embed Comic Metadata.zip" + } +} \ No newline at end of file diff --git a/test-config/dynamic.pickle.json b/test-config/dynamic.pickle.json new file mode 100644 index 0000000..a066e47 --- /dev/null +++ b/test-config/dynamic.pickle.json @@ -0,0 +1,14 @@ +{ + "sort_history": [ + [ + "timestamp", + false + ], + [ + "timestamp", + false + ] + ], + "welcome_wizard_device": "default", + "welcome_wizard_was_run": true +} \ No newline at end of file diff --git a/test-config/global.py.json b/test-config/global.py.json new file mode 100644 index 0000000..ddf9023 --- /dev/null +++ b/test-config/global.py.json @@ -0,0 +1,51 @@ +{ + "add_formats_to_existing": false, + "case_sensitive": false, + "check_for_dupes_on_ctl": false, + "database_path": "/root/library1.db", + "filename_pattern": "(?P.+) - (?P<author>[^_]+)", + "input_format_order": [ + "EPUB", + "AZW3", + "MOBI", + "LIT", + "PRC", + "FB2", + "HTML", + "HTM", + "XHTM", + "SHTML", + "XHTML", + "ZIP", + "DOCX", + "ODT", + "RTF", + "PDF", + "TXT" + ], + "installation_uuid": "e07ab65e-a8db-4bb3-872a-5cc7ca6788aa", + "isbndb_com_key": "", + "language": "en", + "library_path": "/root/Calibre Library", + "limit_search_columns": false, + "limit_search_columns_to": [ + "title", + "authors", + "tags", + "series", + "publisher" + ], + "manage_device_metadata": "manual", + "mark_new_books": false, + "migrated": false, + "network_timeout": 5, + "new_book_tags": [], + "numeric_collation": false, + "output_format": "epub", + "read_file_metadata": true, + "saved_searches": {}, + "swap_author_names": false, + "use_primary_find_in_search": true, + "user_categories": {}, + "worker_process_priority": "normal" +} \ No newline at end of file diff --git a/test-config/gui.json b/test-config/gui.json new file mode 100644 index 0000000..cb44854 --- /dev/null +++ b/test-config/gui.json @@ -0,0 +1,387 @@ +{ + "action-layout-toolbar": [ + "Add Books", + "Edit Metadata", + null, + "Convert Books", + "View", + null, + "Store", + "Donate", + "Fetch News", + "Help", + null, + "Preferences", + "Remove Books", + "Choose Library", + "Save To Disk", + "Connect Share", + "Tweak ePub", + "Embed Comic Metadata" + ], + "basic_metadata_widget_splitter_state": { + "__class__": "bytearray", + "__value__": "AAAA/wAAAAEAAAADAAAA9wAAAXoAAAEKAf////8BAAAAAQA=" + }, + "book_list_pin_splitter_state": { + "__class__": "bytearray", + "__value__": "AAAA/wAAAAEAAAACAAABAAAAAEYA/////wEAAAABAA==" + }, + "cover_grid_background": { + "dark": [ + 45, + 45, + 45 + ], + "dark_texture": null, + "light": [ + 80, + 80, + 80 + ], + "light_texture": null, + "migrated": true + }, + "custom_colors_for_color_dialog": [ + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ], + [ + 255, + 255, + 255, + 255 + ] + ], + "geometry-of-calibre_main_window_geometry": { + "frame_geometry": { + "height": 1032, + "width": 1920, + "x": -3, + "y": -30 + }, + "full_screened": false, + "geometry": { + "height": 999, + "width": 1914, + "x": 0, + "y": 0 + }, + "maximized": true, + "normal_geometry": { + "height": 999, + "width": 1914, + "x": 0, + "y": 0 + }, + "qt": { + "__class__": "bytearray", + "__value__": "AdnQywADAAD////9////4gAAB3wAAAPpAAAAAAAAAAAAAAd5AAAD5gAAAAACAAAAB4AAAAAAAAAAAAAAB3kAAAPm" + }, + "screen": { + "depth": 32, + "device_pixel_ratio": 1.0, + "geometry_in_logical_pixels": { + "height": 1080, + "width": 1920, + "x": 0, + "y": 0 + }, + "index_in_screens_list": 0, + "manufacturer": "weston", + "model": "rdp", + "name": "rdp-0", + "serial": "", + "size_in_logical_pixels": { + "height": 1080, + "width": 1920 + }, + "virtual_geometry": { + "height": 1080, + "width": 3840, + "x": 0, + "y": 0 + } + } + }, + "geometry-of-metasingle_window_geometry3": { + "frame_geometry": { + "height": 1063, + "width": 1856, + "x": -3, + "y": -30 + }, + "full_screened": false, + "geometry": { + "height": 1030, + "width": 1850, + "x": 0, + "y": 0 + }, + "maximized": false, + "normal_geometry": { + "height": 1030, + "width": 1850, + "x": 0, + "y": 0 + }, + "qt": { + "__class__": "bytearray", + "__value__": "AdnQywADAAD////9////4gAABzwAAAQIAAAAAAAAAAAAAAc5AAAEBQAAAAAAAAAAB4AAAAAAAAAAAAAABzkAAAQF" + }, + "screen": { + "depth": 32, + "device_pixel_ratio": 1.0, + "geometry_in_logical_pixels": { + "height": 1080, + "width": 1920, + "x": 0, + "y": 0 + }, + "index_in_screens_list": 0, + "manufacturer": "weston", + "model": "rdp", + "name": "rdp-0", + "serial": "", + "size_in_logical_pixels": { + "height": 1080, + "width": 1920 + }, + "virtual_geometry": { + "height": 1080, + "width": 3840, + "x": 0, + "y": 0 + } + } + }, + "geometry-of-plugin config dialog:User interface action:Embed Comic Metadata": { + "frame_geometry": { + "height": 465, + "width": 766, + "x": -3, + "y": -30 + }, + "full_screened": false, + "geometry": { + "height": 432, + "width": 760, + "x": 0, + "y": 0 + }, + "maximized": false, + "normal_geometry": { + "height": 432, + "width": 760, + "x": 0, + "y": 0 + }, + "qt": { + "__class__": "bytearray", + "__value__": "AdnQywADAAD////9////4gAAAvoAAAGyAAAAAAAAAAAAAAL3AAABrwAAAAAAAAAAB4AAAAAAAAAAAAAAAvcAAAGv" + }, + "screen": { + "depth": 32, + "device_pixel_ratio": 1.0, + "geometry_in_logical_pixels": { + "height": 1080, + "width": 1920, + "x": 0, + "y": 0 + }, + "index_in_screens_list": 0, + "manufacturer": "weston", + "model": "rdp", + "name": "rdp-0", + "serial": "", + "size_in_logical_pixels": { + "height": 1080, + "width": 1920 + }, + "virtual_geometry": { + "height": 1080, + "width": 3840, + "x": 0, + "y": 0 + } + } + }, + "geometry-of-preferences dialog geometry": { + "frame_geometry": { + "height": 753, + "width": 936, + "x": 486, + "y": 79 + }, + "full_screened": false, + "geometry": { + "height": 720, + "width": 930, + "x": 489, + "y": 109 + }, + "maximized": false, + "normal_geometry": { + "height": 720, + "width": 930, + "x": 489, + "y": 109 + }, + "qt": { + "__class__": "bytearray", + "__value__": "AdnQywADAAAAAAHmAAAATwAABY0AAAM/AAAB6QAAAG0AAAWKAAADPAAAAAAAAAAAB4AAAAHpAAAAbQAABYoAAAM8" + }, + "screen": { + "depth": 32, + "device_pixel_ratio": 1.0, + "geometry_in_logical_pixels": { + "height": 1080, + "width": 1920, + "x": 0, + "y": 0 + }, + "index_in_screens_list": 0, + "manufacturer": "weston", + "model": "rdp", + "name": "rdp-0", + "serial": "", + "size_in_logical_pixels": { + "height": 1080, + "width": 1920 + }, + "virtual_geometry": { + "height": 1080, + "width": 3840, + "x": 0, + "y": 0 + } + } + }, + "grid view visible": false, + "library_usage_stats": { + "/root/Calibre Library": 12 + }, + "main_window_central_widget_state": { + "layout": "wide", + "narrow_desires": { + "book_details_height": 0.23042505592841164, + "cover_browser_width": 0.34953538241601145, + "quick_view_height": 0.25615212527964204, + "tag_browser_width": 0.2494639027877055 + }, + "narrow_visibility": { + "book_details": true, + "book_list": true, + "cover_browser": false, + "quick_view": false, + "tag_browser": true + }, + "wide_desires": { + "book_details_width": 0.18084345961401, + "cover_browser_height": 0.28556593977154726, + "quick_view_height": 0.23779854620976115, + "tag_browser_width": 0.1501072194424589 + }, + "wide_visibility": { + "book_details": true, + "book_list": true, + "cover_browser": false, + "quick_view": false, + "tag_browser": true + } + }, + "quick_start_guide_added": true, + "qv_open_at_shutdown": false, + "recently_used_languages": [ + "English" + ], + "search bar visible": true, + "tag browser search box visible": false +} \ No newline at end of file diff --git a/test-config/gui.py.json b/test-config/gui.py.json new file mode 100644 index 0000000..008ad5c --- /dev/null +++ b/test-config/gui.py.json @@ -0,0 +1,76 @@ +{ + "LRF_conversion_defaults": [], + "LRF_ebook_viewer_options": null, + "asked_library_thing_password": false, + "auto_download_cover": false, + "autolaunch_server": false, + "column_map": [ + "title", + "ondevice", + "authors", + "size", + "timestamp", + "rating", + "publisher", + "tags", + "series", + "pubdate" + ], + "confirm_delete": false, + "cover_flow_queue_length": 6, + "default_send_to_device_action": "DeviceAction:main::False:False", + "delete_news_from_library_on_upload": false, + "disable_animations": false, + "disable_tray_notification": false, + "enforce_cpu_limit": true, + "get_social_metadata": true, + "gui_layout": "wide", + "highlight_search_matches": false, + "internally_viewed_formats": [ + "LRF", + "EPUB", + "LIT", + "MOBI", + "PRC", + "POBI", + "AZW", + "AZW3", + "HTML", + "FB2", + "FBZ", + "PDB", + "RB", + "SNB", + "HTMLZ", + "KEPUB" + ], + "jobs_search_history": [], + "lrf_viewer_search_history": [], + "main_search_history": [], + "main_window_geometry": null, + "match_tags_type": "any", + "new_version_notification": true, + "oldest_news": 60, + "overwrite_author_title_metadata": true, + "plugin_search_history": [], + "save_to_disk_template_history": [], + "scheduler_search_history": [], + "search_as_you_type": false, + "send_to_device_template_history": [], + "send_to_storage_card_by_default": false, + "separate_cover_flow": false, + "shortcuts_search_history": [], + "show_avg_rating": true, + "sort_tags_by": "name", + "systray_icon": false, + "tag_browser_hidden_categories": { + "__class__": "set", + "__value__": [] + }, + "tweaks_search_history": [], + "upload_news_to_device": true, + "use_roman_numerals_for_series_number": true, + "viewer_search_history": [], + "viewer_toc_search_history": [], + "worker_limit": 6 +} \ No newline at end of file