View Single Post
Old 06-04-2024, 05:25 PM   #1325
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,003
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by igorius View Post
How i saw this? I am backing up the library via rsync, so i noticed the change of the files. And as a bad side-effect its extremely slow, so changing all .opf needs round about 2 days. Because only between 10 and maybe 30 files are touched within 3 to 5 minutes.
Perhaps kiwidude will contradict me, but to the best of my knowledge, and confirmed in some basic testing, a book's metadata.opf file on disk is only touched by RL when changing a Reading List also updates updates a column for that book.

And Reading List doesn't queue up any background processing or anything--if it was RL touching all those files that slowly, it would be hanging.

Are you sure it wasn't Calibre's Full Text Search or the Library maintenance function 'Backup metadata files'?

Unrelatedly, kiwidude, I noticed while looking at this that the default list name is explicitly shown in the RL menu for most options, but not Remove:
Code:
            std_name = _('Add to default list')
            unq_name = 'Add to default list'
            if is_default_list_manual:
                self.add_action = create_menu_action_unique(self, m, _('Add to %s list') % default_list_name,
                                                      image='plus.png', unique_name=unq_name,
                                                      shortcut_name=std_name, favourites_menu_unique_name=std_name,
                                                      triggered=partial(self._add_selected_to_list, default_list_name))

# ...

            std_name = _('Remove from default list')
            unq_name = 'Remove from default list'
            if is_default_list_manual:
                self.remove_action = create_menu_action_unique(self, m, std_name, # XXX no default_list_name XXX
                                                         image='minus.png', unique_name=unq_name,
                                                         shortcut_name=std_name, favourites_menu_unique_name=std_name,
                                                         triggered=partial(self._remove_selected_from_list, default_list_name))
Is that difference intentional?
JimmXinu is offline   Reply With Quote