![]() |
#481 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I have copied what's in calibre into the csv which means that it should match exactly?
I changed that specific tag around in the csv file and now it recognizes it in Calibre although they are backwards. I thought they were supposed to be sorted in the same order as Calibre does it? Attached is yet another log-file and csv. |
![]() |
![]() |
![]() |
#482 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
I will look at it.
|
![]() |
![]() |
Advert | |
|
![]() |
#483 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thank you so much for all your patience, help and work.
|
![]() |
![]() |
![]() |
#484 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Tanjamuse:
Try the attached zip. I ensured that any sorting is done like Calibre, which is to say it ignores case. Test it using the original "d'Artagnan Romances, Three Musketeers (Books)" and then again with it swapped. Both should work. DaltonST Last edited by DaltonST; 06-13-2019 at 03:15 PM. |
![]() |
![]() |
![]() |
#485 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
It now works with the original "d'Artagnan Romances, Three Musketeers (Books)", but doesn't work with the swapped version.
Do I still need to have no-space after the comma, because I have space between Hobbit, Homecoming of Beorhtnoth Beorhthelm’s Son as you can see in the csv-file and it still recognizes it in Calibre. |
![]() |
![]() |
Advert | |
|
![]() |
#486 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
[1] Good. I will publish that version, which works the way Calibre works now.
[2] It works because I added code to auto-correct user errors. If you look at the debug log, it prints that it was wrong but fixed it anyway. DaltonST |
![]() |
![]() |
![]() |
#487 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thank you, then I don't have to double-check every combination I make.
|
![]() |
![]() |
![]() |
#488 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.159 Import CSV to Update Metadata: technical changes
Version 1.0.159 - 2019-06-13 Import CSV to Update Metadata technical changes.
If you downloaded the last beta test version, you must update this one manually since it will not appear to Calibre that it is new. DaltonST |
![]() |
![]() |
![]() |
#489 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I don't know if it's because you changed the python coding but I just discovered another little thing. When " are a part of the tag it doesn't change it.
I've attached a Rules test csv and the debug-log |
![]() |
![]() |
![]() |
#490 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Double-quotes are what define a text column in the JS CSV file. If you look at the CSV in a simple text editor, you will see what I mean. DQs can cause parsing errors. I will look at it, but you should avoid DQs; change them to Single Quotes. If you use double quotes in Tags in Calibre, you should search & replace them to single quotes if you want to match them via a CSV upload.
An attachment shows the ToolTips from the Scrub Tags sub-menu within the JS menus. The .xlsx/.ods files have all of the details for the tool and each of its rule table CSV formats. DaltonST Last edited by DaltonST; 06-20-2019 at 12:29 PM. |
![]() |
![]() |
![]() |
#491 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Test Version for Double-Quotes in Scrub Tags CSV "Tag" Columns
Tanjamuse:
Is this what you wanted to see in the JS Tag Scrubbing Audit Log for table Tag Rules? Test the attached .zip and let me know. Code:
JS Tag Scrubbing Audit Log Choose Rules to Execute (Sequence is Important): Tag Rules Tag/Tag-Like Column Available to be chosen: Scrub: All Tags & Tag-Like Custom Columns Tag/Tag-Like Column Available to be chosen: Scrub: Tags Tag/Tag-Like Column Available to be chosen: Scrub: #genre Tag/Tag-Like Column Available to be chosen: Scrub: #lcead Choose Tag/Tag-Like Column: Scrub: Tags ....................................................................................... Applying ruleset: Tag Rules for: tags Target Tables to be scrubbed: tags books_tags_link Tag/Tag-Like Tags Found: 1107 for table: tags Tag Purge Rules Being Applied to: tags books_tags_link Scrub Tags: Purged: 0 for: tags Tag Change Rules Being Applied to: tags books_tags_link Amidala69's "Turn and Face the Strange" Universe -->Harry Potter new tag added to: tags Harry Potter Inserted newtag to replace oldtag for book: 891 old: Amidala69's "Turn and Face the Strange" Universe new: Harry Potter Amidala69's "Turn and Face the Strange" Universe Deleted oldtag for book: 891 old: Amidala69's "Turn and Face the Strange" Universe Scrub Tags: Changes completed for: tags books_tags_link .............................................................................................................................................................................. Last edited by DaltonST; 06-21-2019 at 09:34 AM. Reason: Version 1.0.160 Released |
![]() |
![]() |
![]() |
#492 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Sorry it took me so long to test, but yeah, that's exactly what I wanted.
|
![]() |
![]() |
![]() |
#493 |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.160 Various Enhancements & Changes
Version 1.0.160 - 2019-06-21 Tag Scrubbing: Tag values (only) in CSV upload files with double-quotes now supported; Customize Tag Browser Icons: @User-Category sub-categories will be ignored; Python 3 performance improvements.
DaltonST |
![]() |
![]() |
![]() |
#494 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,275
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Hey there!
Was wondering if you could add a feature that could create a copy/paste file with selected column names in the format needed to add to tweaks or other areas where the need for column names in the format of u'#column_name', The user can select the characters to add before and after the column names. Makes it easier to fill in plugins, tweaks, and custom columns. |
![]() |
![]() |
![]() |
#495 | |
Deviser
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Tweaks > Plugins: Implicitly Unicode
Quote:
Apparently the recent changes to Calibre for Python 3 have caused some corruption of what a user sees in Preferences > Tweaks > Plugins. Never before did the u exist. This is what my Calibre 3.44 Plugins > Tweak for "Library Specific Auto-Add Directories" now looks like: Code:
job_spy_auto_add_directory = {u'CalibreJobSpyTest5': u'x:/auto_add_dir5', u'CalibreJobSpyTest4': u'x:/auto_add_dir4', u'CalibreJobSpyTest1': u'x:/auto_add_dir1', u'CalibreJobSpyTest3': u'x:/auto_add_dir3', u'CalibreJobSpyTest2': u'x:/auto_add_dir2'}
DaltonST |
|
![]() |
![]() |
![]() |
Tags |
author aka, author pen name, colors, toolbag, toolbox, tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |