|
|
#1 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Command line interface to import to libprs500 database
So I wrote an automator "script" for my Mac tonight that does the following:
1. Takes a URL from the clipboard 2. Downloads the HMTL page 3. Asks me for a name for the new file and title 4. Runs the HTML2LRF command from libprs500 5. Moves the file to an import folder 6. Sets a growl notification The final step in my evil plan will be to import it into the database and set the Series tag to something specific so that I know to copy to the reader next time I run libprs500. Ideally, there would be another step, and that would be to automatically import all flagged items (in a series or with a tag) to the Reader once it's connected. Is there a command to import lrf's into the database? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,615
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 962
Karma: 568242
Join Date: Dec 2007
Device: Kindle Oasis 3, Kindle Paperwhite 1, iPad, iPhone
|
Doh. I searched on your site but I didn't see the ticket. I'm trying to learn Python as fast as I can so that I can help, believe me!
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,615
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Cool patches are always welcome
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre Command Line Interface TOC | bcolflesh | Calibre | 3 | 02-04-2010 05:09 PM |
| Where are the command line tools? | PaulChernoch | Calibre | 17 | 10-23-2009 01:08 PM |
| Why use the command line? | slantybard | Calibre | 6 | 07-22-2009 01:17 PM |
| Errors on Command Line | drnkusv | Calibre | 11 | 11-07-2008 03:59 PM |