Saturday, July 26, 2014

Aperture to Facebook: making images visible to Friends by default

I’d long wondered why, when I shared to Facebook from Aperture, my images were shared as ‘Only Me’.

Looks like one can change that from Facebook’s app settings:

Screen Shot 2014 07 26 at 10 30 30 AM

“Visibility of app” in this case seems to be default visibility of the item shared by app…

PS. If you turn off Facebook platform to restrict misuse of data, you also turn off all app integration and lose all app settings. Ahh, Facebook, you are at least consistent.

Sunday, July 20, 2014

iPhone with sync error: restore from iCloud fixed when restore from iTunes failed

On the eve of a big road trip my daughter’s 4S was unable to sync more than four movies - despite having 15GB of free space. As is customary with iTunes sync failures, the process completed without an error message (there are no system logs for iTunes). Despite the lack of any error notices, on the iPhone only 4 movies appeared.

When I used iTunes to view iPhone contents I saw several movies with dotted circles and faded fonts - signs of an incomplete or corrupted transfer. I couldn’t sync tv either. It looked a bit like this:

Screen Shot 2014 07 20 at 9 02 47 PM

I tried all manners of fixes to no avail. Finally I wiped the phone and restored from backup — but the behavior persisted. An Apple Store hardware diagnostic didn’t show any problems or error codes.

When I wiped and restored as a NEW phone I had no problems syncing movies. So the problem was being propagated in my backup.

I really didn’t want to set her up as a new user. Lost game data, lost local files, lots of configuration…. ugh. So as a last ditch measure I switched from backing up to iTunes to iCloud backup. Then I did a wipe and restored from iCloud backup. Which worked until it got to installing apps and media, then told me I had to do that from iTunes. 

After this two stage restore, from iCloud then from iTunes, I could sync movies normally.

I still suspect there’s also something wrong with the phone’s hardware, but for now it’s working normally and it does appear that a serious defect was being propagated by the iTunes backup — but not an iCloud backup.

iTunes 11.3: In Our Time podcast isn't working

I’m not sure this is a 11.3 thing or an In Our Time podcast (rss) bug - but episodes after 6/27/2014 aren’t downloading to iTunes (“The Sun” and “Mrs Dalloway” so far). I suspect an 11.3 bug related to renewal of a subscription following auto-unsubscribe; the bug was probably triggered because I was traveling for two weeks.

After having walked through the problem I suspect I could have restored functionality by toggling this setting the newish “Subscribed Off/On” setting. I suspect there’s a usability bug related to the older way of Subscribing/Unsubscribing and the newer Subscribed Off/On setting:

Screen Shot 2014 07 20 at 3 30 16 PM

I didn’t do that though. Instead, as described below, I reduced my exposure to Apple’s bugs by creating an external archive of the IOT Podcasts that I want to keep around.

First I showed that 11.2.2 could subscribe and re-download the new episodes, it’s easy to find these in the iTunes store:

Screen Shot 2014 07 20 at 1 04 21 PM

Fortunately I also track the same IOT feed in Feedbin: http://downloads.bbc.co.uk/podcasts/radio4/iot/rss.xml. So I was able to download the missing episodes and manually add them to iTunes. Of course these didn’t show up when I synced to my iPhone — I’d have been disappointed if they had. Apple’s routine screw-ups are rarely so easy to work around. That’s because when one adds a Podcast mp3 file by drag and drop iTunes assigns a media kind of Music:

Screen Shot 2014 07 20 at 1 25 01 PM

and 

Screen Shot 2014 07 20 at 1 25 53 PM

That worked, they now show up in my “unplayed” Playlist on both iTunes and Podcast.app. Changing Media Kind to Podcast also moves the physical file by the way.

Not surprisingly if I use Podcasts.app on my iPhone and inspect the Feed for the IOT podcast the episodes are available there for cloud download. Which suggests it is an iTunes problem.

On the iTunes side I tried resubscribing — the Subscribe button shows as available. It didn’t work though — and neither can I unsubscribe. So my iOT podcast is stuck in limbo.

I could try waiting for a new fix, but I’ve grown accustomed to Apple’s genial incompetence — it’s a kind of longstanding congenial senility [1]. It makes me feel better about the corporate setting I work in. It’s because of this pattern that I expect the first year of Photos.app (Aperture/iPhoto replacement) to be a drug-addled disaster. So instead of waiting I moved all the IOT files I could find into my file system - just as I had to do with the iBooks debacle. I did this by looking for IOT episodes in the iTunes-managed Finder folders, and also dragging and dropping from smart playlists. I made a few extra copies just to be on the safe side.

In the process of marshaling my archives I found 39 episodes I once owned and had listened to, but that Apple had kindly turned into iCloud only references somewhere along the way. Oh, Apple you are just soooo bad [2]. There’s no UI method to force download of an arbitrary set of podcasts, so I clicked the odd (UX nightmare) hidden options box 39 times (I’m sure there’s an AppleScript for this but it didn’t take long to do by hand):

Screen Shot 2014 07 20 at 1 57 55 PM

When all was done my external archive had 411 Podcasts over 8GB of storage. I’m reasonably confident this is the complete set, less all that Podcast/iTunes has deleted. Next I deleted my current and older IOT podcasts (BBC changed podcast attributes a few years ago) — interestingly this was a 2 step delete process, I had to delete to remove the Podcast subscription, then delete to remove the files. Then I had to track down residual files using Smart Playlist and delete those. When I was all done, however, iTunes still had dangling and invalid references to 125 IOT podcasts. I used Doug’s Super Remove Dead Tracks to clean those up. (I’m glad Doug has found a way to charge for these super scripts.)

After all of the above iTunes was cleaned up, so I then synced my iPhone. I found I was still subscribed to IOT (various flavors actually) in Podcasts.app, but I expected that. So I removed those from the iPhones and synced again. Everything was gone.

And… I still couldn’t subscribe to IOT from the Apple Store. So I manually entered the Feed (http://downloads.bbc.co.uk/podcasts/radio4/iot/rss.xml) the old way:

Screen Shot 2014 07 20 at 3 27 42 PM

That gave me a working podcast subscription in iTunes. I turned download episodes off (since I had my archives) and delete episodes off.

Screen Shot 2014 07 20 at 3 30 16 PM

When I dragged in my 411 archive files iTunes recreated the old Podcast entries (presumably based on metadata I can’t easily edit), so I made sure to turn off the deadly “Delete Played Episodes” feature and leave “Subscribed” turned off.

Screen Shot 2014 07 20 at 3 30 16 PM

When all was done, and various duplicates removed via Finder (iTunes would not delete them) and dead tracks recleared, I had 411 files in an iTunes smart playlist restricted to only local files:

Screen Shot 2014 07 20 at 5 42 58 PM 

Somehow (iCloud strikes), during all of this process, iTunes retained “Last Played” dates for many of the IOT podcasts I had listened to (though Play Count was not retained). So I created another Playlist:

Screen Shot 2014 07 20 at 6 32 29 PM

There’s no way to test for “Last Played” is NULL, but it turns out that NULL is > 99 months as far as iTunes is concerned.

From this list I drag and drop selected files to my IOT Next Up Playlist, which I sync to my iPhone. I also created a “Partially Played” playlist that’s populated by a manually run Doug’s AppleScript. That’s where I keep note of podcasts I’ve started.

So how does it all turn out in Podcasts.app on my iPhone? 

I’m so glad you asked. Because the newest episode wouldn’t sync there. It had a “media kind” of Music. There’s no iTunes list column for Media Kind, so I created another Smart Playlist:

Screen Shot 2014 07 20 at 6 42 02 PM

Out of my 411 episodes, 16 appeared in this Playlist. Since they all shared a Media Kind of music iTunes Get Info let me change them all to Podcast.

After that I did another iPhone sync and ….

… The newest episode still wouldn’t sync! My guess is that Podcasts.app is trying to match it with something on the IOT server, and there’s a bug there that prevents display. So I deleted my local copy from iTunes, and downloaded fresh copies from the current Podcast subscription on iTunes. Then I did another sync and this time…

… They all #$#@$@ showed up. So that’s yet another bug - and for now another workaround. Tell me again how Photos is gonna be wonderful.

Just as I do with ePubs and iBooks, I’ll maintain a podcast archive outside of iTunes — while both iTunes and Apple continue their long journey into complete dementia. 

PS. My iPhone is again accumulating “Other” space — an old CloudAssets cache bug I thought was fixed but has since recurred on several of our devices.

- fn -

[1] Apple is incompetent, Google is Evil, and Microsoft is dead. Long live the 21st century!

[2] I think this happened because Apple added the “delete played episode” feature to all of my Podcasts, including those that no longer had a subscription option. I knew to fix it on current IOT subscriptions. That wasn’t good.

Apple ID associated purchase records have jumped again: partly back to my old Dev account

Every year or so I like to check which of my four known Apple IDs has my many Apple hardware purchases associated with it. Two years ago, for example, they all jumped from one Apple ID to another. I assume Apple has a very broken distributed database system, and they try to associate records based on metadata like phone number, mailing address, email addresses, etc. Move a key around, or change the matching algorithm and purchases hop.

Today I’m pleased to report that they’ve now settled into two accounts. For a while they were all with the Apple ID I use for iTunes purchases (but not for iCloud — due to technical bugs/issues with Apple’s id infrastructure). Before that they were with an old dev account. Today 3 purchases are associated with my iTunes Apple ID, zero with my iCloud Apple ID, and 17 with the old Dev account. There’s no obvious logic for which purchase has gotten which Apple ID. Note that the old dev account is never used for anything; it’s completely inactive.

I guess I better tighten up password security on the dev account. I’ll try associated a phone number with it, that ought to really mess Apple up.

If you want to know when Apple lapsed into incompetence, just track their identity management issues. (Hint: well before Cook took over.)

Saturday, June 14, 2014

The iBooks Categories and Collections fiasco - and the Google Drive fix

Seriously, this might be worse than Podcasts.

iBooks for OS X

This list of Collections is editable in OS X

Screen Shot 2014 06 14 at 4 40 23 PM

This list of Categories is not. Only iBooks Store items get Categories now, all other items are Uncategorized.

Screen Shot 2014 06 14 at 4 43 05 PM

iTunes for OS X

iTunes no longer allows Category or Collection assignment or viewing by Category or Collection. It only knows Books and PDF. All materials that go to iBook.app on iOS need to pass through iTunes, there’s no Cloud sync. So they all appear in an undifferentiated mass from which one must select to sync.

Smart Playlists can be defined in iTunes using Media Kind of Book (but not PDF), but they are empty if one has moved media to iBooks for OS X.

iBooks for iOS 

Here again the Categories are fixed, they show up as the Gray items. Uncategorized show at top and anything that’s not purchased through the iBooks Store has is “uncategorized” (category is null). Wait, Collections are worse.

Photo

Here’s the list of Collections on iOS.They don’t match the $%$#% list of Collections on OS X.

Photo  1

Yeah, Really. Collections metadata doesn’t synchronize between iBooks.app for iOS and iBooks for OS X. They’re two independent sets.

I’ve read a lot lately about the glorious renaissance of post-WWDC Apple. I’ll believe it when I experience it myself. Until then … pathetic.

Update 614/2014 - How I dealt with this

A few things I learned about iBooks for OS X and iOS Google Drive

  • If you select all books, you can drag it the files to the desktop and create PDFs and ePubs with names that match what shows in iBooks. After you do this iBooks shows only Cloud purchases, including Cloud purchases for removed items.
  • Once iBooks knows about an iBook Store item there’s no way to forget it. You bought it, so you have it forever. Bit of a shame if it’s something like “How to pick up women” — and you’re a married man (or woman). So iPhone User Guide for iOS 5 is there forever.
  • If you view an iBook using iBooks.app on OS X it gets added back to the Library (copy).
  • Once you’ve enabled iBooks you can’t add ePub back into iTunes (There’s a way to do this by completely removing all traces of iBooks.app from OS X but I didn’t try that.)
  • If a PDF or ePub is present in Google Drive on iOS and you tap it, you have the option to open it in iBooks for iOS.
So this is what I’ve done …
  • I moved everything from OS X iBooks into my Mac’s file system — specifically to folders within Google Drive. So they’re available anywhere I reference Google Drive, including on iOS. I can tag items and organize those folders anyway I want, create Smart Folders and so on. Pretty powerful, though I don’t think I have access to author and other metadata.
  • On either iPhone or Mac I open items I want to read from Google Drive. They do get copied into iBooks, periodically I go into iBooks on my Mac and delete everything to clean it out.

Sunday, June 01, 2014

eBook library use 2014 - the curse of FairPlay DRM

Goes like this...

From Mac

  1. Browse public library Overdrive site.
  2. Download Adobe ePUB .ascm files. Launch to download ePUB into Adobe Digital Editions Library
  3. Right click show in finder
  4. Drag and drop file onto Mac DeDRM.app. Rename new desktop file with extension of due date.
  5. Place files on Google Drive (I use Borrowed folder)

On iPhone

  1. Open ePUB file from Google Drive.
  2. From prompt choose to open in iBooks.
  3. Read.

When done reading or at due date.

  1. Return from Adobe Library if prior to due date, otherwise expires there.
  2. Delete all the files.

This is all very annoying. Apple needs to adopt a non-FairPlay DRM process for eBooks, make it available to publishers, and give up on their $#$^#$ 30% cut.

PS. I really like iBook.app as an app, but Overdrive supports Kindle. I may try the Kindle app if it works with the Library books.

Friday, May 23, 2014

Unable to remove item from Time Machine Exclude list - switch to user account

If you click the Options button in Time Machine preferences you can specify items to exclude from backup. I’ve found it can be impossible to remove those excluded items; even deleting com.apple.TImeMachine plist (preference) files didn’t remove the item. It seemed to go away, but on return it was back.

It appears to be a permissions problem in Mavericks. I’d added the exclusion from a non-admin account, and I was working on Time Machine preferences from my admin account. I had to switch to the non-admin account to remove the item. I don’t know how to fix this if the originating account no longer exists. I don’t think Time Machine is storing this string in its preference file.