I will try to continue the skill and implement the 2FA, but I wont get it before end of January.
Thanks for any help on this.
Since a few weeks I got a Prime Music subscription but the skill no longer works (at least for my EU account). Besides the fact the API endpoint names (URLs) changed, it looks like there were some changes by Amazon in order to actively prevent “automated logins” (at least I found some comments on Stackoverflow that hint to that).
Okay, I’m familiar with Python and JS, but not with Amazon Implementations. It sounds like it is a little more work to Do?
A little success … but still way to go:
I can now logon with my EU/DE account to Amazon-Music website by a Python script using Selenium&PhantomJS. The configuration data of the returning web site says
The script passes email and password and detects the code prompt that is required once when a new computer/device is detected.
Note: I don’t have two-factor-authentication enabled for my account.
UPDATE: the authentication issue is solved - once you have successfully logged in and entered the confirmation code a cookie is set and used by succeeding session.
Next: it seems there were some changes to the API that provides the actual streaming URL for a track.
… some time later …
Oh no! Amazon introduced Digital Rights Management (DRM) which complicates playing streams a lot, a very lot.
I am tracking (german) kodinerds.net forum where some brave developers seem to be working on the problem., but I have no idea if there will be a solution soon…
Hi Dominik, is there any update on making Amazon music work?
Yes and no: there was some development for Kodi’s Amazon music plugin, but I didn’t find time yet fully evaluate if this can be adapted for Mycroft. Any help on this is welcomed…
Hmm a kodi plugin, i may need to see if i can get this working with my Kodi skill.