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

amazon vod not working - Partner Service APIs have been turned off #660

Closed
2 of 4 tasks
tux4you opened this issue Dec 1, 2022 · 102 comments
Closed
2 of 4 tasks

amazon vod not working - Partner Service APIs have been turned off #660

tux4you opened this issue Dec 1, 2022 · 102 comments
Labels
amazon.tld broken Functionality lost with amz update wontfix

Comments

@tux4you
Copy link

tux4you commented Dec 1, 2022

Addon used

  • Amazon VOD (plugin.video.amazon-test)
  • Browser Launcher (plugin.program.browser.launcher)
  • Addon version: 0.9.6 and 0.9.6+matrix.1

Account type

  • primevideo.com
  • amazon.(com/co.uk/de/jp)

System Setup (please provide the following information):

  • Hardware: raspberry pi 4
  • OS version: debian bullseye with xbian (all updates installed)
  • Kodi version number: 19.4

Upload Logs

2022-12-01 09:05:18.101 T:5803 INFO : [Amazon VOD] getURL: https://atv-ps-eu.amazon.de/cdp/catalog/Browse?firmware=fmw:28-app:5.2.3&deviceTypeID=....
2022-12-01 09:05:18.183 T:5803 ERROR : [Amazon VOD] Error reason: 404 error (NoRetries)

Describe the bug

hi guys and thanks for the great work ...

since yesterday the plugin stops working
if i enter the url in the browser, i get: Partner Service APIs have been turned off

is this problem known? do you need some other informations?

kind regards,
ronny

@tux4you tux4you changed the title amazon - Partner Service APIs have been turned off amazon not working - Partner Service APIs have been turned off Dec 1, 2022
@tux4you tux4you changed the title amazon not working - Partner Service APIs have been turned off amazon vod not working - Partner Service APIs have been turned off Dec 1, 2022
@Varstahl
Copy link
Collaborator

Varstahl commented Dec 1, 2022

This is news to me, will need to check, possibly needs @Sandmann79 or someone who worked on it to know for sure.

@Varstahl Varstahl added amazon.tld broken Functionality lost with amz update labels Dec 1, 2022
@tux4you
Copy link
Author

tux4you commented Dec 1, 2022

This is news to me, will need to check, possibly needs @Sandmann79 or someone who worked on it to know for sure.

me to yesterday, thank you ;)

@fry-1
Copy link

fry-1 commented Dec 1, 2022

I can confirm the problem:
Hardware: x86_64
OS version: Linux Mint 21 Vanessa
Kodi version number: 19.4
Addon version: 0.9.6 and 0.9.6+matrix.1

I would like to add that the channels are still partly working but movies, tv-shows, watchlist and search have stopped working since yesterday.

@tux4you
Copy link
Author

tux4you commented Dec 2, 2022

yesterday, i activated the webapi (beta)
after that, the app menu was completely different, but some movie and shows are working.
some not all, very strange (will have a look in the logfile later).
this setting is very slow in finding some entries.

@nachetoschetos
Copy link

I can confirm the problem as well:
Hardware: Raspberry pi 3
OS version: Libreelec
Kodi version number: 19.4
Addon version: 0.9.6

No movies list and partly channel list

@gouppe
Copy link

gouppe commented Dec 3, 2022

same for me
https://paste.osmc.tv/rekegapifi

@katerasrael
Copy link

Same here:

Hardware: Raspberry pi 3
OS version: Libreelec
Kodi version number: 18.9
Addon version: 0.9.6

No listings in the categories at all.

@DiGilli
Copy link

DiGilli commented Dec 4, 2022

Same here on two different systems:
(1)
Hardware: Raspberry pi 3
OS version: Libreelec 9.2.8
Kodi version number: 18.9
Addon version: 0.9.4
-> all listing gone bar some channels (which do play)...
(2)
Hardware: Raspberry pi 3+
OS version: Libreelec 10.0.3
Kodi version number: 19.4
Addon version: 0.9.6
-> all listings gone, nothing plays, after sign-out, no more sign-in possible...

@anhoh
Copy link

anhoh commented Dec 4, 2022

I can confirm this as well. No listings in watchlist, shows, movies, library etc... Login is still possible and exported strm. files are also still playable.

Hardware: Raspberry Pi 4
OS Version: LibreElec 10.0.3
Kodi version number: 19.4
Addon version: 0.9.6

@stefri
Copy link

stefri commented Dec 4, 2022

I can confirm this as well. No listings in watchlist, shows, movies, library etc... Login is still possible and exported strm. files are also still playable.

Hardware: Raspberry Pi 4 OS Version: LibreElec 10.0.3 Kodi version number: 19.4 Addon version: 0.9.6

Same config ... same problem :-(

@Varstahl
Copy link
Collaborator

Varstahl commented Dec 5, 2022

What a terrible time to fall sick D:
I'll try to get to is asap

@MarauderPF
Copy link

For me it worked out that I had to delete the cashes in the App-setting and swich to webapi (kodi on raspi4)
Hope this helps!

@DiGilli
Copy link

DiGilli commented Dec 6, 2022

For me it worked out that I had to delete the cashes in the App-setting and swich to webapi (kodi on raspi4) Hope this helps!

Despite not quite understanding how your suggestion would overcome the issue described by others and me (certainly not the no-sign in issue on Matrix), I tried it out ... no effect, on both systems (see my earlier post f details) no change to the situation.

@MarauderPF
Copy link

I started from the same point describrd in the entry post. No watchlist, no movies displayed. Tried around with installing from different repos, several reboots - but behaviour keept the same. Then I tried the activating the (beta) Web-api Option ind Amazon.tld and after that delete Caches in the Prime Video Tab. Now I'm able to access my movies and TV-Shows again for an hour. But now it's buggie again. Somethings work some things dont. I think I was a bit too enthusiastic...

@anhoh
Copy link

anhoh commented Dec 6, 2022

For me it worked out that I had to delete the cashes in the App-setting and swich to webapi (kodi on raspi4) Hope this helps!

Thank you for the attempted solution. I have tested it and it works partially. I get access to the watchlist and library again this way. Very slow on the first start though.
Categories and recommendations are partially displayed, but partially again an error message.

But this seems to be a start.

@Atomisirsi
Copy link
Contributor

I also had problems with the category listings after switching to the Web-API, but found a workaround at https://www.kodinerds.net/index.php/Thread/44211-Release-Amazon-Prime-Instant-Video/?postID=702527#post702527
The forum post suggest replacing line 954 of network.py by
newPath = '/gp/video' + up.path.replace('/gp/video', '')

I am using amazon.de with version 0.9.6+matrix.1 of the plugin.

@Varstahl
Copy link
Collaborator

Varstahl commented Dec 6, 2022

Yes, I have a "fix" in the pipeline, (also it would be just newPath = up.path), but regardless there were other problems which is why I didn't release that as an update immediately, and then everything went down crashing and burning.

Edit: Specifically, the fix suggested is not a fix, because it's rather a regression in functionalities, and I was about to look into that when I've started having 39°C+ fever, so I barely remember what I was working on.

@forty875
Copy link

forty875 commented Dec 7, 2022

Hello,
have the same problem with german prime video store. This is the url i'm using "https://atv-ps-eu.amazon.de/cdp/catalog/Browse" I get same error "Partner Service APIs have been turned off". Does amazon have a new api endpoint url? How to get asin for series and episodes now?

@Varstahl
Copy link
Collaborator

Varstahl commented Dec 7, 2022

You might try enabling Web Api from the addon setting, and then clearing cache. Some thing will work, some won't.

@dtechniker
Copy link

That has helped me. Thanks

@nandbert
Copy link

nandbert commented Dec 8, 2022

Where is this "Web Api" button in the settings? (Addon version: 0.9.6+matrix.1)

@agausmann agausmann mentioned this issue Dec 9, 2022
4 tasks
@tux4you
Copy link
Author

tux4you commented Dec 9, 2022

Where is this "Web Api" button in the settings? (Addon version: 0.9.6+matrix.1)

hi ... did you found it?
in the vod app settings, maybe expert needed, the last entry is amazon.tld (left side).
there you can find it

@nandbert
Copy link

nandbert commented Dec 9, 2022

@tux4you Thanks, this was actually very helpful to me. I never noticed that the buttons on the left side can be scrolled, and there are some below "Miscellaneous" 🙄

@alexlancaster
Copy link

the previous workaround of enabling "Web API" and logging-out/logging-in again, stopped working for me today with the version 0.9.6+matrix.1. it was working up to a few days ago, here's a bit of the log:

022-12-10 00:40:47.086 T:12173    INFO <general>: [Amazon VOD] proxy.py:333 [PS] Parsing languages
2022-12-10 00:40:47.095 T:12173    INFO <general>: [Amazon VOD] proxy.py:346 [PS] Altering <AdaptationSet>s
2022-12-10 00:40:49.918 T:12173    INFO <general>: [Amazon VOD] proxy.py:188 [PS] Chunked transfer: last chunks
2022-12-10 00:40:49.922 T:12171    INFO <general>: AddOnLog: inputstream.adaptive: Successfully parsed .mpd file. #Periods: 1, #Streams in first period: 91, Type: VOD, Download speed: 1896933.7328 Bytes/s
2022-12-10 00:40:50.246 T:12171   ERROR <general>: AddOnLog: inputstream.adaptive: Unable to find license;hdcpEnforcementResolutionPixels in JSON string
2022-12-10 00:40:50.246 T:12171   ERROR <general>: AddOnLog: inputstream.adaptive: License update not successful (no keys)
2022-12-10 00:40:50.255 T:12171   ERROR <general>: AddOnLog: inputstream.adaptive: Initialize failed (SingleSampleDecrypter)

Tried reinstalling Widevine - no luck there either. So now nothing works.

@ducarpit
Copy link

beta works installed brand new on 19. Italy

@superdan77 hi, which version are you trying?

matrix

@superdan77 thank you so much! The beta versione witout Kodi version (the first) in which Kodi works? In the older versions?

@superdan77
Copy link

superdan77 commented Mar 14, 2023

@ducarpit cant remember and cant verify now cause im at work, but anyway i downloaded and installed kodi 19 one week ago, so i presume the last version

@ducarpit
Copy link

I can confirm i tryied the new beta 0.9.7 matrix on my Raspberry Pi 3 where the 0.9.6 version not work and now it seems all OK 👍
I hope it will be released soon as stable version with matrix and nexus (Kodi 20) compatibility...

@EnerGeh
Copy link

EnerGeh commented Mar 14, 2023

#674

plugin.video.amazon-test-0.9.7~beta.zip

plugin.video.amazon-test-0.9.7~beta+leia.zip

plugin.video.amazon-test-0.9.7~beta+matrix.zip

Works for me on libreelec 10 x86/amd64 branch (intel nuc). I simply installed the 0.9.7 matrix beta over the broken 0.9.6 version from the sandmann repo. Worked instantly without any further authentication, cache flush or cookie deletion.
After that I upgraded to libreelec 11 inplace without any issue and the plugin is still working. So the matrix version also works fine on kodi nexus.

@emc02
Copy link

emc02 commented Mar 16, 2023

Same for me with amazon.de
I tried to reinstall the Addon and now the captcha on login is not visible anymore. So I can't login...

Any solution here?
Tried the new beta Version (matrix) but there is no captcha on login screen (even on 5th attempt)...

@yoshimo
Copy link

yoshimo commented Mar 18, 2023

log.zip
I attempted a login with beta3, no dice but maybe the logfiles help.
There is no 2FA enabled on this account

@eggbeater98
Copy link

eggbeater98 commented Mar 19, 2023

How are you installing the beta version? Is there a different repository for it?

Edit: Please pardon my prior ignorance. I downloaded the ZIP file linked above and used "Install via zip file". It updated the add-in and I'm happy to say I can stream again! Thank you for all the work you've put in to this fix.

For reference, I'm running OSMC January 2023 (Kodi Matrix 19.5) on an RPi 2

@DiGilli
Copy link

DiGilli commented Mar 26, 2023

#674

plugin.video.amazon-test-0.9.7~beta.zip

plugin.video.amazon-test-0.9.7~beta+leia.zip

plugin.video.amazon-test-0.9.7~beta+matrix.zip

@27Hector, thanks for posting here
And @Sandmann79, massive thanks for taking the lead in making thus work again ... very very much appreciated !!!
(Needless to add that v0.97beta on leia works like charm ...)

@ducarpit
Copy link

Why the 0.9.7 version isn't in the stable channel yet? Only the 0.9.6 is available....

@the-isz
Copy link

the-isz commented Mar 28, 2023

Thanks to everyone for working on this plugin!

Unfortunately, I can't install the test version:

error <general>: CAddonInstallJob[plugin.video.amazon-test]: failed to find dependency script.module.mechanicalsoup

On Kodi Nexus (20.1), I'm supposed to install plugin.video.amazon-test-0.9.7~beta.zip, right?

@frudolph77
Copy link

I've had the same issue, just install the 0.9.6 from the repository, to resolve the dependencies, and then install the lastest beta from here #674 (comment)

@the-isz
Copy link

the-isz commented Mar 28, 2023

I've had the same issue, just install the 0.9.6 from the repository, to resolve the dependencies, and then install the lastest beta from here #674 (comment)

Thank you! With that trick, I was able to install the beta.

Unfortunately, I wasn't able to log in afterwards. I was repeatedly asked to enter my password plus a captcha ("for improved safety, enter your password again") but could never successfully finish.

Unless someone knows this issue, I will reproduce it later this week with advanced logging enabled, but right now, I'm too annoyed from entering my long and cryptic password 10 times...

@EngineerGuy314
Copy link

Really stupid question: The beta file linked in this thread is 0.9.7. The version you download from the master releases is 1.0.4.

So is the master release version already newer (and includes the same fix) as this beta version?

I am sorry, the versioning scheme of github is new to me. Thanks for any light you can shed...

@frudolph77
Copy link

frudolph77 commented Mar 29, 2023

Really stupid question: The beta file linked in this thread is 0.9.7. The version you download from the master releases is 1.0.4.

So is the master release version already newer (and includes the same fix) as this beta version?

I am sorry, the versioning scheme of github is new to me. Thanks for any light you can shed...

There are no stupid questions.

It's just a little confusing but what you can download from the releases is NOT the plugin itself, it's the plugin repository. Check the different filenames. This GitHub Repo contains multiple Kodi Plugins and not just one.

@cow-crash
Copy link

New error.
the plugin has an error on start:
2023-03-30 18:47:15.257 T:1472177024 ERROR: [Amazon VOD] Unable to parse the navigation menu for primevideo
.com
then nothing happens, only the busy circle 8(

@the-isz
Copy link

the-isz commented Mar 31, 2023

Unfortunately, I wasn't able to log in afterwards. I was repeatedly asked to enter my password plus a captcha ("for improved safety, enter your password again") but could never successfully finish.

Unless someone knows this issue, I will reproduce it later this week with advanced logging enabled, but right now, I'm too annoyed from entering my long and cryptic password 10 times...

I retried with verbose logging enabled, but I don't see any error messages in the log:

2023-03-31 11:35:08.055 T:414      info <general>: CActiveAESink::OpenSink - initialize sink
2023-03-31 11:35:08.075 T:414      info <general>: PulseAudio: Opened device alsa_output.platform-fef00700.hdmi.hdmi-stereo in pcm mode with Buffersize 150 ms Periodsize 50 ms
2023-03-31 11:35:10.580 T:366     error <general>: Control 55 in window 10025 has been asked to focus, but it can't
2023-03-31 11:35:11.668 T:17531    info <general>: [Amazon VOD] startup.py:39 Requested {}
2023-03-31 11:35:21.477 T:17531    info <general>: [Amazon VOD] startup.py:39 Requested {'mode': 'remLoginData'}
2023-03-31 11:35:27.832 T:17531    info <general>: [Amazon VOD] startup.py:39 Requested {'mode': 'LogIn'}
2023-03-31 11:35:27.845 T:17531    info <general>: [Amazon VOD] network.py:587 Login
2023-03-31 11:35:27.879 T:17531    info <general>: [Amazon VOD] network.py:110 Retrieve territoral config
2023-03-31 11:35:27.882 T:17531    info <general>: [Amazon VOD] network.py:162 getURL: https://atv-ps.amazon.com/cdp/usage/v2/GetAppStartupConfig?deviceTypeID=A28RQHJKHM2A2W&deviceID=4e4b20c9f4b44431954ac27da88757df&firmware=1&version=1&format=json
2023-03-31 11:35:28.600 T:17531    info <general>: [Amazon VOD] network.py:245 Download Time: 0.7162195279961452
2023-03-31 11:35:43.482 T:366   warning <general>: CGUIWindowManager - HandleAction - ignoring action 61952, because topmost modal dialog closing animation is running
2023-03-31 11:37:04.715 T:366   warning <general>: CGUIWindowManager - HandleAction - ignoring action 61952, because topmost modal dialog closing animation is running
2023-03-31 11:37:05.099 T:17531    info <general>: [Amazon VOD] network.py:632 Connect to SignIn Page 5 attempts left
2023-03-31 11:37:08.039 T:17531    info <general>: [Amazon VOD] network.py:404 MFA, DCQ or Captcha form
2023-03-31 11:38:19.531 T:366   warning <general>: CGUIWindowManager - HandleAction - ignoring action 61952, because topmost modal dialog closing animation is running
2023-03-31 11:38:50.416 T:414      info <general>: CActiveAESink::OpenSink - initialize sink
2023-03-31 11:38:50.438 T:414      info <general>: PulseAudio: Opened device alsa_output.platform-fef00700.hdmi.hdmi-stereo in pcm mode with Buffersize 150 ms Periodsize 50 ms
2023-03-31 11:38:52.174 T:17531    info <general>: [Amazon VOD] network.py:404 MFA, DCQ or Captcha form

Two questions:

  1. Could it be that it just takes me too long to enter the password and/or the captcha? Is there a timeout? If so, how high is it and can it be changed?
  2. Is there a way to enter the credentials through the commandline instead of the UI?

New error.
the plugin has an error on start:
2023-03-30 18:47:15.257 T:1472177024 ERROR: [Amazon VOD] Unable to parse the navigation menu for primevideo
.com
then nothing happens, only the busy circle 8(

I had the same issue before uninstalling and reinstalling the plugin (the old version first, then the beta).
Since I can't log in anymore, I don't know if the issue is gone now or just waiting for me to log in `XD

@frudolph77
Copy link

@the-isz
That's really wired, have read about this issue a few times here, but never faced it myself.
I don't have a very long password, and I've also 2FA active on my amazon account.
I don't think so that there is an timeout on login.

@cow-crash
Do you have installed the lasted beta linked here: #674 (comment)

@rlees85
Copy link

rlees85 commented Mar 31, 2023

@the-isz
You can use "Kore" the Android remote for Kodi to enter long passwords very quickly. I can confirm that your issue is not timeouts as I have the same issue and can enter my password in a few seconds.

@the-isz
Copy link

the-isz commented Mar 31, 2023

@frudolph77, @rlees85: Thank you for your answers!

If it is a known issue, do you have any suggestion what I could try?

You can use "Kore" the Android remote for Kodi to enter long passwords very quickly.

Yeah, I'm using Yatse for that, but it is still quite annoying since my password is really long and cryptic... I know, I brought this on myself `XD

Thanks for the tip anyway!

@cow-crash
Copy link

@frudolph77
thx for the hint. With that beta all is okay.
fine, i'm happy 8)

@dtechniker
Copy link

Unfortunately not for me. I can register and can also select films. Unfortunately, the message always comes up when starting: "http Error"

But thanks for all the effort of developing this app.

@petvoigt
Copy link

petvoigt commented Apr 1, 2023 via email

@dtechniker
Copy link

dtechniker commented Apr 2, 2023

I get the following kodi.log with my error (Beta 4 and Beta 5 ->plugin.video.amazon-test-0.9.7.beta.leia.zip):

2023-04-02 09:19:39.733 T:2148336448 NOTICE: [Amazon VOD] startup.py:39 Requested {'asin': 'B00ZB7PKY8', 'name': 'S\xc3\xb6ldner', 'mode': 'PlayVideo', 'selbitrate': '0', 'trailer': '0', 'adult': '0'}
2023-04-02 09:19:39.999 T:2148336448 NOTICE: [script.module.inputstreamhelper] Widevine update check was made on 2023-03-24 08:08
2023-04-02 09:19:40.017 T:2148336448 NOTICE: [Amazon VOD] network.py:164 postURL: http://127.0.0.1:46697/gpr/https%3A%2F%2Fatv-ps-eu.amazon.de%2Fcdp%2Fcatalog%2FGetPlaybackResources%3Fasin%3DB00ZB7PKY8%26deviceTypeID%3DAOAGZA014O5RE%26firmware%3D1%26deviceID%3D60d72dfd90334d2f84703ec0c228c153%26marketplaceID%3DA1PA6795UKMFR9%26format%3Djson%26version%3D2%26gascEnabled%3Dfalse%26subtitleFormat%3DTTMLv2%26resourceUsage%3DImmediateConsumption%26consumptionType%3DStreaming%26deviceDrmOverride%3DCENC%26deviceStreamingTechnologyOverride%3DDASH%26deviceProtocolOverride%3DHttps%26deviceBitrateAdaptationsOverride%3DCVBR%252CCBR%26audioTrackId%3Dall%26languageFeature%3DMLFv2%26videoMaterialType%3DFeature%26desiredResources%3DPlaybackUrls%2CSubtitleUrls%2CForcedNarratives%2CTransitionTimecodes%26supportedDRMKeyScheme%3DDUAL_KEY
2023-04-02 09:19:40.054 T:2182669120 NOTICE: [Amazon VOD] proxy.py:74 [PS] Requested POST path [u'gpr', u'https%3A%2F%2Fatv-ps-eu.amazon.de%2Fcdp%2Fcatalog%2FGetPlaybackResources%3Fasin%3DB00ZB7PKY8%26deviceTypeID%3DAOAGZA014O5RE%26firmware%3D1%26deviceID%3D60d72dfd90334d2f84703ec0c228c153%26marketplaceID%3DA1PA6795UKMFR9%26format%3Djson%26version%3D2%26gascEnabled%3Dfalse%26subtitleFormat%3DTTMLv2%26resourceUsage%3DImmediateConsumption%26consumptionType%3DStreaming%26deviceDrmOverride%3DCENC%26deviceStreamingTechnologyOverride%3DDASH%26deviceProtocolOverride%3DHttps%26deviceBitrateAdaptationsOverride%3DCVBR%252CCBR%26audioTrackId%3Dall%26languageFeature%3DMLFv2%26videoMaterialType%3DFeature%26desiredResources%3DPlaybackUrls%2CSubtitleUrls%2CForcedNarratives%2CTransitionTimecodes%26supportedDRMKeyScheme%3DDUAL_KEY']
2023-04-02 09:19:40.056 T:2182669120 ERROR: Traceback (most recent call last):
2023-04-02 09:19:40.056 T:2182669120 ERROR: File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
2023-04-02 09:19:40.056 T:2182669120 ERROR: File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
2023-04-02 09:19:40.056 T:2182669120 ERROR: File "/usr/lib/python2.7/SocketServer.py", line 655, in init
2023-04-02 09:19:40.056 T:2182669120 ERROR: File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/storage/.kodi/addons/plugin.video.amazon-test/resources/lib/proxy.py", line 208, in do_POST
2023-04-02 09:19:40.057 T:2182669120 ERROR: self._AlterGPR(unquote(path[1]), headers, data)
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/storage/.kodi/addons/plugin.video.amazon-test/resources/lib/proxy.py", line 242, in _AlterGPR
2023-04-02 09:19:40.057 T:2182669120 ERROR: status_code, headers, content = self._ForwardRequest('get', endpoint, headers, data)
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/storage/.kodi/addons/plugin.video.amazon-test/resources/lib/proxy.py", line 99, in _ForwardRequest
2023-04-02 09:19:40.057 T:2182669120 ERROR: cookie = MechanizeLogin(preferToken=True)
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/storage/.kodi/addons/plugin.video.amazon-test/resources/lib/network.py", line 380, in MechanizeLogin
2023-04-02 09:19:40.057 T:2182669120 ERROR: token = getToken()
2023-04-02 09:19:40.057 T:2182669120 ERROR: File "/storage/.kodi/addons/plugin.video.amazon-test/resources/lib/network.py", line 790, in getToken
2023-04-02 09:19:40.057 T:2182669120 ERROR: if int(time.time()) > token['expires']:
2023-04-02 09:19:40.057 T:2182669120 ERROR: TypeError: 'bool' object has no attribute 'getitem'
2023-04-02 09:19:40.059 T:2148336448 ERROR: [Amazon VOD] network.py:217 Error reason: ('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',)) (ConnectionError)
2023-04-02 09:19:40.070 T:2148336448 NOTICE: [Amazon VOD] playback.py:25 Playing Dummy Audio
2023-04-02 09:19:40.089 T:3011189248 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.amazon-test/?asin=B00ZB7PKY8&mode=PlayVideo&adult=0&name=S%C3%B6ldner&trailer=0&selbitrate=0
2023-04-02 09:19:40.091 T:2191061824 NOTICE: Creating InputStream
2023-04-02 09:19:40.091 T:2191061824 NOTICE: Creating Demuxer
2023-04-02 09:19:40.142 T:2191061824 NOTICE: Opening stream: 0 source: 256
2023-04-02 09:19:40.143 T:2191061824 NOTICE: Finding audio codec for: 65536
2023-04-02 09:19:40.143 T:2191061824 NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder pcm_s16le
2023-04-02 09:19:40.143 T:2191061824 NOTICE: Creating audio thread
2023-04-02 09:19:40.143 T:2157491008 NOTICE: running thread: CVideoPlayerAudio::Process()
2023-04-02 09:19:40.143 T:2191061824 NOTICE: CVideoPlayer::OnExit()
2023-04-02 09:19:40.143 T:2191061824 NOTICE: VideoPlayer: eof, waiting for queues to empty
2023-04-02 09:19:40.143 T:2191061824 NOTICE: Closing stream player 1
2023-04-02 09:19:40.143 T:2191061824 NOTICE: Waiting for audio thread to exit
2023-04-02 09:19:40.153 T:2157491008 NOTICE: thread end: CVideoPlayerAudio::OnExit()
2023-04-02 09:19:40.153 T:2191061824 NOTICE: Closing audio device
2023-04-02 09:19:40.153 T:2191061824 NOTICE: Deleting audio codec
2023-04-02 09:19:40.215 T:3011189248 NOTICE: CVideoPlayer::CloseFile()
2023-04-02 09:19:40.215 T:3011189248 NOTICE: VideoPlayer: waiting for threads to exit
2023-04-02 09:19:40.215 T:3011189248 NOTICE: VideoPlayer: finished waiting
2023-04-02 09:19:40.215 T:3011189248 NOTICE: CVideoPlayer::CloseFile()
2023-04-02 09:19:40.215 T:3011189248 NOTICE: VideoPlayer: waiting for threads to exit
2023-04-02 09:19:40.215 T:3011189248 NOTICE: VideoPlayer: finished waiting
2023-04-02 09:19:54.054 T:2148336448 WARNING: CPythonInvoker(31, /storage/.kodi/addons/plugin.video.amazon-test/default.py): the python script "/storage/.kodi/addons/plugin.video.amazon-test/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon7xbmcgui6DialogE,N9XBMCAddon9xbmcaddon5AddonE,N14PythonBindings31XBMCAddon_xbmc_Monitor_DirectorE
2023-04-02 09:19:57.343 T:2836792128 ERROR: GetDirectory - Error getting

@the-isz
Copy link

the-isz commented Apr 2, 2023

After going back to version 0.9.6, I just tried logging in both with Web API enabled and without: None of it works.

So probably my formerly reported login issues have nothing to do with the beta version :(

Sandmann79 added a commit that referenced this issue Apr 25, 2023
Fixes #675,#674,#665,#660,#659,#656,#649,#640,#639,#637,#632,#607,#602,#525,#516,#405,#391,#150

Signed-off-by: Sandmann79 <sandmann79@gmx.net>
@the-isz
Copy link

the-isz commented Apr 26, 2023

I was about to write that I'm confused why this gets closed when I still can't use the plugin at all but then I thought I should give version 0.9.7 a spin first.

Lo and behold, everything works! Great work by @Sandmann79 and all others who helped getting this running again. You're the best!

@polocatfan
Copy link

polocatfan commented Apr 27, 2023

0.9.7 just started randomly working again. I don't understand how since nothing got updated, but it's working so w.e.

EDIT: It apparently somehow updated? Odd.

EDIT 2: I had issues with Audio until a reinstall, so if you're having audio issues reinstall it.

@rlees85
Copy link

rlees85 commented Apr 27, 2023

0.9.7 allows me to log in - thanks so much!!!

I am having issues with audio @polocatfan what exactly did you have to re-install? (please say just the plugin and not the whole media centre...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazon.tld broken Functionality lost with amz update wontfix
Projects
None yet
Development

No branches or pull requests