Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ericdaugherty/itunesexport-go

A Console iTunes Library exporter written in Go (golang)
https://github.com/ericdaugherty/itunesexport-go

Last synced: 2 months ago
JSON representation

A Console iTunes Library exporter written in Go (golang)

Awesome Lists containing this project

README

        

## iTunes Export Console (golang)

A console application that exports iTunes Playlists using the iTunes Music Library.xml plist.

This is a port of the previous Scala version, found here: https://github.com/ericdaugherty/itunesexport-scala and .Net version, found here: http://www.ericdaugherty.com/dev/itunesexport/1.x/

## Compiling

```
go build
```
## Usage

```
usage: %v [] [include ...] [exclude ...]

Flags:
-library Path to iTunes Music Library XML File.
-output Path where the playlists should be written.
-type Type of playlist file to write. Defaults to M3U
EXT = M3U Extended, WPL = Windows Playlist, ZPL = Zune Playlist
-includeAll Include all user defined playlists.
-includeAllWithBuiltin Include All playlists, including iTunes defined playlists
-includePlaylistWithRegex Include all playlists matching the provided regular expression
-copy Copy the music tracks as well, according the the COPY TYPE scheme...
NONE (default) The music files will not be copied.
PLAYLIST Copies the music into a folder for each playlist.
ITUNES Copies using the itunes music/// structure.
FLAT Copies all the music into the output folder.
-musicPath Base path to the music files. This will override the Music Folder path from iTunes.
-musicPathOrig When using -musicPath this allows you to override the Music Folder value that is replaced.
```