I have had a look at the logs you sent, and it appears to be working correctly. The problem is the options you have and the data in the library.
Firstly, the options:
Code:
DEBUG: 33.7 _update_metadata: number books= 4 options= {u'rating': False, u'title': True, u'series': True, u'descriptionUseTemplate': False, u'reading_direction': u'Default', u'set_sync_date': False, u'sync_date_library_date': u'timestamp', u'set_reading_direction': False, u'usePlugboard': False, u'isbn': False, u'description': False, u'update_KoboEpubs': True, u'published_date': False, u'descriptionTemplate': u'', u'subtitleTemplate': u'', u'subtitle': False, u'mark_not_interested': False, u'titleSort': True, u'publisher': False, u'authourSort': True, u'language': False, u'resetPosition': False, u'readingStatus': -1, u'author': True, u'setRreadingStatus': False}
The bits marked in
lime shows that you are updating the author and setting the metadata to the author sort field. The other marked option shows that you are updating books purchased and downloaded to the device as well as sideloaded book.
The following is a section of the log showing what happens for one of the books by Ann Cleeves.
Code:
DEBUG: 33.8 generate_metadata_query - test_query=SELECT Title, Attribution, Description, Publisher, Series, SeriesNumber, Subtitle, ReadStatus, DateCreated, Language, PageProgressDirection, ___SyncTime, ISBN, FeedbackType, FeedbackTypeSynced, r.Rating, r.DateModified FROM content c1 left outer join ratings r on c1.ContentID = r.ContentID WHERE c1.BookId IS NULL AND c1.ContentID = ?
DEBUG: 33.8 _update_metadata: searching for contentId='file:///mnt/onboard/Cleeves, Ann/Bird in the Hand, A - Ann Cleeves.kepub.epub'
DEBUG: 33.8 _update_metadata: self.options[cfg.KEY_UDPATE_KOBO_EPUBS]= True
DEBUG: 33.8 _update_metadata: contentID.startswith('file')= True
DEBUG: 33.8 _update_metadata: found contentId='file:///mnt/onboard/Cleeves, Ann/Bird in the Hand, A - Ann Cleeves.kepub.epub'
DEBUG: 33.8 result= {u'Series': None, u'Attribution': u'Cleeves, Ann', u'Subtitle': None, u'ReadStatus': 1, u'Language': u'en', u'Title': u'Bird in the Hand, A', u'___SyncTime': u'2018-08-14T23:27:50Z', u'Description': None, u'PageProgressDirection': None, u'ISBN': None, u'Publisher': None, u'DateCreated': None, u'SeriesNumber': None, u'DateModified': None, u'FeedbackTypeSynced': 0, u'Rating': None, u'FeedbackType': 0}
DEBUG: 33.8 result['Title']='Bird in the Hand, A'
DEBUG: 33.8 result['Attribution']='Cleeves, Ann'
DEBUG: 33.8 _update_metadata: author= [u'Ann Cleeves']
DEBUG: 33.8 _update_metadata: using author_sort= Cleeves, Ann
DEBUG: 33.8 _update_metadata: using author_sort - author= [u'Ann Cleeves']
DEBUG: 33.8 _update_metadata: title_string= Bird in the Hand, A
DEBUG: 33.8 _update_metadata: title_string= Bird in the Hand, A
DEBUG: 33.8 _update_metadata: authors_string= Cleeves, Ann
DEBUG: 33.8 _update_metadata: authors_string= Cleeves, Ann
Marked in
lime is the author name on the device - "Cleeves, Ann". In the calibre library, you have "Ann Cleeves", but the author sort is "Cleeves, Ann". As your options are to use the author sort, that is what is used when updating the metadata on the device. And as the library value matches the device value, no change is made.
Based on your earlier post, you want to use "FN LN" on the device. Which is the better choice for recent firmware. If that is the case, then don't select the "Author sort" option on the metadata update dialog.