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 03-08-2017, 05:32 AM   #106
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 811
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
Would it possible to add the following to the Job Spy plugin – https://www.mobileread.com/forums/sh...7&postcount=58

Thanks
Tanjamuse is offline   Reply With Quote
Advert
Old 03-08-2017, 10:49 AM   #107
DaltonST
Deviser
DaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileRead
 
DaltonST's Avatar
 
Posts: 837
Karma: 65386
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Quote:
Originally Posted by Tanjamuse View Post
Would it possible to add the following to the Job Spy plugin – https://www.mobileread.com/forums/sh...7&postcount=58

Thanks
@Tanjamuse:

Nope. Sorry.


DaltonST
DaltonST is offline   Reply With Quote
Old 03-09-2017, 02:43 AM   #108
Tanjamuse
Guru
Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!Tanjamuse , Klaatu Barada Niktu!
 
Posts: 811
Karma: 5258
Join Date: Jan 2014
Device: Samsung Galaxy Tab 3
Thanks for considering it.
Tanjamuse is offline   Reply With Quote
Old 04-13-2017, 12:51 PM   #109
Nicolas F
Enthusiast
Nicolas F began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Thanks for this plugin!
I've been trying to theme your plugin, but it seems the icons of your plugin can't be changed by putting the replacement in "AppData\Roaming\calibre\resources\images\Job Spy"

If I'm not mistaken, you need to change the path to the user's local resources/images folder in common_utils.py (change in red):
Code:
def get_local_images_dir(subfolder=None):
    '''
    Returns a path to the user's local resources/images folder
    If a subfolder name parameter is specified, appends this to the path
    '''
    images_dir = os.path.join(config_dir, 'resources/images')
    if subfolder:
        images_dir = os.path.join(images_dir, subfolder)
    if iswindows:
        images_dir = os.path.normpath(images_dir)
    return images_dir
Maybe you can change it next time you update your plugin?
Nicolas F is offline   Reply With Quote
Old 04-13-2017, 04:58 PM   #110
DaltonST
Deviser
DaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileRead
 
DaltonST's Avatar
 
Posts: 837
Karma: 65386
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Version 1.0.54

Version 1.0.54 -2017-04-13 User-defined icons and main menu tweaks.



DaltonST
DaltonST is offline   Reply With Quote
Advert
Old 04-14-2017, 04:03 AM   #111
Nicolas F
Enthusiast
Nicolas F began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Thanks for the quick update!
Nicolas F is offline   Reply With Quote
Old 04-30-2017, 12:44 AM   #112
BetterRed
null operator
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: 8,405
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I installed JS to clean out the preferences for PI's I have uninstalled and no longer use. I ran the feature on all my libraries. As a result I then had a __jspref (I think that was the name) table in every database.

Is there some way to remove the JS data from a database when/after it's been un-installed, other than via a 3rd party utility.

BR
BetterRed is online now   Reply With Quote
Old 04-30-2017, 02:40 AM   #113
DaltonST
Deviser
DaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileReadDaltonST has read every ebook posted at MobileRead
 
DaltonST's Avatar
 
Posts: 837
Karma: 65386
Join Date: Aug 2013
Location: Texas
Device: 8" Windows 10 Tablet
Quote:
Originally Posted by BetterRed View Post
I installed JS to clean out the preferences for PI's I have uninstalled and no longer use. I ran the feature on all my libraries. As a result I then had a __jspref (I think that was the name) table in every database.

Is there some way to remove the JS data from a database when/after it's been un-installed, other than via a 3rd party utility.

BR
BR:

I wanted to do that automatically when JS is uninstalled, but the API does not (yet?) have an "on_permanent_uninstall" function that can be overridden in ui.py to do things such as that.

In the meantime, try this as a .bat file:

Code:
calibre-debug -c "import sqlite3;conn = sqlite3.connect('X:\MyLibraryName\metadata.db');c = conn.cursor();c.execute('DROP TABLE IF EXISTS __js_settings');conn.commit();conn.close()"

I have used the above while testing JS, so it works for me on Windows 10. I saved the .bat file as an ASCII text file, not UTF-8.


DaltonST
DaltonST is offline   Reply With Quote
Old 04-30-2017, 03:37 AM   #114
BetterRed
null operator
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: 8,405
Karma: 7071999
Join Date: Mar 2012
Location: Sydney Australia
Device: none
No worries. I was wondering if I'd missed something.

I'm happy using SQLiteBrowser of SqlLiteExpert as and when needed.

Thanks BR
BetterRed is online now   Reply With Quote
Reply

Tags
job details

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 402 03-05-2017 10:31 AM
[GUI Plugin] Marvin XD Philantrop Plugins 126 01-29-2017 12:48 PM
[GUI Plugin] Ex Libris AlPe Plugins 74 01-21-2017 02:38 AM
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) DurgaPrasad Calibre 0 10-16-2013 06:50 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 11:15 PM.


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