Metadata-Version: 2.1
Name: iTunesLibrary
Version: 1.1.5
Summary: Represents an iTunes library
Home-page: https://github.com/scholnicks/itunes-library
Author: Steven Scholnick
Author-email: scholnicks@gmail.com
License: MIT
Download-URL: https://github.com/scholnicks/itunes-library
Description: itunesLibrary
        ==============
        
        itunesLibrary represents an iTunes Library. It allows the caller to retrieve items, playlists, etc.
        
        itunesLibrary is a port of Drew Stephen's excellent Perl module, https://github.com/dinomite/Mac-iTunes-Library. The Perl
        library will be **not** re-created verbatim.
        
        Installation : pip install itunesLibrary
        
        Example Code
        
        ```python
        import os
        from itunesLibrary import library
        
        path = os.path.join(os.getenv("HOME"),"Music/iTunes/iTunes Music Library.xml")
        
        # must first parse...
        lib = library.parse(path)
        
        print len(lib)    # number of items stored
        
        for playlist in lib.playlists:
            for item in playlist.items:
                print(item)          # perform function on each item in the playlist
        
        # get a single playlist
        playlist = lib.getPlaylist("Gray")
        
        # get a list of all of the David Bowie songs
        bowie_items = lib.getItemsForArtist("David Bowie")
        
        # get a single song
        single_song = lib.getItemsById("16116")
        
        # get the iTunes application version
        print(lib.applicationVersion)
        ```
        
        &copy; Steve Scholnick <scholnicks@gmail.com>
        
        MIT License, see https://scholnick.net/license.txt
        
Keywords: iTunesLibrary,iTunes
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python :: 3.7
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
