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

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2011, 09:20 AM   #1
pilotsnipes
Junior Member
pilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enough
 
Posts: 7
Karma: 530
Join Date: Jan 2011
Device: pilotsnipes
Pausing Recipes (like a Holiday mode)

Hello folks,

I genuinely don't know what to be searching for here to answer my question, but I did have a good look around the Bug tracker and this forum for something that would help, but I didn't see anything.

I only tend to use the schedule news feature in calibre when I leave to go on my holidays. I love selecting a few recipes, setting up a schedule time and leaving my computer on as I head off to sunnier weather for a couple of weeks!

Calibre has worked perfectly, collecting the newspapers every morning and sending them to my kindle email address, so when I connect to the internet in the morning they all download and I can hit the beach and chill out reading.

I LOVE IT! Thank you

However, it's when I come home that I miss being able to *Temporary* switch off/pause calibre from retrieving the recipes every day.

I don't have the time in a normal work week to read everything and so when I launch calibre during the months that I'm not on holiday, it always wants to rush off and get all the news and send them to my kindle...something I don't want.

If I go into the schedule news section and untick the "Schedule for download" check box for one of my recipes, the recipe will disappear from my (green) Scheduled list. This is fine, it just means I have to manually remember to set up each recipe again everytime I go on holiday/abroad. Regularly I forget what I had previously set up.

If I instead for a recipe, untick every day of the week (mon, tue, wed...) but leave "schedule for download" ticked, I get the following error

Quote:
calibre, version 0.8.5
ERROR: Unhandled exception: <b>ValueError</b>:invalid literal for int() with base 10: ''

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\scheduler.py", line 278, in current_changed
File "site-packages\calibre\gui2\dialogs\scheduler.py", line 339, in initialize_detail_box
File "site-packages\calibre\web\feeds\recipes\model.py", line 244, in schedule_info_from_urn
File "site-packages\calibre\web\feeds\recipes\collection.py", line 452, in get_schedule_info
File "site-packages\calibre\web\feeds\recipes\collection.py", line 365, in un_serialize_schedule
ValueError: invalid literal for int() with base 10: ''


Would there be any chance of getting a "pause all" button for the fetching the news?

That way, I could set up every news source I wanted, click pause, then in a few months/weeks when I am next heading away, I can unpause it and everything will kick off again - making me a very happy bunny.


I hope that all made sense, perhaps the feature already exists - could someone point it out to me!!?

Thank you for your time.
pilotsnipes is offline   Reply With Quote
Old 07-07-2011, 11:26 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by pilotsnipes View Post
Would there be any chance of getting a "pause all" button for the fetching the news?
The feature doesn't currently exist. To request it, you'd go through the bug reporter. To work around, you can probably find the scheduled recipe list (I think it's scheduler.xml) in the config directory and edit it, then replace it with the unedited copy when you want to resume. IIRC, there's a line in there for each scheduled recipe. I don't have time to test it out, but perhaps Kovid or someone else will comment on whether that would work for you.
Starson17 is offline   Reply With Quote
 
Advertisement
Old 07-07-2011, 01:30 PM   #3
pilotsnipes
Junior Member
pilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enoughpilotsnipes will become famous soon enough
 
Posts: 7
Karma: 530
Join Date: Jan 2011
Device: pilotsnipes
I have (kind of) done this: https://bugs.launchpad.net/calibre/+bug/806939

The scheduler.xml work around is certainly something that would be easy to implement.

My only concern, would newer versions of Calibre possibly produce a different structure in the scheduler.xml file, so that when I used my old file months later would it cause a wobbly and/or errors.....

Suppose only testing will answer that! (But I'd probably be sitting by the pool at that stage )
pilotsnipes 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
A Very Zombie Holiday csdaley Self-Promotions by Authors and Publishers 0 05-16-2011 03:38 PM
A holiday Logseman Writers' Corner 0 03-01-2010 09:56 AM
ePub keeps pausing to format on page changes Crowl Sony Reader 6 10-09-2009 02:38 PM


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


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