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 12-01-2010, 12:38 PM   #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, 524 views)
silentguy is offline   Reply With Quote
Old 12-01-2010, 12:42 PM   #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: 44,657
Karma: 24966646
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, 01: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, 496 views)
silentguy is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 09:39 AM.


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