Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-07-2020, 03:33 PM   #1
pg111
Connoisseur
pg111 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2016
Device: Kindle
Syntax for tweaking exclude fields from metadata copy

Hi everybody,

Can a charitable soul tell me what is wrong with the following? Many thanks in advance for your help.

I tried to tweak exclude fields from metadata copy by entering the following instruction:

exclude_fields_on_paste = ['title', 'title_sort', 'authors', 'publisher', 'languages', 'timestamp', 'pubdate', 'identifiers', 'comments', '#formats', '#genre', '#transbiblio', '#alire']

since I just want to copy the tags info about the selected book so I can paste it onto another book record.

However I can read the following instruction when I display the tweak in Preferences again:

exclude_fields_on_paste = [u'title',
u'title_sort',
u'authors',
u'publisher',
u'languages',
u'timestamp',
u'pubdate',
u'identifiers',
u'comments',
u'#formats',
u'#genre',
u'#transbiblio',
u'#alire']

Can someone explain to me what I'm missing?

Particularly, what does this leading 'u' mean?

Many thanks in advance.

Last edited by pg111; 03-07-2020 at 04:42 PM.
pg111 is offline   Reply With Quote
Old 03-07-2020, 05:50 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,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@pg111 - does it work?

I use this feature a lot so I set a couple of unimaginative short cuts:

Click image for larger version

Name:	Annotation 2020-03-08 093715.jpg
Views:	459
Size:	88.8 KB
ID:	177559

In the Book List I make the source book current and press Ctrl+C, then move to the target book (usually top of list because I just added it) and press Ctrl+V. Saves me lots of time.

The 'u's are injected into all 'string' tweaks, started a while back (version 4 maybe), might be something to do with unicode. AFAIK they're harmless, here's my exclude list

exclude_fields_on_paste = [u'authors',
u'author_sort',
u'title',
u'title_sort',
u'pubdate',
u'timestamp',
u'cover',
u'#setting']

Added: I moved your thread to here, the Editor subforum is all about the Book Editor, metadata editing is regarded as a Library Management function.

BR

Last edited by BetterRed; 03-07-2020 at 05:57 PM. Reason: Added
BetterRed is offline   Reply With Quote
Advert
Old 03-08-2020, 12:02 AM   #3
pg111
Connoisseur
pg111 began at the beginning.
 
Posts: 60
Karma: 10
Join Date: Dec 2016
Device: Kindle
Quote:
Originally Posted by BetterRed View Post
@pg111 - does it work?

I use this feature a lot so I set a couple of unimaginative short cuts:

Attachment 177559

In the Book List I make the source book current and press Ctrl+C, then move to the target book (usually top of list because I just added it) and press Ctrl+V. Saves me lots of time.

The 'u's are injected into all 'string' tweaks, started a while back (version 4 maybe), might be something to do with unicode. AFAIK they're harmless, here's my exclude list

exclude_fields_on_paste = [u'authors',
u'author_sort',
u'title',
u'title_sort',
u'pubdate',
u'timestamp',
u'cover',
u'#setting']

Added: I moved your thread to here, the Editor subforum is all about the Book Editor, metadata editing is regarded as a Library Management function.

BR
Thanks a lot, BR. It answers my concerns. Sorry for misplacing my query. I consider the issue as solved.
pg111 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Metadata syntax for Genre/subGenre ItsAllFuzzy Library Management 0 06-16-2018 04:23 AM
Metadata - which fields do you use? latepaul Audiobook Discussions 2 07-09-2016 04:22 PM
Reg Ex Syntax to Exclude Genres - I'm Missing Something Obvious GeekyGal Library Management 3 08-19-2012 10:35 PM
copy between libs, keep custom fields drMerry Library Management 1 05-24-2011 06:56 PM
Metadata Filename Syntax gandor62 Calibre 15 07-18-2010 03:46 AM


All times are GMT -4. The time now is 12:53 PM.


MobileRead.com is a privately owned, operated and funded community.