-
-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
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 songs Art no showing #393
Comments
Not every track has an image. What track is it happening for? |
These bellow songs & many other songs also can't recall their name now
But when making raw api call, it returing image. It will good if it get fix or it return None in place of that Star Image so can use api call as try except to get the thumb. |
Line 2278 in 5c9509d
Do you see image when making a raw API call to this endpoint? You can also add this to your Python progam: import logging
logging.basicConfig(level=logging.DEBUG) And find your def _check_response_for_errors(self, response):
"""Checks the response for errors and raises one if any exists."""
try:
doc = _parse_response(response)
except Exception as e:
raise MalformedResponseError(self.network, e) from e
e = doc.getElementsByTagName("lfm")[0]
- # logger.debug(doc.toprettyxml())
+ logger.debug(doc.toprettyxml())
if e.getAttribute("status") != "ok":
e = doc.getElementsByTagName("error")[0]
status = e.getAttribute("code")
details = e.firstChild.data.strip()
raise WSError(self.network, status, details) It will then print out the data it's getting from the API. |
On making raw API call by
For example this song with white thumb. And this song with correct thumb. |
I'm trying to get thumb image of current playing song.
For some it showing & for some it returning white star image .
.get_now_playing().get_cover_image()
The text was updated successfully, but these errors were encountered: