Skip to content

Python3 support #64

@mr-suw

Description

@mr-suw

I like libpytunes for exporting playlist files from music app. If you want to make this script useable for python 3, I had to modify Library.py as follows:

add function into Library class:

        with open(f, 'rb') as fp:
            plst = plistlib.load(fp)
        return plst

replace line 28 with:

    self.il = Library.plistLoad(itunesxml)  # Much better support of xml special characters

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions