Crates.io | playlistrs |
lib.rs | playlistrs |
version | 0.2.0 |
source | src |
created_at | 2024-02-15 12:19:56.429843 |
updated_at | 2024-02-15 12:19:56.429843 |
description | Convert iTunes Playlists to m3u |
homepage | https://github.com/jasmith79/playlistrs |
repository | https://github.com/jasmith79/playlistrs |
max_upload_size | |
id | 1141019 |
size | 40,875 |
Extracts playlist data from iTunesĀ®/Music Libraries. Tested against iTunes
Starting in MacOS Catalina, iTunesĀ® has been replaced with the new Music app. While the new Music app includes the ability to export to m3u or m3u8, but if like me you have 50+ playlists it's a little inconvenient. You can automate the exporting with Automator but I prefer to just use this tool which can also change the path for other devices.
FIrst you'll need to dump your iTunes/Apple Music library because as far as I can tell Apple does not expose an API for tool to grab it directly from your local music data. You'll want to open iTunes/Music, then use the context menu to go
File -> Library -> Export Library
It doesn't really matter where you save it, but you'll need to remember and it should be someplace that you can easily find it from the command line in Terminal. Here I'm saving it to the desktop:
You can then fire up Terminal or whatever terminal emulator you use and pass the path to the Library.xml
that you
dumped a second ago:
For all of the available options see --help
or browse the source code.