yask123 / Instant-Music-Downloader

🎷 Downloads Music From The Web
http://iyask.me/Instant-Music-Downloader/
1.42k stars 160 forks source link

Python3 breaks id3 tagging #111

Closed Karunamon closed 7 years ago

Karunamon commented 7 years ago

Greetings,

When using a 3.x version of Python, id3 tags are unable to be inserted into downloaded files. An error:

Fixing id3 tags
a bytes-like object is required, not 'str'

..and the resulting file has no tags.

When using a 2.x version, I see a few extra lines of output:

WARNING: "id" field is not a string - forcing string conversion
-snip-
Fixing id3 tags
Invalid URL '': No schema supplied. Perhaps you meant http://?

but the resulting file is correct.

yask123 commented 7 years ago

Why did you close this?

Karunamon commented 7 years ago

Figured out it was a problem with my environment. I'm a heavy user of pyenv, and switching environments solved the problem.