View Single Post
Old 03-20-2025, 05:47 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,758
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by CRussel View Post
Haven't turned off the tabs. All of the searches and virtual libraries are gone.

Sigh, and if it's in the database, there's probably nothing I can do except start over. What a pain.
If the library folder has a metadata_db_prefs_backup.json file, and if it has something like the following, use the calibedb --restore_database command.

Code:
  "virtual_libraries": {
    "Current": "#admin_tags:\"=_current\"",
    "Finished": "(#status:\"=75 Final Paged\") and (not tags:\"_current\")",
    "Gen Cover": "#admin_tags:\"=Gen Cover\"",
    "Historical": "(tags:\"=Historical\") and (not #status:\"=75 Final Paged\") and (not tags:\"=_later\")",
    "Later": "#admin_tags:=\"_later\"",
    "Not Finished": "(not #status:\"=75 Final Paged\") and (not tags:\"=_current\")",
    "Not Started": "not formats:\"=DOCX\" and   not formats:\"=RTF\""
  },
Otherwise restore the library folder from your backup store.

BR
BetterRed is offline   Reply With Quote