Sunday, July 20, 2014

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.

Saturday, May 17, 2014

ViewTV At-163 OTA Digital TV recorder - my review

Remember the great American Digital TV Transition of 2008? Our elected representatives explained that while some would see more channels and far better image quality, those who did not have “a properly oriented, high-gain antenna mounted 30 feet in the air outside” would lose free access to broadcast television. They told us that, sadly, a combination of patents, the DMCA and the burgeoning power of cable TV would vastly increase the cost of time-shifting broadcast (OTA) television. They hung their heads and admitted they were completely corrupt …

Ok, so they didn’t say any of those things. We had to learn most of them the hard way, though we knew about the corruption bit. I’d mostly ignored television from 1997 to 2013, so my light bulb only lit up when I bought a Samsung Smart TV and learned that the USB digital output was disabled [1]. Suddenly, everything made sense.

Ever since then I’ve been looking for a sane way to record OTA TV without devoting my life to hacking MythTV. Sure, we could afford to pay the monthly Tivo tax (which presumably goes to the cartel patent holders), but this kind of thing bugs me.

Alas, this is harder than you’d think. A legitimate manufacturer is going to be hit with the patent/cartel tax — turning a $50 product into a $600 (over 5 years) monster. There’s no Chinese market to draw from, I assume they just stick a USB device in their TVs. There are several startups that do sort-of-interesting time shifting things with OTA DTV, but none of them connect easily to, you know, a television. Presumably to dodge the cartel they have to connect to everything BUT a television (so you use AirPlay to get signals from an iPad to a TV).

The only source is going to be shady, something from China sold under a range of disposable brand names for a few months at a time. That’s what I found on Amazon, the home of things that fell off the back of container ships. Alas, the quality was incredibly low — it’s easily the crummiest product I’ve bought in decades. Even so, I was tempted to keep it. It kind of worked…

Amazon.com: John G … s review of Viewtv At-163 ATSC Digital TV Converter…

This is a FASCINATING device in so many ways. It is pure Chinese manufacturing of absolutely the lowest possible quality (one of the four base pads was missing), but it’s only of interest to the US market. The rest of the world doesn't need this -- they simply stick USB devices into their TVs and record directly. It's only in the US that a combination of cartel patents and corrupt politicians makes recording of OTA TV extremely expensive and difficult. When we buy a Samsung TV, for example, the recording features are disabled.

In China this is probably used to convert digital signals for the few analog TVs left in China. It probably costs $10 to make, including what I assume is a very low quality (risky!) internal switched power supply (no power brick). In the US it's sold, somewhat covertly, as a low cost no-subscription simple digital TV recorder.

The good news is that if you ignore the manual, and work through the incredibly crude displays hacked to to show English labels, and convert from the strings on the weird remote to the screen, it's not hard to configure this. You can even set up the antenna as pass-through so the signal goes to the ViewTV and is also available for TV input. It does record (!) and you can play back the recording. It even shows a list of available TV shows.

The bad news is that the tuner in my device sucked. OTA Digital TV barely works in many US settings -- we need top notch tuners. The one in our Samsung Smart TV gets barely enough channels to meet my son's sporting thirst. The tuner in this device missed most of them.

I also worry about the internal switched power supply. This ships with all the usual inspection/certification labels, but I'd be amazed if any of them were legitimate.

If only they'd shaved their profit margin a bit. It costs nothing to build what's in this box. We actually own a decent (Chinese made of course) Digital TV converter box that cost $45 — it’s much higher quality than the “ViewTv" with a far better tuner.

I hope someone else will do that -- but we have to remember the reason these features are disabled from US TVs. Anyone doing this properly is going to be hit by the US OTA patent cartel -- and forced to charge high subscription fees.

There may not be anything better in the near future. So if you have a strong antenna and good signals, and you're feeling lucky, it's worth a shot. Just be ready to return, and if you're feeling nervous leave it unplugged when you're not using it.

I tried to make this thing work, but the tuner was just too crummy. I had to return it.

Sniff.

- fn -

[1] The only explanations I’ve read are something like "Disclaimer: Only European TVs have USB recording. US models have the feature disabled due to legal issues.” I presume the “legal issues” are DMCA and patents. Explaining the full story would take a real journalist — would be a fun article for, say, The Atlantic. Might run into some dangerous characters though…

See also:

Update: I updated my 12/2013 Samsung Smart TV post with notes on hacking it to restore recording functionality.

Using your Apple bluetooth keyboard with your iPad or iPhone: Unpair it first

A friend and I were debugging a Bluetooth problem with his iPhone 4S [1] and we didn’t have a Bluetooth peripheral to test with. So I tried using my iMac’s Apple bluetooth keyboard - but I couldn’t get it to show up.

It turns out there are some tricks to that, but my Google searches found mostly garbage [2]. The trick is you have to unpair the keyboard from your Mac before the iOS device can see it. The easiest way to do this is from your Mac’s Bluetooth Preferences. Click on the Keyboard icon, hit the X to remove it.

Screen Shot 2014 05 17 at 11 25 11 AM

Now it will be visible. Once it’s paired to the iPhone I assume you’ll have to unpair it again — but I didn’t research that (we couldn’t fix his problem) [1]. It’s easy to associated an unpaired keyboard with an iMac, just shows up in the Bluetooth prefs. (But if you do unpair, it’s nice to have a USB kb around just in case).

The other way to do this is Force Unpairing. Search is always easier when you know the answer, I found this well described in a Mark Wagner post

On the Apple bluetooth keyboard, press and hold the power button. After about 5 seconds the keyboard power indicator (LED) will begin to flash indicating the keyboard is in pairing mode.
To force pairing: Keep pressing the power button as you continue.

The Mac unpair is faster and smoother, but Force unpair is a nice trick to know.

Once I knew the answer I found some good references on this topic. Note that the best references are either from Apple Support or from quirky individually produced blogs that you’ve mostly never heard of. Which has to do with why Google search sucks now [1]. They all do a good job saying similar things:

[1] Reset Network settings didn’t work — I think his old Flash memory has some bad spots. A wipe and restore might do the trick. Maybe I’ll write about that.

[2] I have a theory (of course) about why Google’s search now sucks and why Microsoft and Apple could change the game — if they want to. Maybe I’ll write about that - it’s kind of a fun ecology and AI story. For now, restrict your Google searches using the “site:support.apple.com” operator and/or site:superuser.com and/or site:http://apple.stackexchange.com/ or create your own Custom Search engine. I’ve added some of the above link sources to my own custom search engine for Mac searches.