View Single Post
Old 11-11-2010, 04:07 AM   #21
JvdW
Zealot
JvdW doesn't litterJvdW doesn't litter
 
Posts: 115
Karma: 150
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
Hello Kovid,

Hoping that you read posts on old threads, sorry to revive this one because of the context it supplies.

Quote:
Originally Posted by kovidgoyal View Post
Actually, I'm sorry, what happens is that when a news download completes, the id is recorded in a config file which is then used to sync

Assuming you can find out the id of the freshly added news (which should be easy to do using calibredb, the following command will mark it to be synced

Code:
calibre-debug -c "from calibre.gui2 import dynamic; ids = dynamic.get('news_to_be_synced', set([])); ids.add(35); dynamic.set('news_to_be_synced', ids)"
replace 35 with the id of the freshly added news
As can be seen of the posts in this thread all was (is) well until 0.7.24?
I had .7.23 on my computer at work and could run the batchfile and Calibre would automatically send the news to my reader (505). At home it didn't work anymore but there I try to keep up with the latest version.

There is mentioning in the changelog about a change in sending news to the reader with multiple libraries but I don't know if that is the cause but the line of code you suggested doesn't work anymore with versions above .7.23. I do see it being present in dynamic.pickle but can't see if its correct. Downloading news through a recipe works OK in .7.27

Do you have any idea what might be cause this and a pointer to fix it?

Thanks in advance,

Joop
JvdW is offline   Reply With Quote