View Single Post
Old 03-29-2017, 01:18 PM   #1913
mehetabelo
e-Bibliophile
mehetabelo began at the beginning.
 
mehetabelo's Avatar
 
Posts: 60
Karma: 10
Join Date: Jun 2009
Location: California
Device: Paperwhite 1-3, Kobo AuraHD, Boox Afterglow2
Alright, so I want to point out that this was my mistake and it almost caused me to cry, but it brought up a possible issue.

Skip the next few paragraphs if you don't feel like reading my stupid story. I'll identify the issue below clearly.

I used to keep multiple libraries, the reason is that my HDD was slow and large libraries made the response time unreasonable for me. I kept some major libraries separate from years ago. Recently after purchasing a large SSD just for calibre library use I started merging everything into a couple of separate libraries, keeping my FFF library separate due to it having a lot of extra custom columns and settings.

I have done a lot of customization on my default ini to the point where it's ~600 lines long (with a blank line between each site). I do occasionally copy it out and keep a text backup and I did one in January. The problem came yesterday. I opened my FFF library and went to download an updated book... and problem... the default ini had somehow got reset during the move to the SSD. I'm not entirely sure how that happened since I literally just copied the entire calibre folder over, but it happened. The original file folder had just been deleted, since I'd confirmed that everything had moved and the file sizes matched up. I panicked. I went through my backup and found it was almost 2 months old and I'd done a LOT of changes since then, including adding every Wuxiaworld story in to manually edit the story title and author. I checked some of my other libraries to see if my default.ini in those were similar to the more recent since I'd done a couple of 'new' libraries in the merging process. Those had been copied from a different library that didn't have all the columns for FFF, and thus didn't have the same default.ini copied over.

After about 10 min I discovered that I wasn't going to go on a murdering rampage. I'd created a new library for a friend, trying to get him into using FFF instead of manual downloads. He's a lazy ass, but he's so backwards that he's too lazy to use FFF since he's used to using another method and doesn't want to 'learn' how to use FFF. No matter how much I explain it'll go faster and easier... anyway. I'd created a new library for him and the defaults.ini was a part of it. I'd edited my usernames/passwords out, but it had everything else so a lot of it was setup for him.

Unfortunately the idiot still won't use Calibre. *sigh*. BUT my wasted time wasn't so wasted apparently.

With a few minutes and some matching of username/passwords I had my defaults.ini almost back to the place where it was before. I had to add some edits I'd made just a couple days previously but that was easy since they were similar for each site and I could remember exactly what I'd done. (I added a new column for virtual libraries and made it a bit easier to sort, so I added custom metadata to sort into a library based on type, fanfiction, webfiction...). The only other changes I had to do was fix some of the other options I'd made, choosing the settings I'd been using previously, output options, gui options.

I did notice that despite almost everything resetting my email info and my Custom Columns tab did not reset. So, whatever happened had to be my fault I'm sure, but some settings did reset like everything in the 'Basic' tab. 'Default to update books when selected' was checked, and I have had that unchecked for years. It was actually how I noticed the problem since I went to paste the url in and it tried to update a non-fff book that I had highlighted.

The point of this all:

Anyway, the point of this long and overly specific tale is that I was thinking having a backup option isn't a bad idea. Rather than having to copy/paste my defaults.ini into a text file as a backup option, is there an easy way to implement a click to backup option? This would ideally include the other options that have been made like the Custom Columns tab, emails settings, basic options, etc. If my database wasn't so big I'd just keep that as a backup but it's literally 336MB at the moment and backing that up online every time my library changes is… not really an option for me.

Second, a possible Issue/bug

Again, this is again something that is my fault but I noticed some (probably) incorrect behavior because of it. I may be reading the entire thing incorrectly but I thought I'd point it out and let you decide.

When I brought up Wuxiaworld stuff a few weeks back I went through and setup all author/titles. I did a lot of work in the columns including setting up the Genre (separate from tags) for each book using NovelUpdate information. Originally I had a metadata catch to see if the plugin grabbed the metadata. Custom Column setting was: " genre=>#genre,a" There apparently was no Genre, so I added everything manually and went on about my business. I noticed today that when I updated a book that that setting wiped out the Genre column. With the ",a" at the end of that, should it not 'add' onto the column only? If I remember right there are 3 options, a (add) r (replace) and n (for newly downloaded stories). So, even though 'genre' isn't picking up anything, why would it be wiping out my custom column?

It's annoying, but I can put the genre's back in without too much work, though it will take some time. It's not a big deal, I just took the setting out of my custom column setting. But as I said, based on the action selected (a) should this not have been left alone in the first place?

Last edited by mehetabelo; 03-29-2017 at 01:25 PM. Reason: Added a skip point.
mehetabelo is offline   Reply With Quote