![]() |
#1 |
Connoisseur
![]() 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. |
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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: 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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Dec 2016
Device: Kindle
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |