Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 07-27-2012, 08:52 PM   #661
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Version 1.6.0 - 27 Jul 2012
Options now stored inside the Library rather than an external JSON file.
JimmXinu is offline  
Old 07-28-2012, 08:53 AM   #662
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Jimm, something I have noticed recently: When I update a FanFiction.Net story and check on the same day for updates again FanFictionDownLoader will not recognize that the story has already been updated (and attempt to do it again) -- this only stops when the updated date differs from the current date, i.e. 1+ days later. Is there a different method to check if a story needs updating?
cryzed is offline  
Old 07-28-2012, 12:17 PM   #663
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by cryzed View Post
Jimm, something I have noticed recently: When I update a FanFiction.Net story and check on the same day for updates again FanFictionDownLoader will not recognize that the story has already been updated (and attempt to do it again) -- this only stops when the updated date differs from the current date, i.e. 1+ days later. Is there a different method to check if a story needs updating?
The behavior you describe is what 'Overwrite if Newer' does. None of the sites give update timestamps, just dates. The site is considered 'newer' if it's still the same day in case there has been more than one update in the same day. It also illustrates another reason not to use the FFDL to poll for updates.

'Update EPUB if New Chapters' says it right in the name: it updates if there's new (more) chapters than the existing EPUB. This is the most efficient method, since it only downloads new chapters, but it only works with EPUB.
JimmXinu is offline  
Old 07-28-2012, 12:55 PM   #664
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Ah all aright. On an unrelated note, I just managed to reverse-engineer the part of the *.mbp files that store the metadata for a *.mobi file on the Kindle, it's now possible for me to keep the location (last page read) when replacing or updating the *.mobi file. I'm not sure how hard it would be to implement that into FFDL, but if you feel up to it, say so and I'll post the required information here.
cryzed is offline  
Old 07-28-2012, 02:21 PM   #665
seabream
Enthusiast
seabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheeseseabream can extract oil from cheese
 
Posts: 48
Karma: 1056
Join Date: Jul 2012
Location: Central Canada
Device: Sony PRS-T1, RIM Playbook & Z10, Samsung Note, MacOSX
A bit under a couple of weeks ago, somewhere around 1.5.43, FFDL would pull Favs, Follows, and id from FF.net. I found this useful. Is there a way for me to turn this back on in personal.ini, or somewhere? I wouldn't necessarily want to store them in general tags, I'd probably put them in custom columns if they had classifications that I could shunt appropriately. I tried adding the line "include_subject_tags: extratags, genre, category, status, characters, favs, follows, id," under defaults already.

Thanks in advance (and for work already done).
seabream is offline  
Old 07-28-2012, 02:27 PM   #666
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by seabream View Post
A bit under a couple of weeks ago, somewhere around 1.5.43, FFDL would pull Favs, Follows, and id from FF.net.
That was a bug, actually.
Quote:
Originally Posted by seabream View Post
I found this useful. Is there a way for me to turn this back on in personal.ini, or somewhere?
You can get id from Story ID (custom column) or storyId (include_subject_tags). The standard calibre column Identifiers already has the full URL, though.

I don't foresee adding Favs & Follows to the metadata anytime soon, but I'll add them to the list with Reviews on the wishlist of 'maybe someday' features.
JimmXinu is offline  
Old 07-28-2012, 02:43 PM   #667
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by cryzed View Post
Ah all aright. On an unrelated note, I just managed to reverse-engineer the part of the *.mbp files that store the metadata for a *.mobi file on the Kindle, it's now possible for me to keep the location (last page read) when replacing or updating the *.mobi file. I'm not sure how hard it would be to implement that into FFDL, but if you feel up to it, say so and I'll post the required information here.
The .mbp file on the Kindle? I can take a look at your info, but I'm not sure what FFDL could do with it--calibre doesn't have that file available and even if FFDL wrote it, would calibre send it to the device?
JimmXinu is offline  
Old 07-28-2012, 05:07 PM   #668
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
@JimmXinu, I actually went ahead and implemented it myself because it was something I really wanted to see for a long time. It also works flawlessly on my end, so for courageous people I'll attach it below. There was no easy and obvious way for it to work like I wanted, so I had to implement it as a device plugin that monkey-patches the built-in "Kindle 2/3/4/Touch Device Interface".

There should be no problems when Calibre updates, as long as there are no not-backwards compatible changes to the API.

To install it first disconnect your Kindle, disable the built-in "Kindle 2/3/4/Touch Device Interface" plugin in the "Device Interface plugins" section and then install my mod. After that simply restart Calibre.

Here is the code for anyone curious. As I said, I'm not responsible for any damages that it might cause -- I can just state that it works on my end.

And to clarify again: Using this simply allows you to keep your current reading location along with other metadata when you update a story with FFDL while using a Kindle or somehow else cause its UID to change. For example you are reading a story called "XYZ" and are currently at location ABC. Now usually when you would update the story with FFDL your current location would be reset, your highlights would disappear etc. -- using this they don't.
Attached Files
File Type: zip Kindle 2, 3, 4, Touch Device Interface MBP Update Mod.zip (875 Bytes, 166 views)

Last edited by cryzed; 07-28-2012 at 05:39 PM.
cryzed is offline  
Old 07-28-2012, 06:00 PM   #669
iatheia
Zealot
iatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmos
 
Posts: 139
Karma: 21754
Join Date: Mar 2011
Device: Kindle 3, Icarus Illumina XL, Boyue T62
This is very nice, but, wouldn't it make more sense not to integrate it into FFDL, but rather create a separate plug-in, so it would work for all mobi files upon sending to the device, including those from epub conversion?
iatheia is offline  
Old 07-28-2012, 06:01 PM   #670
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
That is currently the case, it is not integrated into FFDL and it should work exactly as you just described. I suggested integrating it into FFDL before I had read up on the Calibre plugin structure and now realize that this would be rather hard, keeping it like this ought to be ideal.

If the modification is popular enough I might consider creating an extra thread.

Last edited by cryzed; 07-28-2012 at 06:08 PM.
cryzed is offline  
Old 07-28-2012, 06:05 PM   #671
iatheia
Zealot
iatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmos
 
Posts: 139
Karma: 21754
Join Date: Mar 2011
Device: Kindle 3, Icarus Illumina XL, Boyue T62
I mean if you were to release an actual plugin for it, something to load into calibre and use without modification or compilation on the user part.
iatheia is offline  
Old 07-28-2012, 06:08 PM   #672
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
@cryzed - I think it's a good idea. And I think we all agree now, it's not something FFDL should (or even can) do.

I suggest you submit a patch to the built-in "Kindle 2/3/4/Touch Device Interface" plugin to do this. I bet they'd incorporate it in calibre directly.
JimmXinu is offline  
Old 07-28-2012, 06:10 PM   #673
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Maybe I am misunderstanding you, but: The attached *.zip file below my post is exactly that, an "actual plugin" -- the user doesn't need to modify anything, he simply needs to deactivate the built-in Kindle device interface and use mine. My plugin is written in such a way that it doesn't get outdated and always has the exact same features as the built-in plugin, even if it is updated.
cryzed is offline  
Old 07-28-2012, 06:13 PM   #674
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
@Jimm, I will create a thread then and collect some feedback and hope that David or another contributor stumbles upon it for now.
cryzed is offline  
Old 07-28-2012, 06:19 PM   #675
iatheia
Zealot
iatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmosiatheia has become one with the cosmos
 
Posts: 139
Karma: 21754
Join Date: Mar 2011
Device: Kindle 3, Icarus Illumina XL, Boyue T62
That is accessible to everyone who is browsing plugins on Calibre directly, and not just people who are browsing completely random thread 40+ pages in =)

But Jim's suggestion is better, ignore me.
iatheia is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Count Pages kiwidude Plugins 1750 04-07-2024 01:20 AM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] Resize Cover kiwidude Plugins 95 03-16-2024 11:55 PM
[GUI Plugin] Find Duplicates kiwidude Plugins 1096 03-16-2024 11:28 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:03 AM.


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