View Single Post
Old 11-10-2015, 11:09 AM   #2
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@Josieb1: If you are running calibre 2.23 or later (an update since last April) then you no longer need the script. Calibre can create the "empty" text files for you. If you are not then I highly recommend that you upgrade.

The process:
  1. In calibre, search for books with no txt format. The search is
    Code:
    not formats:txt
  2. Select all the books the search found by pushing Ctrl A or whatever your OS normally uses for select all.
  3. Click the down-arrow on the Add Books toolbar icon. Choose "Add an empty file to selected book records". Choose "Add empty txt". Press OK. Calibre will work for a bit.
  4. Do the above three steps whenever you add books, or at least whenever you want to send books to CC.
  5. In CC, ensure that you have selected TXT files as the only desired format. Go to CC's Settings / Formats and folders and ensure that only "txt" is checked. CC is probably already set up this way.
From here on when you send a book to CC it will send an (almost) empty text file and all the metadata. When you connect as a wireless device, the metadata will be updated. I say "almost" because calibre puts the title and the author into the file.
chaley is offline   Reply With Quote