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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-17-2012, 06:55 AM   #16
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by mwheinz View Post
GRiker,

It occurs to me from digging around that it might work if calibre generated a *.scpt file then executed it with osascript. Might only be a temporary fix, however, if Apple is really going to eliminate scripting.

Hmmm... I assume that means Automator is gone, too...
If you take a look at the Apple driver code you will see that there are dozens of calls to iTunes in any given transfer operation. If someone wants to tackle re-engineering the Apple driver to use this approach, they're welcome to tackle it, but it's not something I'm going to do.

I believe what we're seeing is the first step of iTunes becoming fully sandboxed.
GRiker is offline   Reply With Quote
Old 06-17-2012, 06:59 AM   #17
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by ashamam View Post
Hmm a simple workable solution atm would be to tune the save to disk functionality to be able to perform the same metadata magic that the direct import to iTunes used to. I have tried all sorts of exports and cannot get metadata to stick and update in the export files when dumped into iTunes. Now either iTunes is either remembering the first import and then overwriting all future imports of the same book (after deletion in iTunes) or the metadata isn't updating properly on export.

I've set the appropriate preferences to update metadata, I've also tried converting from epub to epub and also tried the modify epub plugging.

But exporting to a folder and dragging to iTunes would be relatively painless. Obviously non-ibooks readers are also an option but you lose the push updates to your multiple devices and page syncing.
The 'metadata magic' happens when talking directly to iTunes after the initial transfer of the book. There's a limited amount of metadata that iTunes pulls from the OPF file in the EPUB (title/author/subject), but the rest happens through OSA, mimicking what would happen if the user were manually editing the other fields after adding the book.
GRiker is offline   Reply With Quote
Old 06-18-2012, 12:54 PM   #18
mwheinz
award-winning bozo
mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.
 
Posts: 252
Karma: 157113
Join Date: Sep 2009
Location: Philadelphia
Device: Sony PRS-600
Odd that the Windows version still works. I assume you have to use a completely different mechanism for Windows?
mwheinz is offline   Reply With Quote
Old 06-18-2012, 01:16 PM   #19
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,094
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by mwheinz View Post
Odd that the Windows version still works. I assume you have to use a completely different mechanism for Windows?
That will be because the Sandboxing is an OS level facility that is specific to Mac OSX Lion - and thus does not have a direct equivalent in Windows.
itimpi is offline   Reply With Quote
Old 06-18-2012, 04:19 PM   #20
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by mwheinz View Post
Odd that the Windows version still works. I assume you have to use a completely different mechanism for Windows?
itimpi is correct - the automation interface for Windows is entirely different than OS X. If you look at the Apple driver source code, you'll see that the low-level I/O functions with iTunes are partitioned into 'if OSX' and 'if Windows', each with their own peculiarities and capabilities.

It makes sense that Apple is more concerned about rogue apps in the OS X space than Windows.

G
GRiker is offline   Reply With Quote
Old 06-18-2012, 09:47 PM   #21
sdow1
Connoisseur
sdow1 began at the beginning.
 
Posts: 53
Karma: 10
Join Date: Apr 2010
Location: new york city
Device: nook, ipad
I suppose it's silly to even ask, but I'm guessing this means that the option to connect directly to iPad (even though somewhat depreciated) won't work either as an alternative?

I have been attempting to set up the content-server option, but after hours of trying, I am left completely stymied. It may seem easy to others, but I'm at a loss there. For the moment I have my calibre library stored in my DropBox folder, and I'm manually importing things to ibooks, but it means after reading, I now have to think about deleting items in multiple places (calibre, iTunes, iPad, etc.) rather than managing it all via calibre with iTunes connected.

The iTunes option was so easy and manageable for me, and this just...sucks.

argh.
sdow1 is offline   Reply With Quote
Old 06-18-2012, 10:05 PM   #22
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
The direct connect feature worked through iTunes, so it no longer works either.

Argh indeed.
GRiker is offline   Reply With Quote
Old 06-19-2012, 09:27 AM   #23
mwheinz
award-winning bozo
mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.
 
Posts: 252
Karma: 157113
Join Date: Sep 2009
Location: Philadelphia
Device: Sony PRS-600
Sigh.

Quote:
External application scripts: Apps can also use AppleScripts “externally”—which is to say the user initiates them, typically from the app’s Scripts menu. In Mountain Lion, such scripts will have to be installed in app-specific folders within ~/Library/Application Scripts. By default, applications in Mountain Lion won’t be able to save files to that folder, but users will be able to.

A developer offering a sandboxed app could therefore offer a downloadable set of AppleScripts from its own website. If the user then installs those scripts in the proper location, those scripts can be freely run by the user within the app, with no special entitlements needed. That’s because the user needed to intentionally install those scripts and then to trigger their execution. Because Apple considers the user the ultimate authority over his or her own Mac, the script will be allowed to run.

Developers who worry about whether or not users will install scripts in the right place will be able to create installers that place the scripts correctly; if the user runs and authorizes the installer, that’s treated as permission to put the scripts in the right place.
So, basically, it sounds like someone would have to write an Apple Script that could read the Calibre database and import files to iTunes.

Except, of course, Apple Script has been the lonely stepchild of Apple development for seven or eight years now.

I really like how apparently even the scripts I have in ~/Libraries/Scripts will have to be moved to a new folder in order to continue running.
mwheinz is offline   Reply With Quote
Old 06-19-2012, 09:29 AM   #24
mwheinz
award-winning bozo
mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.
 
Posts: 252
Karma: 157113
Join Date: Sep 2009
Location: Philadelphia
Device: Sony PRS-600
GRiker,

I've pulled the source to take a look at my idea of generating a .scpt file and running it with osascript; but I'm not going to make any promises - I've got several commitments over the next several weeks so I may not be able to look at this till late July.

Another possibility, based on the above quote, is to have calibre export a list of files and meta data, then have the user manually execute a script that reads the list and imports the files into iTunes.

Not nearly as good as the current model.

Last edited by mwheinz; 06-19-2012 at 09:47 AM.
mwheinz is offline   Reply With Quote
Old 06-20-2012, 08:06 PM   #25
txpece
Junior Member
txpece began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2012
Device: iPad/Kindle Touch/iPhone
Advice

Long time Calbre user, first time poster here-

I sent a complaint to Apple about the sandboxing issue with Calibre communicating to iTunes and on a whim I emailed it to Tim Cook. Long Story short, I got an email from Apple Corporate Relations asking to have a phone conversation tomorrow. Any words of advice when I talk to them? Anything specific I should mention about this issue?

Thanks in advance.
txpece is offline   Reply With Quote
Old 06-20-2012, 08:29 PM   #26
mwheinz
award-winning bozo
mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.mwheinz can grok the meaning of the universe.
 
Posts: 252
Karma: 157113
Join Date: Sep 2009
Location: Philadelphia
Device: Sony PRS-600
I would simply point out how many tools have been developed over the years that need this interface - and how poorly Apple has communicated these changes to their users.

After all - did they warn anyone that iTunes 10.6.3 would break our scripts?

If you google for "itunes 10.6.3 applescript" you'll see developers complaining on stackoverflow, (http://stackoverflow.com/questions/1...90383#11090383) and users complaining about their scripts breaking (http://www.leancrew.com/all-this/201...hon-appscript/).
mwheinz is offline   Reply With Quote
Old 06-20-2012, 09:12 PM   #27
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
Quote:
Originally Posted by txpece View Post
Long time Calbre user, first time poster here-

I sent a complaint to Apple about the sandboxing issue with Calibre communicating to iTunes and on a whim I emailed it to Tim Cook. Long Story short, I got an email from Apple Corporate Relations asking to have a phone conversation tomorrow. Any words of advice when I talk to them? Anything specific I should mention about this issue?

Thanks in advance.
I filed a bug report #11676187 with Apple on June 15.

G

Last edited by GRiker; 06-20-2012 at 09:14 PM.
GRiker is offline   Reply With Quote
Old 06-22-2012, 11:05 AM   #28
charliecat
Junior Member
charliecat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: sony PRS-505
a very basic question

Hello all,
i have a new ipad, where can find a copy of the old itunes 10.6.1, everywhere i look gives me the latest version. The only copy i can find is in oldapps and it is the Win version, there are no old copies for Mac
thanks
charliecat is offline   Reply With Quote
Old 06-22-2012, 11:22 AM   #29
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,497
Karma: 424627
Join Date: Mar 2009
Device: iPad
If you use Time Machine, and you've recently updated iTunes, you can roll back to the previous version that was installed on your machine.

G
GRiker is offline   Reply With Quote
Old 06-22-2012, 12:35 PM   #30
charliecat
Junior Member
charliecat began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2009
Device: sony PRS-505
Thanks G, brand new, this is the only version...
so, no books on my ipad them
charliecat 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
calibre will not connect to itunes mishka1999 Devices 3 12-30-2011 02:25 AM
iPad calibre will not connect to itunes mishka1999 Apple Devices 0 12-24-2011 01:37 AM
Calibre - Connect to iTunes Epub Filename christophlin Devices 3 08-09-2011 03:47 PM
Way to connect to iTunes when loading Calibre ab257 Devices 0 06-02-2011 02:38 PM
Calibre won't connect to iTunes bookcroc Devices 17 02-05-2011 03:11 PM


All times are GMT -4. The time now is 04:45 PM.


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