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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-07-2008, 07:13 PM   #1
gandor62
Connoisseur
gandor62 began at the beginning.
 
gandor62's Avatar
 
Posts: 99
Karma: 14
Join Date: Jun 2008
Location: Brisbane Australia
Device: iPod Touch, Ipad, Kindle 2
Nedd a little help with a python script

Can anyone help me with setting up a python script in Calibre?



I need it to pick up the meta data for the following
I have a few books saved as follows so I could read the title on a PDA.

[Series] - 1 - Title of the book(Author)

(?P<title>.+) - (?P<author>[^_]+) is the default script in Calibre but I can not for the life of me work out what to do so it will pick up the correct info.

Thanks in advance

Tony

Last edited by gandor62; 08-07-2008 at 07:17 PM. Reason: Still cant spell, make it clear script in Calibre
gandor62 is offline   Reply With Quote
Old 08-07-2008, 09:59 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: 43,776
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Something like this

Code:
\[.*?\]\s*-.*?-\s*(?P<title>.+)\((?P<author>[^_]+)\)
kovidgoyal is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindlestrip Python script and AppleScript wrapper pdurrant Kindle Formats 137 08-15-2017 01:16 AM
how to use python script with windows xp tuufbiz1 Other formats 12 01-08-2011 08:22 AM
Import ebook conversion in python script erollisi Calibre 1 08-19-2010 09:43 PM
How do I get a shortcut for a Python script onto the taskbar in W7? Sydney's Mom Workshop 6 03-28-2010 08:11 PM
Python script to create collections gwynevans Sony Reader Dev Corner 2 03-13-2008 12:29 PM


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


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