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 12-01-2010, 11:38 AM   #1
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Driver Plugin not rekognized

Seeing how the OYO currently does not extract covers from epubs etc, I modified the source to support it. I was told that it's not planned to support it officially cause it uses the same usb id as another device. So i tried to make a plugin from my modifications, but somehow that did not work as expected. I thought I could just copy my OYO class to a .py file and load a zip containing this file, but calibre tells me the file does not contain a valid plugin.
What am I missing?
Attached Files
File Type: zip oyo.zip (673 Bytes, 481 views)
silentguy is offline   Reply With Quote
Old 12-01-2010, 11:42 AM   #2
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: 43,779
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
your py file has to have a name that ends with _plugin.py
kovidgoyal is offline   Reply With Quote
Advert
Old 12-01-2010, 12:14 PM   #3
silentguy
Connoisseur
silentguy doesn't littersilentguy doesn't littersilentguy doesn't litter
 
Posts: 88
Karma: 200
Join Date: Nov 2010
Location: Dortmund, Germany
Device: Kindle Paperwhite (10. Generation)
Oh, hey, that was easy. Now it works. Thanks.
Not sure which driver get's priority now but with avant deactivated it works just fine.
Attached Files
File Type: zip oyo_plugin.zip (677 Bytes, 445 views)
silentguy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
Are you a better than average driver? Adoby Lounge 126 09-10-2010 01:52 PM
Seriously thoughtful If you're a driver .... scary ! GeoffC Lounge 6 04-18-2010 12:28 AM
Driver for Win XP idle OpenInkpot 6 02-04-2010 07:59 AM


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


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