rckclmbr / pyportify

App to transfer your spotify playlists to Google Play Music
Apache License 2.0
779 stars 58 forks source link

Not able to transfer all playlists (character issues) #134

Open shillshocked opened 6 years ago

shillshocked commented 6 years ago

Creating in Google Music... Traceback (most recent call last): File "/usr/bin/pyportify-copyall", line 11, in sys.exit(main()) File "/usr/lib/python3.6/site-packages/pyportify/copy_all.py", line 61, in main loop.run_until_complete(start()) File "/usr/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete return future.result() File "/usr/lib/python3.6/site-packages/pyportify/copy_all.py", line 55, in start await app.transfer_playlists(None, s, g, playlists) File "/usr/lib/python3.6/site-packages/pyportify/app.py", line 158, in transfer_playlists playlist_id = await g.create_playlist(name) File "/usr/lib/python3.6/site-packages/pyportify/google.py", line 72, in create_playlist {"mutations": mutations}) File "/usr/lib/python3.6/site-packages/pyportify/google.py", line 112, in _http_post ret = await res.json() File "/usr/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 795, in json headers=self.headers) aiohttp.client_exceptions.ContentTypeError: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8'