We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some of the songs on my lastfm account have unicode (emojis 😋) in their track elements (soundcloud 🔥) that kept me from writing out to a file.
lastscrape-gui/lastexport.py
Line 201 in 6d3bf45
Might be related to #14. Adding with open(outfile, 'a', encoding='utf-8') as outfileobj: Fixed my issue.
with open(outfile, 'a', encoding='utf-8') as outfileobj:
The text was updated successfully, but these errors were encountered:
Hi, Sorry for the HUGE delay. Could you provide me with your username so I can try to reproduce the bug and test the fix you proposed? Cheers
Sorry, something went wrong.
at line 214 in latsexport.py, change:
with open(outfile, 'a') as outfileobj: to:
with open(outfile, 'a') as outfileobj:
with open(outfile, 'a', encoding="utf-8") as outfileobj: also, at line 48 in file libreimport.py, change :
with open(outfile, 'a', encoding="utf-8") as outfileobj:
for line in file(data): to:
for line in file(data):
file = open(data, 'r', encoding='utf-8', errors='replace') for line in file.readlines():
not a bug, but usual, in libreimport.py, could you change:
print("%d: Adding to post %s playing %s" % (n, artist, track)) to
print("%d: Adding to post %s playing %s" % (n, artist, track))
print("%d: Adding to post '%s' playing '%s' from album '%s'" % (n, artist, track, album))
Coul33t
No branches or pull requests
Some of the songs on my lastfm account have unicode (emojis 😋) in their track elements (soundcloud 🔥) that kept me from writing out to a file.
lastscrape-gui/lastexport.py
Line 201 in 6d3bf45
Might be related to #14. Adding
with open(outfile, 'a', encoding='utf-8') as outfileobj:
Fixed my issue.
The text was updated successfully, but these errors were encountered: