DRM

i-threw-away-audible’s-app,-and-now-i-self-host-my-audiobooks

I threw away Audible’s app, and now I self-host my audiobooks


Stream your DRM-free audiobooks to devices yourselves, without the cloud’s chains.

We’re an audiobook family at House Hutchinson, and at any given moment my wife or I are probably listening to one while puttering around. We’ve collected a bit over 300 of the things—mostly titles from web sources (including Amazon’s Audible) and from older physical “books on tape” (most of which are actually on CDs). I don’t mind doing the extra legwork of getting everything into files and then dragging-n-dropping those files into the Books app on my Mac, but my wife prefers to simply use Audible’s app to play things directly—it’s (sometimes) quick, it’s (generally) easy, and it (occasionally) works.

But a while back, the Audible app stopped working for her. Tapping the app’s “Library” button would just show a spinning loading icon, forever. All the usual troubleshooting (logging in and out in various ways, removing and reinstalling the app, other familiar rituals) yielded no results; some searching around on Google and DuckDuckGo led me to nothing except a lot of other people having the same problem and a whole lot of silence from Audible and Amazon.

So, having put in the effort to do things the “right” way and having that way fail, I changed tacks and fixed the problem, permanently, with Audiobookshelf.

Screenshot of Lee's library

Audiobookshelf! Behold, the unholy melding together of my wife’s and my audiobooks.

Credit: Lee Hutchinson

Audiobookshelf! Behold, the unholy melding together of my wife’s and my audiobooks. Credit: Lee Hutchinson

Audiobookshelf

Audiobookshelf is a self-hosted audiobook and podcast server, and after two weeks of use, so far it works vastly better than trying to stream within Audible’s app. My wife can now actually listen to audiobooks instead of staring at a spinning loading icon forever.

To get Audiobookshelf running, you need something to run it on—a spare desktop or other computer you’re not using should fit the bill, as Audiobookshelf’s requirements are relatively meager. You can either install it via a Docker image, or on bare metal on Windows or several different Linux distros. (The Linux distro installations include a repository for handling updates via your system’s update method, so you won’t have to be manually installing releases willy-nilly.)

Since I already have a Proxmox instance up and running on my LAN, I chose to install Audiobookshelf inside an Ubuntu 24.04 LXC container using the “bare metal” method. It’s not particularly resource-intensive, using about 150MB of RAM at idle; as noted above, if you don’t have a server handy, running Audiobookshelf via Docker on your desktop or laptop shouldn’t be much of a burden on your memory or CPU. (It does suck up a fair amount of processing power when it’s bulk-importing or matching books in your library, but these aren’t things you’ll be doing terribly often.)

Screenshot of htop

Audiobookshelf process resource utilization in htop.

Credit: Lee Hutchinson

Audiobookshelf process resource utilization in htop. Credit: Lee Hutchinson

Getting it going

Once you’ve got Audiobookshelf installed via your preferred method, your next stop is creating and then populating your library. You can do this directly in the application’s web interface, if desired:

Screenshot of Audiobookshelf upload page

You can populate your library via Audiobookshelf’s upload page, if desired. Credit: Lee Hutchinson

I chose to do it the old-fashioned way and copy files into the library location myself, which also works.

There are a number of ways to make sure Audiobookshelf properly ingests and categorizes your books; first, it is aware of and respects metadata tags if your books have them. If your files lack tags, the Audiobookshelf docs provide several other methods of organization using file and directory structure. Between tags and being able to just name things per the guide, I had no problem uploading all 300-ish of my books into Audiobookshelf, with no misses or mismatches.

Of course, this all presupposes that you’ve got some DRM-free audiobooks. There are plenty of sources where you can get books free of charge—like Librivox, for example. If you’re using pay sites like Audible, you’ll want to actually log in to your library via a web browser and download each audiobook locally; this will give you a pile of files in .AAX format or something similar—which leads to a significant caveat.

The DRM elephant in the room

While books that come on audio CDs don’t have DRM embedded in them, files downloaded from Audible or other for-pay sources often do. Audiobookshelf won’t play books with DRM, which means you need a method of stripping that DRM out.

Unfortunately, here’s where we run into a problem: removing DRM from your audiobooks is not universally legal. “In the US, the law against ‘circumventing’ effective DRM has no personal-use exemption. In Europe, it varies by country,” explained the Electronic Frontier Foundation’s Competition and IP Litigation Director Mitch Stoltz when Ars reached out for advice. “That’s as silly as it sounds—stripping DRM from one’s own copy of an audiobook in order to listen to it privately through different software doesn’t threaten the author or publisher, except that it makes it harder for them to charge you twice for the same audiobook. It’s another example of how anti-circumvention laws interfere with consumers’ rights of ownership over the things they buy.”

And that means you’re kind of on your own for this step. Should you live in a jurisdiction where DRM removal from audiobooks for personal use is legal—which includes some but not all European countries—then sites like this one can assist in the process; for the rest of us, the only advice I can give is to simply proceed in a legal manner and use DRM-free audiobooks to start with.

Playing things

Once you’ve got Audiobookshelf set up and your DRM-free books stuffed into it, the last piece of the puzzle is an app to actually listen to books with. There is an official Audiobookshelf app, and if you’re an Android user you can grab it right here. The iOS app is perpetually stuck in beta and requires Test Flight, but there are third-party alternatives.

Personally, I’ve been using Plappa, and I’ve found it to be not just perfectly acceptable, but also more responsive and less prone to crashing than Apple’s own Books app (not to mention there’s no annoying in-app audiobook store page always trying to get in my face!).

Administrating things

Audiobookshelf itself has plenty of tunable options for the home system administrator who just can’t leave well enough alone; I’ve found most of the defaults are exactly what I want, but there’s tons of stuff to tweak if you want to do the tweaking.

Notably, Audiobookshelf supports multiple libraries if you want more organizational options. It has accounts you can set up for different listeners, logging options, notification options, RSS support, and a whole mess of other things I honestly haven’t even looked at yet. The good news for me is that you don’t have to look at any of that stuff if you don’t want to—Audiobookshelf is set up to be workable right out of the box.

But what if I’m not home?

Sharper readers might already have spotted a major problem with self-hosting audiobooks on one’s LAN: How do you listen when you’re not on the LAN?

This is probably worth another article, but the way I’m tackling this particular problem is with a local instance of Wireguard and a VPN profile on my mobile devices. When I’m out and about or in the car or whatever, I can tap the “VPN” shortcut on my iOS home screen, and boom—Plappa is now able to see Audiobookshelf, and streaming works just as well as it does at home.

One potential concern for doing this is cellular data usage, but this fear seems minor. The biggest audiobook I’ve got is a cool multicast recording of Frank Herbert’s Dune, which weighs in at about 2.4GB—so, the most data I’m going to transfer even for my biggest audiobook is 2.4GB max, and that’d only be if I listened to all hillion-jillion hours of Dune at the same time. And depending on the app you’re using for playback, you’ll likely also have the option to download the books to your device and listen to them locally, without streaming. (This is true for Plappa, at least.)

Self-hosting happiness achieved

I glossed over a lot of the setup steps to keep this a relatively short piece, but even so, getting Audiobookshelf going is a relatively simple self-hosting task, as self-hosting tasks go.

We also haven’t talked about Audiobookshelf’s other major feature: podcast hosting. I’m not a big podcast kind of guy (I tend to prefer audiobooks if I have time to listen to something), but Audiobookshelf is also (purportedly) great for hosting a giant pile of podcasts. If those are your jam, then that’s another point for Audiobookshelf.

I can’t vouch for the podcasting bits, but I can say that it’s gratifying to have solved a problem—especially one that was driving my wife crazy, and any day I can solve a problem for her via nerdery and server-wrangling is a good day. At least as of right now, the Audible app on her phone remains nonfunctional for reasons that are beyond me, but with luck—and a bit of ongoing care and maintenance for the server in the closet where this stuff all lives now—neither of us will ever have to deal with that app again.

Photo of Lee Hutchinson

Lee is the Senior Technology Editor, and oversees story development for the gadget, culture, IT, and video sections of Ars Technica. A long-time member of the Ars OpenForum with an extensive background in enterprise storage and security, he lives in Houston.

I threw away Audible’s app, and now I self-host my audiobooks Read More »

psa:-amazon-kills-“download-&-transfer-via-usb”-option-for-kindles-this-week

PSA: Amazon kills “download & transfer via USB” option for Kindles this week

Later this week, Amazon is closing a small loophole that allowed purchasers of Kindle books to download those files to a computer and transfer them via USB. Originally intended to extend e-book access to owners of very old Kindles without Wi-Fi connectivity, the feature has also made it easier for people to download and store copies of the e-books they’ve bought, reducing the risk that Amazon might make changes to their text or remove them from the Kindle store entirely.

The “Download & transfer via USB” option on Amazon’s site is going away this Wednesday, February 26. People who want to download their libraries to their PC easily should do so within the next two days. This change only affects the ability to download these files directly to a computer from Amazon’s website—if you’ve downloaded the books beforehand, you’ll still be able to load them on your Kindles via USB, and you’ll still be able to use third-party software as well as the Send to Kindle service to get EPUB files and other books loaded onto a Kindle.

Downloading files to your PC through Amazon’s site is still possible, but it’s going away later this week. Credit: Andrew Cunningham

For typical Kindle owners who buy their books via Amazon’s store and seamlessly download them to modern or modern-ish Kindle devices over Wi-Fi, you likely won’t notice any change. The effects will be noticed most by those who use third-party software like Calibre to manage a local e-book library and people who have hopped to other e-reader platforms who want to be able to download their Kindle purchases and strip them of their DRM so they can be read elsewhere.

The download-and-transfer option was useful for DRM haters partly because the files are delivered in the older AZW3 file format rather than the newer KFX format. AZW3 is the file format used by those older, pre-Wi-Fi Kindles, and its DRM is generally easier to remove.

Getting your files

If you’re trying to download your Kindle purchases to your PC and Mac before the deadline, you’ll need to have a somewhat older Kindle or Fire device attached to your account. If you only have one of the 2024 Kindles associated with your Amazon account (the newest Paperwhite, the second-generation Scribe, or the Colorsoft), you won’t be offered the download option. Amazon’s site will also only allow you to download a single book at a time, which could take quite a while, depending on the size of your library.

PSA: Amazon kills “download & transfer via USB” option for Kindles this week Read More »

blizzard’s-pulling-of-warcraft-i-&-ii-tests-gog’s-new-preservation-program

Blizzard’s pulling of Warcraft I & II tests GOG’s new Preservation Program

GOG’s version goes a bit beyond the classic versions that were on sale on Blizzard.net. Beyond the broad promise that “this is the best version of this game you can buy on any PC platform,” GOG has made specific tweaks to the networking code for Warcraft I and fixed up the DirectX wrapper for Warcraft II to improve its scaling on modern monitor resolutions.

It’s quite a novel commitment, keeping non-revenue-generating games playable for buyers, even after a publisher no longer makes them available for sale. The Warcraft titles certainly won’t be the only games for which publisher enthusiasm lags behind GOG and its classic gamers.

As noted at the Preservation Program’s launch, for some titles, GOG does not have the rights to modify a game’s build, and only its original developers can do so. So if GOG can’t make it work in, say, DOSBox, extraordinary efforts may be required.

A screenshot from Blizzard's Warcraft II: Remastered release, showing brick keeps, archers, footsoldiers, dragons around a roost, and knights on horseback units.

Warcraft II: Remastered lets you switch back and forth between classic and remastered graphics and promises to offer better support for widescreen monitors and more units selected at once.

Credit: Blizzard

Warcraft II: Remastered lets you switch back and forth between classic and remastered graphics and promises to offer better support for widescreen monitors and more units selected at once. Credit: Blizzard

Beyond being tied to Blizzard’s Battle.net service in perpetuity, there are other reasons Warcraft fans might want to hold onto the originals. Blizzard’s 2020 release of Warcraft III Reforged was widely panned as uneven, unfinished, and in some ways unfair, as it, too, removed the original Warcraft III from stores. Reforged was still in rough shape a year later, leading Ars’ list of 2020’s most disappointing games. A 2.0 update promised a total reboot, but fans remain torn on the new art styles and are somewhat wary.

Then again, you can now select more units in the first two Warcraft games’ remasters, and you get “numerous visual updates for the UI.”

Blizzard’s pulling of Warcraft I & II tests GOG’s new Preservation Program Read More »

trains-were-designed-to-break-down-after-third-party-repairs,-hackers-find

Trains were designed to break down after third-party repairs, hackers find

Unlocking the secret —

The train manufacturer accused the hackers of slander.

Dragon Sector uploaded a video to social media after discovering an

Enlarge / Dragon Sector uploaded a video to social media after discovering an “undocumented ‘unlock code’ which you could enter from the train driver’s panel” fixed “mysterious issues” impacting trains in Poland.

An unusual right-to-repair drama is disrupting railroad travel in Poland despite efforts by hackers who helped repair trains that allegedly were designed to stop functioning when serviced by anyone but Newag, the train manufacturer.

Members of an ethical hacking group called Dragon Sector, including Sergiusz Bazański and Michał Kowalczyk, were called upon by a train repair shop, Serwis Pojazdów Szynowych (SPS), to analyze train software in June 2022. SPS was desperate to figure out what was causing “mysterious failures” that shut down several vehicles owned by Polish train operator the Lower Silesian Railway, Polish infrastructure trade publication Rynek Kolejowy reported. At that point, the shortage of trains had already become “a serious problem” for carriers and passengers, as fewer available cars meant shorter trains and reduced rider capacity, Rynek Kolejowy reported.

Dragon Sector spent two months analyzing the software, finding that “the manufacturer’s interference” led to “forced failures and to the fact that the trains did not start,” and concluding that bricking the trains “was a deliberate action on Newag’s part.”

According to Dragon Sector, Newag entered code into the control systems of Impuls trains to stop them from operating if a GPS tracker indicated that the train was parked for several days at an independent repair shop.

The trains “were given the logic that they would not move if they were parked in a specific location in Poland, and these locations were the service hall of SPS and the halls of other similar companies in the industry,” Dragon Sector’s team alleged. “Even one of the SPS halls, which was still under construction, was included.”

The code also allegedly bricked the train if “certain components had been replaced without a manufacturer-approved serial number,” 404 Media reported.

In a statement, Newag denied developing any so-called “workshop-detection” software that caused “intentional failures” and threatened to sue Dragon Sector for slander and for violating hacking laws.

“Hacking IT systems is a violation of many legal provisions and a threat to railway traffic safety,” Newag said, insisting that the hacked trains be removed from use because they now pose alleged safety risks. Newag’s safety claims are still unsubstantiated, 404 Media reported.

“We categorically deny and negate Newag’s uploading of any functionality in vehicle control systems that limits or prevents the proper operation of vehicles, as well as limiting the group of entities that can provide maintenance or repair services,” Newag’s statement said. According to Newag, Dragon Sector’s report shouldn’t be trusted because it was commissioned by one of Newag’s biggest competitors.

Dragon Sector maintains that the evidence supports its conclusions. Bazański posted on Mastodon that “these trains were locking up for arbitrary reasons after being serviced at third-party workshops. The manufacturer argued that this was because of malpractice by these workshops, and that they should be serviced by them instead of third parties.” In some cases, Bazański wrote, Newag “appeared to be able to lock the train remotely.”

Newag has said that “any remote intervention” is “virtually impossible.”

Lawsuit threats fails to silence hackers

Dragon Sector got the trains running after discovering “an undocumented ‘unlock code’ which you could enter from the train driver’s panel which magically fixed the issue,” Dragon Sector’s team told 404 Media.

Newag has maintained that it has never and will never “introduce into the software of our trains any solutions that lead to intentional failures.”

“We do not know who interfered with the train control software, using what methods and what qualifications,” Newag said. “We also notified the Office of Rail Transport about this so that it could decide to withdraw from service the sets subjected to the activities of unknown hackers.”

Dragon Sector and SPS have denied interfering with the train’s control systems.

While Newag has contacted authorities to investigate the hacking, Janusz Cieszyński, Poland’s former minister of digital affairs, posted on X that the evidence appears to weigh against Newag.

“The president of Newag contacted me,” Cieszyński wrote. “He claims that Newag fell victim to cybercriminals and it was not an intentional action by the company. The analysis I saw indicated something else, but for the sake of clarity, I will write about everything.

Newag president Zbigniew Konieczek said that “no evidence was provided that our company intentionally installed the faulty software. In our opinion, the truth may be completely different—that, for example, the competition interfered with the software.”

Konieczek also accused Cieszyński of disseminating “false and highly harmful information about Newag.”

404 Media noted that Newag appeared to be following a common playbook in the right-to-repair world where manufacturers intimidate competitor repair shops with threatened lawsuits and unsubstantiated claims about safety risks of third-party repairs. So far, Dragon Sector does not appear intimidated, posting its success on YouTube and discussing its findings at Poland’s Oh My H@ck conference in Warsaw. The group is also planning “a more detailed presentation” for the 37th Chaos Communication Congress in Hamburg, Germany, at the end of December, The Register reported.

Because of the evidence gathered during their analysis, the Dragon Sector team has doubts about whether Newag will actually follow through with the lawsuit.

“Their defense line is really poor, and they would have no chance defending it,” Kowalczk told 404 Media. “They probably just want to sound scary in the media.”

Trains were designed to break down after third-party repairs, hackers find Read More »