|  07-19-2016, 05:04 AM | #886 | 
| Wizard            Posts: 1,166 Karma: 1410083 Join Date: Nov 2010 Location: Germany Device: Sony PRS-650 | 
			
			The problem with this formats is, that not all formats have metadata you can simply extract. In addition there are different versions of theses formats with different capabilities. Today you need to have additional external programs to extract theses data like Wilcom TrueSizer, Bernina Artlink, Embird Iconizer SandsComputing SewIconz etc.
		 | 
|   |   | 
|  07-20-2016, 06:55 AM | #887 | 
| Wizard            Posts: 1,026 Karma: 500000 Join Date: Jun 2015 Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color | 
			
			What would I need to do (to write a plugin) to extract metadata not currently supported into custom columns for book formats that are already supported by calibre?
		 | 
|   |   | 
|  07-20-2016, 10:23 AM | #888 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | 
			
			The metadata source plugins can only update certain columns. That means you have to write all the metadata update and page fetching code yourself. There are some sample that you can look at. The Goodreads frating plugin fetches the rating from Goodreads. The Goodreads Sync also fetches some information, but that uses the API for some of the function.
		 | 
|   |   | 
|  07-21-2016, 07:32 AM | #889 | |
| Wizard            Posts: 1,026 Karma: 500000 Join Date: Jun 2015 Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color | Quote: 
 I already know how to extract this information, at least by hand and from command line. | |
|   |   | 
|  07-21-2016, 10:06 AM | #890 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			You can create a PDF metadata reader plugin that simply adds a tag "has_toc" to the list of tags returned by the builtin pdf metadata reading code.
		 | 
|   |   | 
|  07-21-2016, 11:11 AM | #891 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A |  Device Font Library Management 
			
			Calibre support embedding fonts, but this seems redundant (and a space hog) for many devices that have the provision to use Device (system) fonts (only provide support for CSS, Font declarations) When sending to device: 1) Query CSS for @Font callouts 2) Add the FONT (if needed) to Device Font folder <move from the book?> 3) adjust the CSS font SRC as needed 4) remove the embedded font send skinnier book   | 
|   |   | 
|  07-21-2016, 08:29 PM | #892 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 An alternative is during send-to-device. The books are already being modified to update the metadata and covers. Stripping the fonts could be done there. It would need support in the device drivers to report the fonts on the device and if anything special is needed to fix references. The advantage of this is that it doesn't change the in-library copy, so that if you use multiple devices you get a copy that is appropriate for each. Another way would be a plugin that wraps send-to-device. That could prepare the book and then call send-to-device to send the modified version rather than the in-library copy. Lastly, a driver could be written that subclasses the existing drivers. The KoboTouchExtended driver already does this and it would be "easy" to add this function to that driver. The disadvantage of this is that an extra driver needs to be written for each device that needs the support. I know the first and last would be doable. I'm not sure about the other two. The second is the way I'd prefer to do it, but is probably the most work. Oh, one thing I probably wouldn't do is to automatically send the fonts to the device. I would probably write it to check the font is on the device, and if it is strip it from the book. If the font isn't there, I'd leave it alone. A danger of sending the font is if subsetting has been done. You might end up with a font on the device that doesn't support all the characters in all the books. | |
|   |   | 
|  07-21-2016, 09:56 PM | #893 | |
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | Quote: 
   Great point about Subsetting  ( I don't do it...but!) Maybe get from the same place Calibre would use (system folders) I don't know how far Remove Embedded goes either. I only remove all references to Charis (manually). I like display fonts for limited use  Maybe a sideways use of The Quality check PI (selected books) to find a list of fonts called for, then collect those from the system and send them to the device (\fonts\ in my RMSDK case) if needed, then cleanup those books | |
|   |   | 
|  07-22-2016, 01:44 AM | #894 | 
| Enthusiast  Posts: 33 Karma: 10 Join Date: Oct 2010 Device: Palm TX; Pandigital-7W | 
			
			BetterRed, thanks for this information.  I'm still on an older version of Calibre, would I need to update to a more recent version to be able to add non-document files?  The last time I tried, many years ago, 'add books' did not see the files I was hoping to add.
		 | 
|   |   | 
|  07-22-2016, 01:53 AM | #895 | |
| Enthusiast  Posts: 33 Karma: 10 Join Date: Oct 2010 Device: Palm TX; Pandigital-7W | Quote: 
  I currently have HV Premier+ (just their complimentary package) and SandS Computing SWP.  The HV Premier+ provides similar funtionality to the Iconizer, giving meta data regarding dimensions, stitch counts, thread brand and color, even how much thread is required per color. It would be incredible to pull any of that meta data into Calibre.  I'll focus on what Better Read has covered, before leaping ahead to the metadata possabilities. Thank you to all of you for your help. | |
|   |   | 
|  07-22-2016, 03:22 AM | #896 | |
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 I also suggest you have a look at the Import List PI which can be used to update metadata for existing books and/or add new books. A metadata input PI would probably be better, but if the data is available as a CSV then the Import List PI may get you off the ground. BR | |
|   |   | 
|  07-22-2016, 10:40 AM | #897 | 
| Ex-Helpdesk Junkie            Posts: 19,421 Karma: 85400180 Join Date: Nov 2012 Location: The Beaten Path, USA, Roundworld, This Side of Infinity Device: Kindle Touch fw5.3.7 (Wifi only) | 
			
			Add Books opens a standard Windows file dialog, with a default filter to only show known ebook types... but you can switch the filter to All Files. You can also use the Add Empty Book option to create the metadata entry and then add the files by dragging-and-dropping them onto the Book Details panel. | 
|   |   | 
|  07-22-2016, 07:18 PM | #898 | ||
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
   Quote: 
 The main reason I use Windows Send To was to obviate the need to spin the filter in Add Books. Having calibre in Send To suits me very well; given that my primary mode of using the PC is from my file manager via the context menu. BR | ||
|   |   | 
|  07-23-2016, 12:03 PM | #899 | 
| Connoisseur            Posts: 93 Karma: 13884 Join Date: Dec 2009 Location: Austria Device: Kindle Oasis, Amazon Fire 7 Tablet, iPad mini 4, iPhone XS | 
				
				metadata plugin for German National Library?
			 
			
			At the moment metadata of German books are often poor or are missing totally with the available Calibre plugins. The best catch so far is amazon.de, but even there it mostly works with bestsellers – the metadata quality for science books are poor or they are missing completely. I suggest therefore a metadata source plugin for the German National Library (if that is feasible and allowed). http://dnb.d-nb.de/ or http://www.dnb.de/EN/Home/home_node.html I think the German National Library is cataloguing *all* published German books and the quality of ther metadata is excellent. | 
|   |   | 
|  07-23-2016, 05:48 PM | #900 | |
| null operator (he/him)            Posts: 22,010 Karma: 30277294 Join Date: Mar 2012 Location: Sydney Australia Device: none | Quote: 
 BR | |
|   |   | 
|  | 
| Tags | 
| calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| PRS-505 Any ideas what this might be? | Neupy | Sony Reader | 4 | 07-03-2012 07:19 AM | 
| New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM | 
| Ideas? | mike_bike_kite | Which one should I buy? | 10 | 06-13-2010 03:37 PM | 
| Ideas | F1Wild | Amazon Kindle | 4 | 07-10-2009 06:01 AM |