Skip to content
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

Still no HD audio? #100

Open
leGeddy opened this issue Dec 18, 2022 · 4 comments
Open

Still no HD audio? #100

leGeddy opened this issue Dec 18, 2022 · 4 comments

Comments

@leGeddy
Copy link

leGeddy commented Dec 18, 2022

What would it take to make this possible? I have an Amazon Music Unlimited account but not being able to fully enjoy it on my Chromecast with Google TV is a bummer... yes, the Amazon Music app does play HD but the Android TV version is horrible and I would much prefer using your add-on.

I could look into it but I don't really know where to look and what to look for... to that end (and because it's impossible to do any kind of debugging on Android TV), I installed the add-on on my Kodi Linux but ran into that IA issue you are well aware of... regardless, it could be enough to investigate the issue even if I cannot play any songs.

Unless this project is dead and that would be a shame...

@spacys
Copy link
Owner

spacys commented Dec 22, 2022

The root cause is still unknown, the same code runs fine under Windows, but not under Linux (it was working before under Linux as well). I think Amazon has changed the accessibility for Linux.
Regarding HD playback...the identified Amazon API's does not allow it. In the meanwhile Amazon has changed the complete client-server-communication structure and is using 'skills' now. Till now, I was not able to analyze/understand this new structure fully. But I'm happy for any suppport ;-)

@leGeddy
Copy link
Author

leGeddy commented Dec 22, 2022

Thanks for replying.

I'm retired and bored so happy to investigate ;) and yes, I (finally) realised that this API only gives access to SD tracks. I assume you are referring to this API so I guess it would mean a complete rewrite... even then, it seems that inputstream.adaptive does not support the FLAC codec used by AM for HD so I am not sure what to do. Perhaps use inputstream.ffmpegdirect like the TIDAL2 addon does?

Still investigating the other issue...

@spacys
Copy link
Owner

spacys commented Dec 23, 2022

Great finding! I was not aware of it. I'm using different API's, you can find those in my code, but it is worth to check your API documentation link. Thanks for sharing it!
Flac codec depends on Kodi (and/or the OS), normally Kodi is able to play all kind of codecs, and in case there is something missing, we can install it easily.
All my local songs are in flac format, but I never tried it with streaming from the internet.

@leGeddy
Copy link
Author

leGeddy commented Dec 30, 2022

Actually, I was looking for documentation on the API you are using but only found this one and then realised you (and others) reverse engineered the web API. It remains to be seen if the code can be updated to use the device API without any of the hooplas mentionned in the Amazon Music Program requirements section...
As for the Flac codec, I am not sure why IA needs to "support" it as indeed Kodi can play anything. Perhaps the folks there could explain...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants