playlistrs

Crates.ioplaylistrs
lib.rsplaylistrs
version0.2.0
sourcesrc
created_at2024-02-15 12:19:56.429843
updated_at2024-02-15 12:19:56.429843
descriptionConvert iTunes Playlists to m3u
homepagehttps://github.com/jasmith79/playlistrs
repositoryhttps://github.com/jasmith79/playlistrs
max_upload_size
id1141019
size40,875
Jared Adam Smith (jasmith79)

documentation

README

playlistrs

Extracts playlist data from iTunesĀ®/Music Libraries. Tested against iTunes

Note About Catalina and later:

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.

Usage

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

Context menu image, shows using the File option to export Library.xml

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:

File dialog image, shows saving Library.xml to the MacOS 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:

Terminal emulator image, shows invoking playlistrs with the path to the Library.xml

For all of the available options see --help or browse the source code.

Commit count: 0

cargo fmt