[RELEASE] Amazon Prime Instant Video plug-in addon

  Thread Rating:
  • 14 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
jelly2nd Offline
Junior Member
Posts: 4
Joined: Jun 2012
Reputation: 0
Post: #471
Yeah that is strange. So if I understand you correctly, I won't have to do a refresh because you're committing updated databases? That sounds good to me because the TV update takes a while anyways. Either way, I've got enough new features to play around with to keep me busy.
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #472
well hopefully the databases should be mostly complete. If you are missing a specific item you want then there are many ways to make sure it makes its way into your database. You could add it to your watchlist in a browser and then browse to it in the plugin. You could use search. You have to actually browse to the episodes of the any uncached seasons for them to be added to the database. So it should be really easy for you to get any new of missing stuff.

Then there is the Recently Added list for Movies and TV. Since the database is used for meta-data on all listings any new items are auto added to the database. So adding new items could be as simple as browsing around a bit.
(This post was last modified: 2012-06-23 08:15 by BlueCop.)
find quote
jeanwilly Offline
Member
Posts: 75
Joined: Mar 2012
Reputation: 1
Post: #473
@BlueCop

have your code a little bit adapted that is ( i think) works on XBMC4XBOX to!
When anywhere with amazon account it will test on XBMC4XBOX i give a download link!
I can it not test come from Germany!


Regards Jan / skatulskijean
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #474
committed version 5.5

It should fix a few bugs in Television and one in purchased television.

If an HD season of a show isn't populated with episodes in your database then browsing that season with a search should fix the problem. I worked on the initial scan and it got most of them hd episodes. A few of the HD seasons aren't associated like the others with their SD season. Each season has different Amazon ids.

The Library export needs to be updated as well.

jeanwilly: do the sqlite databases work on xbmc4xbox? i have an old xbox somewhere. What did you have to change?
(This post was last modified: 2012-06-23 19:05 by BlueCop.)
find quote
bourgeois_rage Offline
Junior Member
Posts: 8
Joined: Sep 2011
Reputation: 0
Post: #475
I am getting a script failed error when trying to start the Amazon plugin. I do not get any list to select movies or television, it just kicks me back out the main icon menu. I am a prime member and this worked before the update.

Quote:20:51:24 T:139996908087040 M:3556896768 WARNING: Create - Unsupported protocol(script) in script://
20:51:32 T:139997061166848 M:3536408576 WARNING: Previous line repeats 1 times.
20:51:32 T:139997061166848 M:3536408576 NOTICE: -->Python Interpreter Initialized<--
20:51:34 T:139997061166848 M:3535712256 ERROR: Error Type: exceptions.ImportError20:51:34 T:139997061166848 M:3535712256 ERROR: Error Contents: No module named hashlib20:51:34 T:139997061166848 M:3535712256 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.video.amazon/default.py", line 12, in ? import resources.lib.common as common File "/home/xbmc/.xbmc/addons/plugin.video.amazon/resources/lib/common.py", line 20, in ?
import hashlib ImportError: No module named hashlib20:51:34 T:139997469231168 M:3535839232 ERROR: GetDirectory - Error getting plugin://plugin.video.amazon/20:51:34 T:139997469231168 M:3535839232 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.amazon/) failed20:51:34 T:139996908087040 M:3535839232 WARNING: Create - Unsupported protocol(script) in script://
20:51:45 T:139997061166848 M:3535781888 WARNING: Previous line repeats 1 times.20:51:45 T:139997061166848 M:3535781888 NOTICE: -->Python Interpreter Initialized<--20:51:46 T:139997061166848 M:3535552512 ERROR: Error Type: exceptions.ImportError
20:51:46 T:139997061166848 M:3535552512 ERROR: Error Contents: No module named hashlib20:51:46 T:139997061166848 M:3535552512 ERROR: Traceback (most recent call last): File "/home/xbmc/.xbmc/addons/plugin.video.amazon/default.py", line 12, in ? import resources.lib.common as common File "/home/xbmc/.xbmc/addons/plugin.video.amazon/resources/lib/common.py", line 20, in ?
import hashlib
ImportError: No module named hashlib20:51:46 T:139997469231168 M:3535679488 ERROR: GetDirectory - Error getting plugin://plugin.video.amazon/20:51:46 T:139997469231168 M:3535679488 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.amazon/) failed20:51:46 T:139996908087040 M:3534028800 WARNING: Create - Unsupported protocol(script) in script://

I'm running Dharma on Ubuntu.Let me know if you need any additional information, bc. Thank you, for all the hard work, sir.
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #476
Dharma uses a slightly older python. it doesnt have the module hashlib for sha1 hmac request signing. i will look into what is used for sha1 in the older python and use that if available.

Eden is stable now though if you want to upgrade.
find quote
bourgeois_rage Offline
Junior Member
Posts: 8
Joined: Sep 2011
Reputation: 0
Post: #477
I probably should I just have to find the time to do it, I guess. Thanks for the info.
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #478
bourgeois_rage: I committed a fix for dharma. It is version 0.5.6

It uses the older sha module if hashlib isn't available.
find quote
bourgeois_rage Offline
Junior Member
Posts: 8
Joined: Sep 2011
Reputation: 0
Post: #479
Thanks, that fixed it. Though I will probably upgrade as I'm sure more problems will arrive the further out of date I get. That's some great service for a Saturday night.
find quote
BlueCop Offline
bipedal omnivore
Posts: 1,657
Joined: May 2004
Reputation: 70
Post: #480
Boring Saturday for me. Girlfriend is out of town at some biomedical conference. I am just watching some HD stargate sg-1 on amazon because I only saw them in SD. Also It was an easy fix.
find quote
Post Reply