Closed DavidWiesner closed 8 years ago
Hi @DavidWiesner, thanks for noticing this issue. I guess the HTML code of Amazon Cloud Player changed in a way that made innerText broken. I'll take a look at it later today.
Hi @fenryxo thanks for looking at. But the HTML Code doesn't change, or at least does not effect the parsing. The problem is the webengine and the javascript API to get to the text content of the element. It´s the same element in the DOM, just try the textContent
and innerText
to get the inner text
The script used to work fine. Something in the web page must have changed since then and it broke the parsing.
I've made a pull request #6 for @SteVwonder to review.
Fixed in Amazon Cloud Player script 5.1. Thanks for your bug report.
Hi, thanks for your work! I found an issue with your integration. The method 'update' in 'integrate.js' is unable to fetch information about the title and the artist of the current song.
I don´t know what webengine nuvola 3 beta use but 'innerText' on a text-element is empty. Similar to the nuvola-app-google-play/../integrate.js#L183 I recommend using 'textContent' and 'innerText' to determine the text content of an text element (see also http://perfectionkills.com/the-poor-misunderstood-innerText/).
Here is an example patch:
regards, David
Amazon Cloud Player: 5.0 Nuvola Player 3 Beta: 3.0.0+201511042023.413b716