Closed yogi81 closed 6 years ago
I still haven't developed clairvoyance, you know…
In any case, the product not purchased is bound to happen when using PrimeVideo (and possibly other amazon servers) and trying to watch something that went off catalog. This can (and will) happen when using Watchlist. Last monday several movies and TV series were sent off catalog, maybe that's your case?
Thanks for the answer, but it is happening to the videos in Prime. These videos play in browser or in amazon prime app
How can I help to debug the issue? I am programmer myself.
I am trying previous version right now (0.5.7) --> same situation
For example I am getting Product not purchased on Tom Clancy's Jack Ryan Series.
Trailer works :)
kodi.log
? %AppData%\Kodi
or ~/.kodi/temp
, depending on the platform18.0-BETA4 Git:20181003-b87c70b245 Media Center Kodi Copyright (C) 2005-2013 Team Kodi - http://kodi.tv
this is XBIAN
Y88b d88P 888888b. 8888888 d8888 888b 888
Y88o88P 888 .88P 888 d88P888 88888b 888
Y888P 8888888K. 888 d88P 888 888Y88b 888
d888b 888 "Y88b 888 d88P 888 888 Y88b888
d88P Y88b 888 d88P 888 d8888888888 888 Y8888
d88P Y88b 8888888P" 8888888 d88P 888 888 Y888
XBian 20180716-0 - Bleeding Edge, 2012 - 2018
Find us at: http://www.xbian.org http://github.com/xbianonpi/xbian
XBian and all its packages are distributed as free software; for important license, terms and conditions, please refer into /etc/xbian_copying. XBian comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat Oct 6 16:55:42 2018 from 192.168.178.46
lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.5 (stretch) Release: 9.5 Codename: stretch xbian@xbian ~/.kodi/temp $ uname -a Linux xbian 4.14.72+ #1 SMP PREEMPT Wed Sep 26 21:56:16 CEST 2018 armv7l GNU/Linux
cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 25.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
processor : 1 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 25.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
processor : 2 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 25.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
processor : 3 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 25.60 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5
Hardware : BCM2835 Revision : a01041 Serial : 000000000fc7835c
rasp pie 2
kodi.log this log is for 0.5.7
this log is for 0.5.9: kodi.log
is think these are the relevant log lines:
19:10:23.617 T:1558041312 NOTICE: [Amazon VOD] Login 19:10:23.902 T:1542451936 NOTICE: [Amazon VOD] Finished Fanart Update 19:10:23.902 T:1542451936 INFO: CPythonInvoker(6, /home/xbian/.kodi/addons/plugin.video.amazon-test/default.py): script successfully run 19:10:23.904 T:1542451936 DEBUG: onExecutionDone(6, /home/xbian/.kodi/addons/plugin.video.amazon-test/default.py) 19:10:24.187 T:1558041312 ERROR: /home/xbian/.kodi/addons/plugin.video.amazon-test/resources/lib/network.py:434: UserWarning: gzip transfer encoding is experimental! br.set_handle_gzip(True) 19:10:24.188 T:1558041312 NOTICE: [Amazon VOD] Connect to SignIn Page 5 attempts left 19:10:24.307 T:1542451936 WARNING: CPythonInvoker(6, /home/xbian/.kodi/addons/plugin.video.amazon-test/default.py): the python script "/home/xbian/.kodi/addons/plugin.video.amazon-test/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE,N9XBMCAddon7xbmcgui6DialogE 19:10:24.307 T:1542451936 INFO: Python interpreter stopped 19:10:24.308 T:1542451936 DEBUG: Thread LanguageInvoker 1542451936 terminating 19:10:32.268 T:1558041312 NOTICE: [Amazon VOD] postURL: https://atv-ps-eu.amazon.de/cdp/catalog/GetPlaybackResources?asin=B0774ZY6X3&deviceTypeID=AOAGZA014O5RE&firmware=1&deviceID=14bb22791b686c8912e2bf6a38f9e1fb7389f8160dbdca0b3128c9cd&marketplaceID=A1PA6795UKMFR9&format=json&version=1&gascEnabled=false&resourceUsage=ImmediateConsumption&consumptionType=Streaming&deviceDrmOverride=CENC&deviceStreamingTechnologyOverride=DASH&deviceProtocolOverride=Https&deviceBitrateAdaptationsOverride=CVBR%2CCBR&audioTrackId=all&videoMaterialType=Feature&desiredResources=PlaybackUrls,SubtitleUrls,ForcedNarratives&supportedDRMKeyScheme=DUAL_KEY 19:10:32.814 T:1558041312 ERROR: [Amazon VOD] Cannot complete request. (prs.norights.notowned) 19:10:32.822 T:1558041312 DEBUG: [Amazon VOD] Playing Dummy Video 19:10:32.824 T:1911710304 DEBUG: ------ Window Deinit (DialogBusy.xml) ------ 19:10:32.825 T:1566434016 DEBUG: Thread scriptobs 1566434016 terminating 19:10:32.856 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers(/home/xbian/.kodi/addons/plugin.video.amazon-test/resources/dummy.avi) 19:10:32.857 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules 19:10:32.857 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules 19:10:32.857 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mms/udp 19:10:32.857 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage 19:10:32.858 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf 19:10:32.859 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv 19:10:32.859 T:1911710304 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio 19:10:32.859 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players 19:10:32.859 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (VideoPlayer) 19:10:32.859 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0 19:10:32.859 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1 19:10:32.860 T:1911710304 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players 19:10:32.864 T:1911710304 DEBUG: CMMALPool::CMMALPool Created pool 0x549c2e0 of size 26 x 0 for port vc.ril.video_decode:out:0(I420) 19:10:32.875 T:1911710304 DEBUG: Radio UECP (RDS) Processor - new CDVDRadioRDSData 19:10:32.876 T:1911710304 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.amazon-test/?asin=B0774ZY6X3&mode=PlayVideo&adult=0&name=Colossal&trailer=0&selbitrate=0 19:10:32.876 T:1911710304 DEBUG: CMMALRenderer::CMMALRenderer 19:10:32.877 T:1542451936 DEBUG: Thread MMALProcess start, auto delete: false 19:10:32.877 T:1911710304 DEBUG: OnPlayBackStarted: CApplication::OnPlayBackStarted 19:10:32.878 T:1542451936 DEBUG: CMMALRenderer::Run - starting
and here is its contents:
forcedNarratives []
playbackUrls
audioTracks
0
audioSubtype "dialog"
audioTrackId "deu_dialog_0"
displayName "Deutsch"
index "0"
languageCode "de-de"
trackGroupId "29e6f7c7-89a1-32a1-9c12-43802b81b5a2"
1
audioSubtype "dialog"
audioTrackId "eng_dialog_0"
displayName "English"
index "0"
languageCode "en-us"
trackGroupId "29e6f7c7-89a1-32a1-9c12-43802b81b5a2"
cacheKey "a94ad254-b4d4-33c3-b6de-40a8d1fb34e6$2JHenFkA0hQiECNpBh2bg42v0ns~"
defaultAudioTrackId "deu_dialog_0"
defaultUrlSetId "17810-b78f1f09-c7ae-4c42-8f38-4bdf760a43b4"
urlSets
17810-172b9b06-3754-430b-8f4a-c78a537f18bf
failover
default
mode "seamless"
urlSetId "17810-b78f1f09-c7ae-4c42-8f38-4bdf760a43b4"
urlSetId "17810-172b9b06-3754-430b-8f4a-c78a537f18bf"
urls
manifest
audioFormat "Stereo"
audioTrackId "ALL"
bitrateAdaption "CVBR"
cdn "Level3"
compressionStandard "H264"
contiguityType "Contiguous"
drm "CENC"
dynamicRange "None"
encodingVersion "1"
fragmentRepresentation "ByteOffsetRange"
origin "s3"
streamingTechnology "DASH"
subtitleRepresentation "NotInManifestNorStream"
url "https://3s3.lvlt.dash.eu.aiv-cdn.net/d/2$2JHenFkA0hQiECNpBh2bg42v0ns~/prod/321b/887f/83cc/43ad-a6b3-b1340c4f035a/a0599cd4-7ed3-4473-af71-bfb9ab05f811_corrected.mpd"
videoQuality "HD"
17810-9145bdf7-6ed4-442f-9ce2-e775eac405ba
failover
cdn
mode "seamless"
urlSetId "17810-172b9b06-3754-430b-8f4a-c78a537f18bf"
default
mode "seamless"
urlSetId "17810-172b9b06-3754-430b-8f4a-c78a537f18bf"
urlSetId "17810-9145bdf7-6ed4-442f-9ce2-e775eac405ba"
urls
manifest
audioFormat "Stereo"
audioTrackId "ALL"
bitrateAdaption "CVBR"
cdn "Limelight"
compressionStandard "H264"
contiguityType "Contiguous"
drm "CENC"
dynamicRange "None"
encodingVersion "1"
fragmentRepresentation "ByteOffsetRange"
origin "s3"
streamingTechnology "DASH"
subtitleRepresentation "NotInManifestNorStream"
url "https://s3.ll.dash.eu.aiv-cdn.net/d/2$2JHenFkA0hQiECNpBh2bg42v0ns~/321b/887f/83cc/43ad-a6b3-b1340c4f035a/a0599cd4-7ed3-4473-af71-bfb9ab05f811_corrected.mpd"
videoQuality "HD"
17810-b78f1f09-c7ae-4c42-8f38-4bdf760a43b4
failover
cdn
mode "seamless"
urlSetId "17810-ee2a80fe-79f0-440a-bcd1-646d4304fd8c"
default
mode "seamless"
urlSetId "17810-ee2a80fe-79f0-440a-bcd1-646d4304fd8c"
urlSetId "17810-b78f1f09-c7ae-4c42-8f38-4bdf760a43b4"
urls
manifest
audioFormat "Stereo"
audioTrackId "ALL"
bitrateAdaption "CVBR"
cdn "Cloudfront"
compressionStandard "H264"
contiguityType "Contiguous"
drm "CENC"
dynamicRange "None"
encodingVersion "1"
fragmentRepresentation "ByteOffsetRange"
origin "s3"
streamingTechnology "DASH"
subtitleRepresentation "NotInManifestNorStream"
url "https://d1l0nb3g075aoz.cloudfront.net/dm/2$2JHenFkA0hQiECNpBh2bg42v0ns~/321b/887f/83cc/43ad-a6b3-b1340c4f035a/a0599cd4-7ed3-4473-af71-bfb9ab05f811_corrected.mpd"
videoQuality "HD"
17810-ee2a80fe-79f0-440a-bcd1-646d4304fd8c
failover
cdn
mode "seamless"
urlSetId "17810-9145bdf7-6ed4-442f-9ce2-e775eac405ba"
default
mode "seamless"
urlSetId "17810-9145bdf7-6ed4-442f-9ce2-e775eac405ba"
urlSetId "17810-ee2a80fe-79f0-440a-bcd1-646d4304fd8c"
urls
manifest
audioFormat "Stereo"
audioTrackId "ALL"
bitrateAdaption "CVBR"
cdn "Akamai"
compressionStandard "H264"
contiguityType "Contiguous"
drm "CENC"
dynamicRange "None"
encodingVersion "1"
fragmentRepresentation "ByteOffsetRange"
origin "s3"
streamingTechnology "DASH"
subtitleRepresentation "NotInManifestNorStream"
url "https://a224avoddashs3eu-a.akamaihd.net/d/2$2JHenFkA0hQiECNpBh2bg42v0ns~/ondemand/321b/887f/83cc/43ad-a6b3-b1340c4f035a/a0599cd4-7ed3-4473-af71-bfb9ab05f811_corrected.mpd"
videoQuality "HD"
returnedTitleRendition
asin "B0774Z2G2T"
audioQuality "Stereo"
audioTrackId "all"
contentId "amzn1.dv.vcid.7bfebcca-5604-45d2-8e96-bc85817133ed"
selectedEntitlement
consumptionExpiration "1539105401599"
entitlementType "PRIME_SUBSCRIPTION"
grantedByCustomerId "AI5MS9EPD52W"
titleId "B0774Z2G2T"
videoMaterialType "Feature"
videoQuality "HD"
subtitleUrls
0
displayName "Deutsch"
format "DFXP"
index "0"
languageCode "de-de"
subtype "dialog"
timedTextTrackId "de-de_subtitle_dialog_0"
trackGroupId "29e6f7c7-89a1-32a1-9c12-43802b81b5a2"
type "subtitle"
url "https://dmqdd6hw24ucf.cloudfront.net/bc4f/76d2/8f15/4fd7-a6fa-8f9d9f9af63a/f54bfaed-59b7-45e8-be71-964639fed7b4.dfxp"
videoMaterialType "Feature"
Everything looks alright from what I could gather in the logs, but amazon.de is not my field, so you need to wait for someone else to take charge with this. Since everything looks correct aside from the not owned
I wouldn't know where to start.
thank you very much for looking into it :+1:
Let's wait then :)
I tested this with my german account and everything played fine. There must be something wrong with your Kodi settings. Do you use some proxy/vpn and the right Amazon account?
It is great, that it is working for you!
No, I do not use any proxies. How do we want to debug it?
There is nothing to debug - the code itself works. There must be something wrong with your credentials. You can try to delete your credentials and sign in again.
Come on, I did it many times...
How can you be so sure?
Do not forget, that you have multiple dependences on other libraries/python modules. Maybe this is a module combination? Maybe this is some kind of race condition?
The system is telling me that I am logged in. When i give wrong password, then I get message, that the password is wrong. On the website I can play the videos with this credentials.
Do you want me to send you my credentials to try out?
All the best!
On 10. Oct 2018, at 16:22, Sandmann79 notifications@github.com wrote:
There is nothing to debug - the code itself works. There must be something wrong with your credentials. You can try to delete your credentials and sign in again.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
And by the way, this account was working under LibreElec installation till recently...
How can you be so sure?
The addon calls the the GetPlaybackResources
, and as you just posted it everything looks normal. Also in the logs there is no single error, but the server returns a 403 so to speak. So what's the difference in the connection between your browser and your xbian machine?
Do not forget, that you have multiple dependences on other libraries/python modules. Maybe this is a module combination?
There is no kind of error or sign of misbehaviour in the entire log I analysed. We do not handle credentials or anything server related past a certain point, we just relay the information, and the prs.norights.notowned
speaks loudly: if you have an active prime subscription this is either a VPN/proxy problem or a login credentials possibly gone wrong. You claim you have no VPN nor proxy, neither implicit nor transparent, so @Sandmann79 told you to try the only other thing that made sense, which is to reset credentials and log back in anew.
On the website I can play the videos with this credentials.
The addon does nothing different than a web browser. So the question that begs an answer is: why is it working on one platform of yours, but not the other? We can't answer that question for you. In our experience 99% of this kind of problems in the past has been caused by VPNs, 1% by system problems elsewhere.
Think of the addon this way:
Also, and this is very important, remind yourself of the fact that we're volunteering our time and experience for the good of the public, but this doesn't mean that we're your technical support staff. There's a fine line between asking for help and demanding it in entitlement, and you've crossed it several times by now.
Actually I am also offering my help and would like to participate in the development of the addon. I also invested a lot of time, to collect the neededd debugging information.
I was no happy with previous answers is just due to the fact, that I would like to understand a real reason and the answer were just not enough. And I do not care, if the product is developed for free or not.
Meanwhile I have found the problem: I have two accounts linked together. When I log in with one in addon, then nothing works, when I login with other, then I can play videos.
Can we do something on our side, to detect this somehow?
I was no happy with previous answers is just due to the fact, that I would like to understand a real reason and the answer were just not enough.
Just QFT, let me remind you one of the 9 days old answers that didn't satisfy you:
Do you use […] the right Amazon account?
Sooo… yeah. As I said we are not clairvoyants, but still…
Can we do something on our side, to detect this somehow?
I'll ask because I'm not sure I understood:
Is that correct so far? Isn't that exactly like it's supposed to work? I'm sorry but I'm failing to understand the problem here. I'm not sure what you're asking for.
Even if you don't have the prime video entitlement, you can still buy the shows off amazon.de iirc, so it also makes no sense to hide content which is not included with the Prime subscription.
No addon bug, closing
Met with the same problem at the region Japan. VPN is used, but I don't think it is a network issue because with the same network non-free videos can be played in the Android app. The only possible reason I guess is that my account is within a 30 day trial.
Raspberry Pie 2, XBian Devel, kodi beta v18.
Amazon VOD in latest released version: 0.5.9 from Sandmann79 repo
Successful login to amazon. Any video I play leads to an error message: Unable to Play "Product not purchased". These videos can be played in browser or amazon app.
Why? BUG?