Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2014, 08:50 AM   #616
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,317
Karma: 4990000
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by Jellby View Post
Speaking of which, I'd also like a way to update a book if the target filename changes (by changing the metadata or the save template): remove the old file, save the new file, and update the database entries with the new filename.
It sounds like you want a more general "Reorganise books" function. And it does make sense as an extension of the "move to SD card" function. If the move to SD card is practical, this would be as well.
davidfor is offline   Reply With Quote
Old 08-24-2014, 09:59 AM   #617
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,103
Karma: 4791309
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by davidfor View Post
It sounds like you want a more general "Reorganise books" function.
Yes, but I was thinking more in the situation where fix some metadata in book, which changes the result of the save template, and I re-upload the book without realizing this. I end up with a duplicate book in the device. It would be great if this could be taken care of.
Jellby is offline   Reply With Quote
Old 08-25-2014, 07:12 PM   #618
auspex
Zealot
auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.auspex ought to be getting tired of karma fortunes by now.
 
auspex's Avatar
 
Posts: 135
Karma: 1066430
Join Date: Sep 2012
Location: Nova Scotia
Device: Sony PRS-T2, Samsung Galaxy Ace IIx
Quote:
Originally Posted by davidfor View Post
I think you will make a some people very happy if you do that.

I don't have a Sony device, but I have looked at a copy of the database and some other structures. A lot of the concepts in the plugin will map across fairly well.
...
From memory of the Sony driver, there isn't quite the direct link to the database that the Kobo driver has.

I hope you are also considering annotations.
Yes, I think a lot of things will translate easily. And you're right that the database will be marginally harder. otoh, there's no such thing as a separate annotation file, so they're just another database query. It's the annotations that I really, really, want.

I just noticed something in the KoboUtilities plugin.

In dialogs.py, you:
Code:
try:
    ...
    from PyQt5 import QtWidgets as QtGui
except ImportError as e:
    from PyQt4 import QtGui
while in config.py, it's:
Code:
try:
    ...
    from PyQt5 import QtGui
except ImportError as e:
    from PyQt4 import QtGui
Now, it appears to be an unused import in config, but to save you grief if you later need to use QtGui, you might want to make those match!
auspex is offline   Reply With Quote
Old 08-25-2014, 10:37 PM   #619
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,317
Karma: 4990000
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by auspex View Post
Yes, I think a lot of things will translate easily. And you're right that the database will be marginally harder. otoh, there's no such thing as a separate annotation file, so they're just another database query. It's the annotations that I really, really, want.
The only part of the plugin that looks at the annotations file is the annotations file backup. The bit that reads and displays the annotations uses the database. And it uses as much of the driver annotation support as it can. The same goes for the annotations plugin. But, in that case the code was copied and modified heavily. I actually should look at the changes and copy some of them back to the driver.
Quote:
I just noticed something in the KoboUtilities plugin.

In dialogs.py, you:
Code:
try:
    ...
    from PyQt5 import QtWidgets as QtGui
except ImportError as e:
    from PyQt4 import QtGui
while in config.py, it's:
Code:
try:
    ...
    from PyQt5 import QtGui
except ImportError as e:
    from PyQt4 import QtGui
Now, it appears to be an unused import in config, but to save you grief if you later need to use QtGui, you might want to make those match!
The Qt5 imports were done to minimise the changes elsewhere and to keep the plugin working in both environments. The refactoring done from Qt4 to Qt5 meant that some classes and methods moved or changed names. Hence the import of "QtWidgets" as "QtGui". QtGui still exists in Qt5, it just happens that I don't need it directly in this plugin. At least one of the others I ported did. And the leftover QtGui in config.py is also because of this. For some reason I had "QtGui.QSpinBox" rather than import QSpinBox directly. I changed that for the new version and forgot to cleanup the imports.

Some time in the future I will remove the Qt4 references and clean all this up. But, it won't happen until I think that most people have moved to calibre v2.
davidfor is offline   Reply With Quote
Old 08-25-2014, 10:42 PM   #620
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,520
Karma: 5567081
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by davidfor View Post
Some time in the future I will remove the Qt4 references and clean all this up. But, it won't happen until I think that most people have moved to calibre v2.
Please don't remove this flexibility from any PI.

This Friday is Doom day for Calibre 2.0 on XP, that means many XP users will join the ranks of old MAC users and will be back to running older versions of Calibre.
theducks is offline   Reply With Quote
Old 08-25-2014, 11:07 PM   #621
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,317
Karma: 4990000
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
Quote:
Originally Posted by theducks View Post
Please don't remove this flexibility from any PI.

This Friday is Doom day for Calibre 2.0 on XP, that means many XP users will join the ranks of old MAC users and will be back to running older versions of Calibre.
I was thinking at least six months, but I had forgotten about XP and older MACs. But, there is another problem. As this is a device related plugin, as the device firmware is updated, it needs changes to keep working. The way the Kobo devices and the driver works, this isn't that much of an issue until a new device is released. I can think of a way to solve this if there are two many people impacted.

OK, for the foreseeable future, I will leave the Qt4 support in the plugin. But, I probably won't do any testing with 1.48 unless someone reports a problem.
davidfor is offline   Reply With Quote
Old 08-26-2014, 10:37 AM   #622
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,520
Karma: 5567081
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by davidfor View Post
OK, for the foreseeable future, I will leave the Qt4 support in the plugin. But, I probably won't do any testing with 1.48 unless someone reports a problem.


That is fair
theducks is offline   Reply With Quote
Old 08-26-2014, 05:20 PM   #623
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,739
Karma: 17806730
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by theducks View Post
Please don't remove this flexibility from any PI.

This Friday is Doom day for Calibre 2.0 on XP, that means many XP users will join the ranks of old MAC users and will be back to running older versions of Calibre.
Where was the announcement that Calibre 2.x will no longer run on XP?
JSWolf is offline   Reply With Quote
Old 08-26-2014, 07:09 PM   #624
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 6,703
Karma: 43902504
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Indirectly in some of threads discussing people having issues with XP and calibre 2.

An additional issue is that QT5 requires SSE (or was it SSE2) support in the hardware, and without that it dies. Sigil ran into a similar issue with SSE(2) support.
PeterT is offline   Reply With Quote
Old 08-26-2014, 07:57 PM   #625
gbm
Guru
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 648
Karma: 1275420
Join Date: Jun 2010
Device: Hisence Sero 7 Pro, Nook STR, jetbook lite
Quote:
Originally Posted by JSWolf View Post
Where was the announcement that Calibre 2.x will no longer run on XP?
Right here.


bernie
gbm is offline   Reply With Quote
Reply

Tags
kobo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Hyphenate This! SauliusP. Plugins 191 08-28-2014 05:48 PM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 257 08-23-2014 10:38 PM
[GUI Plugin] EpubSplit JimmXinu Plugins 143 08-19-2014 08:58 PM
[GUI Plugin] Wordpress frescogamba Plugins 8 05-20-2014 12:22 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 05:36 PM.


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