Migrating from iTunes to DS Audio

In the past, I have talked about my transition to Synology and I recently made the next step: migration from iTunes to DS Audio. In this post I would like to talk about the process and a few obstacles I had to overcome. Read on to learn more!

synology

Background

Note: This information is based on DSM 5.x — I have not upgraded to 6.x yet.

The most important and challenging part was migrating the existing iTunes playlists over to DS Audio. Given the size and quantity of playlists it was not feasible to attempt to manually recreate them. Given how custom the playlists were it was also not possible to leverage the smart playlist feature of DS Audio. This meant I needed to figure out a migration plan. While I did not find a lot of information on the Synology site, a few quick Google search turned up the information I needed. The process seemed pretty straightforward.

The Process

Export the playlists from iTunes in M3U format
itunes-playlist-exportitunes-playlist-export-formatitunes-playlist-export-format-m3u

Edit the export to adjust the paths

The paths will likely start with something like:

You will need to change this to the path of DS Audio, which by default would be

Upload the modified export to DS Audio

By default, DS Audio will pick up new changes automatically within a few seconds (or longer if you uploaded/changed a lot of data), but you can edit the settings by going to Control Panel > System > Media Indexing

synology-media-indexing1 synology-media-indexing2

The Problem

When I did this and returned to my playlist I noticed something was wrong (notice the red X next to each song):

synology-playlist-errors

The Solution

A little more digging online and I learned Mac iTunes exports playlists with CR line breaks, and they’re not recognized by audio station or ds audio. There are many ways to fix this. I did this on the command line:

After this I could see my songs!

Other Problems

Once I solved the major issue, I did run into a couple other annoyances:

  1. Some song paths were not correct so the find and replace trick did not work — I suspect this was due to problems on the iTunes library and not DS Audio. The resolution is to find all the songs that show an error in DS Audio and then go manually adjust the playlist M3U file.
  2. UTF encoding in DS Audio matters! If it is not correct for any song then the song will not work in the playlist. My wife has some Spanish music and all of them were not working. The solution is to further adjust M3U exported from iTunes by running:

Summary

Migration to DS Audio was pretty easy and it seems to work well. The last question is will my wife like it enough to get off iTunes? Only time will tell!

© 2016, Steve Flanders. All rights reserved.

2 thoughts on “Migrating from iTunes to DS Audio

  1. fasterthanapigeon says:

    Hi, thanks so much for this, I’d been trying to figure out for ages why my iTunes playlists weren’t showing up even after I’d changed the file directory!

Leave a Reply