GithubHelp home page GithubHelp logo

jeremander / itunes-export Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pieterderycke/itunes-export

0.0 0.0 0.0 9 KB

A Python script to expert iTunes playlists in m3u format.

License: MIT License

Python 100.00%

itunes-export's Introduction

iTunes-Export

itunes-export is a small python utlity script that allows to export your iTunes playlists into M3U format. This allows to use or import these playlists into other media players such as VLC.

In order to use this script, iTunes must store your Library into XML format. If you don't see an .xml library file in ~/Music/iTunes, you probably started using iTunes after version 12.2, and have never enabled sharing between iTunes and other apps. To generate one, go to iTunes Preferences | Advanced and select "Share iTunes Library XML with other applications." (Apple docs)

This script is making use of the libpytunes library: https://github.com/liamks/libpytunes

Usage:

python itunes-export.py --output "X:\Playlists" --ignore "Downloads"

This command exports all your playlists except "Downloads" into the folder "X:\Playlists".

Available commands:

  • --output, -o: mandatory, sets the folder to export to.
  • --ignore: optional, allows to ignore a specifc playlist in the export. Multiple playlists can be ignored.
  • --library, -l: optional, explicitly provide the path to the iTunes XML library file. By default the one of the current user is used.
  • --export-genius-playlists: optional, export genius playlists. By default they are not exported.
  • --export-smart-playlists: optional, export smart playlists. By default they are not exported.
  • --help, -h: optional, get the command line help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.