Open exscape opened 2 years ago
Following the above instructions, I was able to successfully install both pyItunes and the migration script itself on PureOS 10. However, the developer's most current available version of pyItunes includes the call "plistlib.readPlist()", which is deprecated.
To address this issue, I edited the file "Library.py" within the pyItunes installation directory. (For me, this was installed within a subdirectory of ~/.local/lib/python3.9/ )
On line 26, replace this:
self.il = plistlib.readPlist(itunesxml) #Much better support of xml special characters
with this (2 lines):
with open(itunesxml, 'rb') as f:
self.il = plistlib.load(f)
After that, the migration script was able to run and transfer my play counts, ratings, etc.
Thank you PHY1634, much appreciated.
The recommended installation gives a pip error:
Removing the option instead yields an error about installing pyItunes:
I installed pyItunes manually:
After that, attempting to install migrate-itunes-to-rhythmbox fails with an error about xslt-config not found. As per the error text I installed libxml2 and libxslt:
The pip3 install of the script still fails however, due to lxml not compiling properly. This seems to be because the very old lxml version (3.6.4 from 2016) doesn't support Python 3.8(.10).
I then downloaded the script .tar.gz, unpacked it, and edited setup.py to change the lxml requirement to lxml==4.7.1:
...and it finally installed fine with