View Single Post
Old 02-21-2020, 05:00 PM   #2
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,745
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Rellwood View Post
Can I go into the library .json file and do a search and replace for columns in the rules section?

I changed some columns that I have rules for and wanted to save the hassle of going into the rules in preferences and change them.

I have two new columns that are replacing three columns that have multiple rules for each. Would like to open the .json file in Notepad++ and do a search and replace for the old columns to the new columns.

I don't like how editing the columns in preferences blanks out all the info past the column when you change the column.

Would be nice if changing the column doesn't change the other info. It's easier to delete the info rather than retype it. Especially since the values aren't available in dropdown format. Columns that are text in the tag browser should be shown in the dropdown format instead of requiring manual inputting the value since it's easy to mistype what the value should be when I am not able to see the column as I set the preference.
If you edit the metadata_db_prefs_backup file then you'll need to restore the database to make the changes available to the calibre code.

There's an option in JS to save custom column details in a CSV, maybe you could use that as a place from which to get prior values.

BR
BetterRed is online now   Reply With Quote