![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Suggestion: Scheduled connection
I was musing this morning about calibre news feeds and how they interface with devices.
Would there be any benefit in having CC able to "schedule" a wireless device connection to calibre, and then, calibre could perform it's automatic transfer of a scheduled recipe run to CC? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This is really a question for the rest of the CC community. I wouldn't use the feature, but that doesn't mean it isn't useful.
One question: how is this significantly better than connecting by hand? Are you trying to avoid waiting for all the handshaking to complete? Also, clearly this feature would require that calibre be running at scheduled connection time. I am not sure how a feature like this would interact with devices going to sleep, or behave if Android decides to kill CC's process because it has been in the background too long or if CC is already connected. There may be dragons there. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
My thinking was that of totally automating the news delivery process from calibre to CC so that one could leave home in the morning with the day's news loaded with no manual intervention; great for people with a hectic morning schedule.
|
![]() |
![]() |
![]() |
#4 |
Wannabe Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 426
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
This is a feature I'd use, with Peter's exact use case.
Cheers, Simon. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The next beta (sometime in the next few days) will have the option of a scheduled connection once per day at a fixed time. It seems to work, tolerating the device being off (not cold-boot off but off-button off), already connected as a wireless device, and already connected to the content server.
Because it must operate when the phone is sleeping it cannot talk to the user. Because of this, if a connection goes wrong the only way to know what happened is to look at CC's debug log. I confess to being a bit nervous about this feature. CC wasn't designed to do WD connections in the background. We will see if I have handled the multi-thread access cases correctly. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This feature is in beta but so far none of the testers seem interested in it. Would either of you consider joining the program to test it before general release?
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Will do...
|
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 655
Karma: 5078890
Join Date: Feb 2014
Device: Kobo Glo (deceased), Kindle 4th, Kindle Basic 10th Generation
|
Any updates on how this works?
I must admit, I don't really have a specific need for this feature since all I have on my library are books (also comics and manga) and nothing else. So I just add the books on Calibre and sync it to my device immediately after. But I am all for implementing new features. |
![]() |
![]() |
![]() |
#9 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
It's working great. Now when I head out the door in the morning, I always have the daily scraping of The Toronto Star to peruse on my tablet.
|
![]() |
![]() |
![]() |
#10 |
Member
![]() Posts: 20
Karma: 10
Join Date: Jan 2012
Location: Germany
Device: Energy Sistem eReader Pro (Boyue T62)
|
I use the cloud connection (Dropbox), so I can't use any schedules for a wireless device connection
![]() What I would like is a shortcut or something like that so that I can trigger a cloud sync whenever I've automatically established a WiFi connection at night with my automation tool. "Cloud sync" meaning that CC would pull all books not on the device from the cloud and (maybe) delete all books that are no longer available in the cloud. Though it would probably better if an automatic sync would not delete anything or only as an advance feature with a proper warning at setup ![]() That way I can better control the sync. So only try to sync if WiFi is connected and battery has enough juice or charger is connected or something like that without adding that ballast to CC... |
![]() |
![]() |
![]() |
#11 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
If you have a calibre library in Dropbox then you must have a computer that runs calibre. Why not have calibre auto-start at a particular time then use CC's existing auto-connect? You could also use the reading list plugin to automatically send new books during this auto-connection. You mention choosing whether or not to auto-connect based on some criteria. Currently CC's auto-connect service is private, but I have no problem making it public. That should allow your tool to ask CC to auto-connect whenever it wants by invoking the service com.multipie.cclibrary.ConnectionAlarmService. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scheduled tasks | Acuum | Kindle Developer's Corner | 4 | 10-03-2010 10:38 PM |
Classic my rooted nook lost wifi connection, need suggestion! | ctos | Nook Developer's Corner | 8 | 08-19-2010 01:01 AM |
Scheduled Wireless? | Oddjob | Kindle Developer's Corner | 3 | 08-18-2010 10:42 AM |
Wireless internet connection frustrating IDS connection | Socrates | iRex | 8 | 10-21-2009 12:46 PM |
Synchronize Scheduled Downloads | stonesown | Calibre | 1 | 08-03-2009 12:24 PM |