I've changed some code in utils.py and in spotify_lyrics.py because I dont want to get metadata and lyrcis. I need only artwork. Maybe I broke something
Here is the changes:
utils.py
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.8/site-packages/ueberzug/lib/v0/__init__.py", line 367, in decorator
return function(*args, canvas=self, **kwargs)
File "/home/posaydone/.local/lib/python3.8/site-packages/spotify_lyrics.py", line 126, in main
song, artist, album, art_url = self.spotify.metadata()
File "/home/posaydone/.local/lib/python3.8/site-packages/utils.py", line 73, in metadata
title = metadata['xesam:title'].replace("&", "&")
KeyError: 'xesam:title'
I've changed some code in utils.py and in spotify_lyrics.py because I dont want to get metadata and lyrcis. I need only artwork. Maybe I broke something Here is the changes: utils.py
spotify_lyrics.py
Error: