Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2022, 12:39 AM   #1606
rumplestiltskin
Zealot
rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.
 
Posts: 105
Karma: 1435120
Join Date: Nov 2010
Location: West of the Pecos
Device: FireHD8, iPad
As the Job log contains the eMail address to which I had Calibre send the eBook, I guess it's just a matter of the as-yet-non-existent plugin grabbing that eMail address and today's date from the log. Then, if I eMail the same book to someone else, the plugin would concatenate that new eMail address and today's date to the existing data in the column.

As the saying goes: "Then a miracle happens." If I could code it myself, I'd do it.

Quote:
Originally Posted by rumplestiltskin View Post
As I didn't see anything like this listed in the 1st post of this thread, I'll suggest it here:

Calibre can eMail a selected book using SMTP credentials I provide in the preferences. It works great. But I'd like to have a column that automatically enters the date the book was emailed; optionally (as long as I'm asking) include the eMail address of the recipient. Right now I'm just eMailing books to myself (so I may receive them on an iPad) but I expect to add a friend's eMail address, as well, so I may send him some books as necessary. Having a column with the date the eBook was eMailed along with the recipients' email(s) would be helpful. I suppose one might call this a "gifting library" function. Perhaps I should be looking for something more akin to "library software"?

Hope this is helpful. Thanks!
rumplestiltskin is offline   Reply With Quote
Old 02-19-2022, 02:41 PM   #1607
Quuzuu
Member
Quuzuu began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Dec 2020
Device: Kindle iOS App
Does the calibre ebook-viewer support plugins?

I use the calibre ebook-viewer to read all my books. I have a simple plugin idea which will work in the viewer, but I don't know if it's possible.

I want to ask here first - if it's possible, I'll invest a week to learn everything, and build it for myself.

Here's what it does, very simple: I often get too addicted in reading and it affects my work and life. I want to limit how much I can read in this way: when I'm in the viewer, it'll force me to take a break every 20 pages (or every 15 minutes, or every chapter) - scrolling is disabled during the break, so I can't go to next page, until the break is over.
Quuzuu is offline   Reply With Quote
Old 02-19-2022, 03:58 PM   #1608
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
There used to be support for adding plugins to the calibre Viewer but it was removed quite a long time ago. I forget exactly when that was, maybe when the Viewer had a big rewrite for calibre v4.x ???
jackie_w is offline   Reply With Quote
Old 02-19-2022, 11:29 PM   #1609
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,445
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No, there is no support for viewer plugins. It's on my long term TODO list, but given the complications (viewer code is written to two different languages and runs in sandboxed isolated processes) coming up with a framework for viewer plugins is not easy.
kovidgoyal is offline   Reply With Quote
Old 02-22-2022, 07:00 PM   #1610
KoboFormaMX
Junior Member
KoboFormaMX began at the beginning.
 
KoboFormaMX's Avatar
 
Posts: 8
Karma: 10
Join Date: Jun 2021
Location: The public space
Device: Kobo Forma
Please SOMEBODY add a random filter view option or a "Show me at random order" button. The plugin must select a TRUE random filter to show all the books in the collection displayed in random position. This must take the same time or less vs the other view filters.
KoboFormaMX is offline   Reply With Quote
Old 03-04-2022, 11:27 AM   #1611
kjdavies
Zealot
kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.kjdavies is no e-book dilettante.
 
Posts: 112
Karma: 53342
Join Date: Jun 2013
Device: Sony PRS-600
I too would be interested in a plugin to do this. I've written a Perl script that scrapes the desktop downloader logs to match downloaded files to OneBookShelf (OBS) product IDs, then scrapes the OBS product page for metadata, but it would be nice to have a plugin that does this for me.
kjdavies is offline   Reply With Quote
Old 03-05-2022, 11:32 AM   #1612
Killjoy12
Junior Member
Killjoy12 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2022
Device: Kobo Libra 2
Plugin API Device File Attributes

Is there a API method to get file attributes from a file on the device? I'm mostly interested in getting the modified date for files. Thanks.
Killjoy12 is offline   Reply With Quote
Old 03-05-2022, 03:35 PM   #1613
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 940
Karma: 53902736
Join Date: Jun 2015
Device: multiple
Even just being able to retrieve a list of titles and publishers would be helpful.
MarjaE is offline   Reply With Quote
Old 03-05-2022, 05:20 PM   #1614
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,826
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by kjdavies View Post
I too would be interested in a plugin to do this. I've written a Perl script that scrapes the desktop downloader logs to match downloaded files to OneBookShelf (OBS) product IDs, then scrapes the OBS product page for metadata, but it would be nice to have a plugin that does this for me.
Quote:
Originally Posted by MarjaE View Post
Even just being able to retrieve a list of titles and publishers would be helpful.
Moderator Notice

The thread you responded to was from 2017, the thread should have been in here anyway - it's first post is now at ==>> 1019

Plugins are almost invariably developed by someone with the need.

BR
BetterRed is offline   Reply With Quote
Old 03-06-2022, 12:49 AM   #1615
MarjaE
Guru
MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.MarjaE ought to be getting tired of karma fortunes by now.
 
Posts: 940
Karma: 53902736
Join Date: Jun 2015
Device: multiple
Okay, I don't know much about programming.

The OneBookShelf/DriveThruRPG app stores its download data in plain text in a .dat file. I thought it might be a json with a changed file name, but apparently not.

For each entry, it tracks:

coverURL
datePurchased
downloadedDate
files
errorMessage
hashesMap
lastModified
localDir
localFileHash
localFileName
localLastModified
serverFileName
totalSize
productId
publisher
ruleSystem
thumbURL
title

Note that the metadata does not include author, probably because of nicknames, initials, and a lot of collaborations. I'm at a loss as to how to either convert the .dat to a .csv to import the relevant info, ior query the .dat.
MarjaE is offline   Reply With Quote
Old 03-07-2022, 09:41 PM   #1616
PlasticFlaneur
Junior Member
PlasticFlaneur began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2022
Device: Samsung Phone
Save as ebook function

I apologize in advance if this is a stupid idea. Also, I use a Mac so I have no idea how this could be implemented on multiple OSes. Anyway, save as pdf is a function available via the print menu on most Macs. Could a "save as ebook" (save as epub?, Print to epub?) be implemented as a system-wide service/function?
PlasticFlaneur is offline   Reply With Quote
Old 03-08-2022, 03:09 PM   #1617
Evrydayphotospam
Junior Member
Evrydayphotospam began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2022
Device: none
Hello! I was wondering if there would be any interest in creating a plugin that extracts URLs from your book files? I would imagine it would work very similar if not exactly the same as the "Extract ISBN" plugin.

The background to this "request/idéa" is that I have over 900 individual books that each have a URL at the beginning of the (epub) book that I currently have to enter manually. And I can't help but wonder if a plugin similar to "Extract ISBN" would help both me and others in a similar situation.
Evrydayphotospam is offline   Reply With Quote
Old 03-10-2022, 08:28 PM   #1618
grumbleskin
Junior Member
grumbleskin began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2017
Location: USA
Device: Kindle - Surface 3
Scrape Plugin

I don't know much how to write code.

Is there anyone that would write a scrape plugin for RPGnet to get publisher/book title/cover/year info that could be scraped and used to rename pdf files?

The website has a nice consistent way of naming stuff that would be kind of cool to have.

Is there anyone that would be up to do it for n00b who doesn't know how?
grumbleskin is offline   Reply With Quote
Old 03-10-2022, 09:30 PM   #1619
grumbleskin
Junior Member
grumbleskin began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2017
Location: USA
Device: Kindle - Surface 3
Or maybe RPGGeek?
grumbleskin is offline   Reply With Quote
Old 03-11-2022, 01:32 AM   #1620
azuravian
Enthusiast
azuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughingazuravian can shake the floor when laughing
 
Posts: 32
Karma: 63058
Join Date: Feb 2012
Device: Kobo Aura One
Quote:
Originally Posted by PlasticFlaneur View Post
I apologize in advance if this is a stupid idea. Also, I use a Mac so I have no idea how this could be implemented on multiple OSes. Anyway, save as pdf is a function available via the print menu on most Macs. Could a "save as ebook" (save as epub?, Print to epub?) be implemented as a system-wide service/function?
I don't know of a system-wide service that would do this. If the file that you want to print to ePub is found online, however, you should be able to use a browser plugin to convert to ePub. This one is available for both Firefox and Chrome: https://epub.press/
azuravian is offline   Reply With Quote
Reply

Tags
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe


Forum Jump

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


All times are GMT -4. The time now is 08:25 AM.


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